summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2013-10-08 22:41:53 +0200
committerPerttu Ahola <celeron55@gmail.com>2013-10-14 21:38:56 +0300
commit19742d8d985dbb0a63a406c881617da7aed50151 (patch)
treeee0ce2f85bfc8ddf255fe84480e41ae6cf838cdb /doc
parentf86cdf0960eb12341545f5b708a35fd026880f22 (diff)
downloadminetest-19742d8d985dbb0a63a406c881617da7aed50151.tar.gz
minetest-19742d8d985dbb0a63a406c881617da7aed50151.tar.bz2
minetest-19742d8d985dbb0a63a406c881617da7aed50151.zip
Add support for parameter 'visual_scale' for drawtypes 'signlike' and 'torchlike' like used for drawtype 'plantlike'
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 335f8af65..f89f71273 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1999,6 +1999,10 @@ Node definition (register_node)
drawtype = "normal", -- See "Node drawtypes"
visual_scale = 1.0,
+ ^ Supported for drawtypes "plantlike", "signlike", "torchlike".
+ ^ For plantlike, the image will start at the bottom of the node; for the
+ ^ other drawtypes, the image will be centered on the node.
+ ^ Note that positioning for "torchlike" may still change.
tiles = {tile definition 1, def2, def3, def4, def5, def6},
^ Textures of node; +Y, -Y, +X, -X, +Z, -Z (old field name: tile_images)
^ List can be shortened to needed length