From 19742d8d985dbb0a63a406c881617da7aed50151 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Tue, 8 Oct 2013 22:41:53 +0200 Subject: Add support for parameter 'visual_scale' for drawtypes 'signlike' and 'torchlike' like used for drawtype 'plantlike' --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3