summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.sf.net>2013-04-05 02:51:31 -0300
committerPilzAdam <pilzadam@minetest.net>2013-04-05 15:14:37 +0200
commit2fb0e547a01a6e61b821737e61315bad3312e41e (patch)
tree505569dda61d277d3cbcd810f6a869fb08b78449 /doc/lua_api.txt
parent1a5dcfd0c879ab5315b35de49ded26b93f83b45e (diff)
downloadminetest-2fb0e547a01a6e61b821737e61315bad3312e41e.tar.gz
minetest-2fb0e547a01a6e61b821737e61315bad3312e41e.tar.bz2
minetest-2fb0e547a01a6e61b821737e61315bad3312e41e.zip
Use the nodebox as selection box if it's not set manually
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a61ffce64..de73ecd3f 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1589,6 +1589,7 @@ Node definition (register_node)
damage_per_second = 0, -- If player is inside node, this damage is caused
node_box = {type="regular"}, -- See "Node boxes"
selection_box = {type="regular"}, -- See "Node boxes"
+ ^ If drawtype "nodebox" is used and selection_box is nil, then node_box is used
legacy_facedir_simple = false, -- Support maps made in and before January 2012
legacy_wallmounted = false, -- Support maps made in and before January 2012
sounds = {