summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-02-27 23:49:53 +0000
committerparamat <mat.gregory@virginmedia.com>2016-03-04 02:38:55 +0000
commit48a718e715710c9cb7edd6ad8e1cd7a0ed416908 (patch)
tree35560c6a53dc4a99f3cb851139bd06e5142877fd /doc
parent1100a5d614c2eaf8e1c4f3adbc70b477e01a405c (diff)
downloadminetest-48a718e715710c9cb7edd6ad8e1cd7a0ed416908.tar.gz
minetest-48a718e715710c9cb7edd6ad8e1cd7a0ed416908.tar.bz2
minetest-48a718e715710c9cb7edd6ad8e1cd7a0ed416908.zip
Decoration API: Allow force_placement of simple decorations
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 8c879c96e..f8934b485 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3698,11 +3698,12 @@ Definition tables
-- ^ Minimum and maximum `y` positions these decorations can be generated at.
-- ^ This parameter refers to the `y` position of the decoration base, so
-- the actual maximum height would be `height_max + size.Y`.
- flags = "liquid_surface",
+ flags = "liquid_surface, force_placement",
-- ^ Flags for all decoration types.
-- ^ "liquid_surface": Instead of placement on the highest solid surface
-- ^ in a mapchunk column, placement is on the highest liquid surface.
-- ^ Placement is disabled if solid nodes are found above the liquid surface.
+ -- ^ "force_placement": Nodes other than "air" and "ignore" are replaced by the decoration.
----- Simple-type parameters
decoration = "default:grass",
@@ -3746,7 +3747,7 @@ Definition tables
},
-- ^ See 'Schematic specifier' for details.
replacements = {["oldname"] = "convert_to", ...},
- flags = "place_center_x, place_center_y, place_center_z, force_placement",
+ flags = "place_center_x, place_center_y, place_center_z",
-- ^ Flags for schematic decorations. See 'Schematic attributes'.
rotation = "90" -- rotate schematic 90 degrees on placement
-- ^ Rotation can be "0", "90", "180", "270", or "random".