Firelike drawtype: Add missing docs for visual_scale in lua_api.txt (#5434)

master
Paramat 2017-03-20 21:22:16 +00:00 committed by Loïc Blot
parent d4e0c0f9b8
commit c4b98deb61
1 changed files with 4 additions and 3 deletions

View File

@ -3841,9 +3841,10 @@ Definition tables
drawtype = "normal", -- See "Node drawtypes"
visual_scale = 1.0, --[[
^ Supported for drawtypes "plantlike", "signlike", "torchlike", "mesh".
^ For plantlike, the image will start at the bottom of the node; for the
^ other drawtypes, the image will be centered on the node.
^ Supported for drawtypes "plantlike", "signlike", "torchlike",
^ "firelike", "mesh".
^ For plantlike and firelike, 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)