1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Decoration: Add height_min and height_max parameters

Also set default height_min/height_max to -31000 and 31000,
respectively, for ore and biomes
This commit is contained in:
kwolekr 2014-12-28 22:37:27 -05:00
parent c5faa64405
commit 863379a4c6
4 changed files with 20 additions and 11 deletions

View file

@ -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",