Change distribution of lemon eucalyptus

This commit prevents lemon eucalyptus from appearing at higher
alititudes, especially near the snowline.
master
vlapsley 2017-02-06 11:14:08 +11:00
parent 6ad97ea277
commit f871cf84f2
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ aus.register_plant({
density = 0.002,
priority = 50,
check = function(t, pos)
return pos.y >= 5 and pos.y <= 160 and table.contains({"eastern_coasts"}, t.biome)
return pos.y >= 5 and pos.y <= 110 and table.contains({"eastern_coasts"}, t.biome)
end,
grow = function(nodes, pos, data, area)
local height = math_random(12, 18)

View File

@ -280,7 +280,7 @@ aus.register_plant({
density = 0.02,
priority = 50,
check = function(t, pos)
return t.valleys > 0.5 and t.v4 > 0.5 and pos.y >= 5 and pos.y <= 160 and table.contains({"far_north_queensland"}, t.biome)
return t.valleys > 0.5 and t.v4 > 0.5 and pos.y >= 5 and pos.y <= 110 and table.contains({"far_north_queensland"}, t.biome)
end,
grow = function(nodes, pos, data, area)
local height = math_random(12, 18)