Skip to content

Commit

Permalink
Firelike drawtype: Add missing docs for visual_scale in lua_api.txt (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat authored and nerzhul committed Mar 20, 2017
1 parent d4e0c0f commit c4b98de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/lua_api.txt
Expand Up @@ -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)
Expand Down

0 comments on commit c4b98de

Please sign in to comment.