Nathanaël Courant
67d99a67be
Add forceloading
2022-05-21 16:11:28 +02:00
kwolekr
674da5f290
Fix issue #1009 (minetest.get_connected_players() returns non-existing players)
2022-05-21 16:11:18 +02:00
ShadowNinja
a78ef8d3a0
Add basic protection support to builtin
2022-05-21 16:11:13 +02:00
fairiestoy
1b90a938c9
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.
2022-05-21 16:11:08 +02:00
Nathanaël Courant
4f2c21b25d
Fix formspec escaping, add escaping to info.txt for texture packs.
2022-05-21 16:11:00 +02:00
ShadowNinja
0d12f10568
Move math.hypot() to misc_helpers.lua and fix zero-division error
2022-05-21 16:10:41 +02:00
ShadowNinja
b8071a74f1
Add vector helpers
2022-05-21 16:10:38 +02:00
sapier
85ae766dcb
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)
2022-05-21 16:10:34 +02:00
PilzAdam
b573ff1e73
Prevent passing nil to unpack() in minetest.after
2022-05-21 16:10:28 +02:00
Jeija
c9a7b492b5
Allow minetest.after to take a variable number of arguments
2022-05-21 16:10:27 +02:00
kwolekr
cf03131c13
Allow any character in formspec strings with escape char
2022-05-21 16:10:27 +02:00
Perttu Ahola
7b4cdba449
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
2022-05-21 16:07:37 +02:00
Perttu Ahola
2f0ed0382e
Support static_spawnpoint setting
2022-05-21 16:07:32 +02:00
Perttu Ahola
3a248a56d3
Improve doc/lua_api.txt and add minetest.get_item_group(name, group)
2022-05-21 16:07:31 +02:00
Perttu Ahola
ed35ccceb4
minetest.get_node_group(name, group)
2022-05-21 16:07:30 +02:00
Perttu Ahola
397bd5fc83
Split builtin.lua to multiple files
2022-05-21 16:07:28 +02:00