mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Add support for parameter 'visual_scale' for drawtypes 'signlike' and 'torchlike' like used for drawtype 'plantlike'
This commit is contained in:
parent
f86cdf0960
commit
19742d8d98
2 changed files with 20 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue