aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-10-04 15:32:17 -0400
committerkwolekr <kwolekr@minetest.net>2015-10-04 15:34:56 -0400
commit1f9c5a4a7b15ab49e717d81162fe58e4202c0814 (patch)
tree786393a7c5c707f2f16009673f30462badb79f2c
parent7b01b94c6bde1989e48208befff8595c141183e6 (diff)
downloadminetest-1f9c5a4a7b15ab49e717d81162fe58e4202c0814.tar.gz
minetest-1f9c5a4a7b15ab49e717d81162fe58e4202c0814.tar.bz2
minetest-1f9c5a4a7b15ab49e717d81162fe58e4202c0814.zip
doc: Update node callback documentation
-rw-r--r--doc/lua_api.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 7b0f1e2aa..446b51959 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3219,14 +3219,17 @@ Definition tables
},
on_construct = func(pos), --[[
- ^ Node constructor; always called after adding node
+ ^ Node constructor; called after adding node
^ Can set up metadata and stuff like that
+ ^ Not called for bulk node placement (i.e. schematics and VoxelManip)
^ default: nil ]]
on_destruct = func(pos), --[[
- ^ Node destructor; always called before removing node
+ ^ Node destructor; called before removing node
+ ^ Not called for bulk node placement (i.e. schematics and VoxelManip)
^ default: nil ]]
after_destruct = func(pos, oldnode), --[[
- ^ Node destructor; always called after removing node
+ ^ Node destructor; called after removing node
+ ^ Not called for bulk node placement (i.e. schematics and VoxelManip)
^ default: nil ]]
after_place_node = func(pos, placer, itemstack, pointed_thing) --[[