18 Commits

Author SHA1 Message Date
sapier
e2a88e15fd Add proper lua api deprecated handling 2014-04-29 22:49:04 +02:00
ShadowNinja
ffbc09d67c Add checks for nil in minetest.after 2014-04-13 17:54:00 -04:00
Novatux
0a96131bf4 Add forceloading 2014-01-11 17:54:00 +01:00
kwolekr
f1ebd47d5f Fix issue #1009 (minetest.get_connected_players() returns non-existing players) 2013-11-17 15:15:59 -05:00
ShadowNinja
1850e0ecb7 Add basic protection support to builtin 2013-11-02 14:01:10 -04:00
fairiestoy
c46c47f5ca Optimized minetest.get_connected_players()
Instead of collecting all objects within a huge radius (which could be
a big value), just register each player that connects and give back the
current hold list.
2013-10-01 15:03:03 +02:00
Novatux
c0a089d4ac Fix formspec escaping, add escaping to info.txt for texture packs. 2013-08-15 22:12:51 +02:00
ShadowNinja
75cf0f1140 Move math.hypot() to misc_helpers.lua and fix zero-division error 2013-07-07 21:47:38 -04:00
ShadowNinja
de5f1f9b42 Add vector helpers 2013-07-07 01:49:11 -04:00
sapier
2dceda8890 Move scriptapi to separate folder (by sapier)
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.

Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
PilzAdam
bcd3dbc25e Prevent passing nil to unpack() in minetest.after 2013-03-19 00:15:41 +01:00
Jeija
8740fb8520 Allow minetest.after to take a variable number of arguments 2013-03-17 00:23:30 -04:00
kwolekr
950c0e60e2 Allow any character in formspec strings with escape char 2013-03-05 23:25:02 -05:00
Perttu Ahola
2b6e1d9378 Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players 2012-06-03 22:31:01 +03:00
Perttu Ahola
c8ac53f271 Support static_spawnpoint setting 2012-04-09 23:32:13 +03:00
Perttu Ahola
d1f338cb7e Improve doc/lua_api.txt and add minetest.get_item_group(name, group) 2012-04-09 12:36:25 +03:00
Perttu Ahola
d070ceeda3 minetest.get_node_group(name, group) 2012-04-08 18:39:55 +03:00
Perttu Ahola
c258746b4e Split builtin.lua to multiple files 2012-04-01 12:38:19 +03:00