summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-11-12 10:55:26 +0100
committerest31 <MTest31@outlook.com>2016-11-14 13:08:22 +0100
commit649448a2a91fbf3e944b2f2e739f4e2292af1df0 (patch)
tree5008360c4d239d5dfff8eee78b5ea79f69e176dc /doc/lua_api.txt
parent6707d622bbb298e4884eedc7791c81af1da43e92 (diff)
downloadminetest-649448a2a91fbf3e944b2f2e739f4e2292af1df0.tar.gz
minetest-649448a2a91fbf3e944b2f2e739f4e2292af1df0.tar.bz2
minetest-649448a2a91fbf3e944b2f2e739f4e2292af1df0.zip
Rename nodeupdate and nodeupdate_single and make them part of the official API
Now, the renamed forms of nodeupdate and nodeupdate_single are part of the official API. As nodeupdate has been used by Minetest Game and in mods despite of not being part of the official API, we ease the transition by still supporting it for the 0.4.15 release. After the release, the two functions can be removed. The removal will not violate the stability promise, as that promise only includes the official and documented API. Also, make some formerly global functions local. They most likely haven't been used by mods, therefore they won't get stubs with deprecation warnings, hard erroring directly.
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b9208dbad..7d552c980 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2286,6 +2286,15 @@ and `minetest.auth_reload` call the authetification handler.
* increase level of leveled node by level, default `level` equals `1`
* if `totallevel > maxlevel`, returns rest (`total-max`)
* can be negative for decreasing
+* `core.check_single_for_falling(pos)`
+ * causes an unsupported `group:falling_node` node to fall and causes an
+ unattached `group:attached_node` node to fall.
+ * does not spread these updates to neighbours.
+* `core.check_for_falling(pos)`
+ * causes an unsupported `group:falling_node` node to fall and causes an
+ unattached `group:attached_node` node to fall.
+ * spread these updates to neighbours and can cause a cascade
+ of nodes to fall.
### Inventory
`minetest.get_inventory(location)`: returns an `InvRef`