summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-09-18 05:08:56 +0100
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commitb8f473be21b932c0c0cdb9ae3bfb4243f262a763 (patch)
tree334535c97691b87eee0697fabbddb1f5c5355f70 /doc/lua_api.txt
parentb1fae4c7beb66b4aa63ad04ac6ba9e145b39ca82 (diff)
downloadminetest-b8f473be21b932c0c0cdb9ae3bfb4243f262a763.tar.gz
minetest-b8f473be21b932c0c0cdb9ae3bfb4243f262a763.tar.bz2
minetest-b8f473be21b932c0c0cdb9ae3bfb4243f262a763.zip
Leveled nodebox: Change levels from 1/63rds to 1/64ths
Add missing documentation of leveled nodebox to lua_api.txt, plus a little cleaning up nearby.
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f0e6931db..8e750c5a4 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -809,6 +809,11 @@ node definition:
0 = y+ 1 = z+ 2 = z- 3 = x+ 4 = x- 5 = y-
facedir modulo 4 = rotation around that axis
paramtype2 == "leveled"
+ ^ Only valid for "nodebox" with type = "leveled".
+ The level of the top face of the nodebox is stored in param2.
+ The other faces are defined by 'fixed = {}' like 'type = "fixed"' nodeboxes.
+ The nodebox height is param2 / 64 nodes.
+ The maximum accepted value of param2 is 127.
paramtype2 == "degrotate"
^ The rotation of this node is stored in param2. Plants are rotated this way.
Values range 0 - 179. The value stored in param2 is multiplied by two to