diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-28 22:37:27 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-28 22:37:27 -0500 |
commit | 863379a4c68b9862ea6913c1b1e475d022aba100 (patch) | |
tree | 00c6089cdf46a1bfaae17bc0c52ed90db47976d2 /doc | |
parent | c5faa644056c892ccf5e41cfde87a5b107149951 (diff) | |
download | minetest-863379a4c68b9862ea6913c1b1e475d022aba100.tar.gz minetest-863379a4c68b9862ea6913c1b1e475d022aba100.tar.bz2 minetest-863379a4c68b9862ea6913c1b1e475d022aba100.zip |
Decoration: Add height_min and height_max parameters
Also set default height_min/height_max to -31000 and 31000,
respectively, for ore and biomes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 7474c2bf4..1bfe0a0c2 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2758,6 +2758,10 @@ Decoration definition (register_decoration) biomes = {"Oceanside", "Hills", "Plains"}, ^ List of biomes in which this decoration occurs. Occurs in all biomes if this is omitted, ^ and ignored if the Mapgen being used does not support biomes. + height_min = -31000 + height_max = 31000 + ^ 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). ----- Simple-type parameters decoration = "default:grass", |