Change distribution of lemon eucalyptus
This commit prevents lemon eucalyptus from appearing at higher alititudes, especially near the snowline.master
parent
6ad97ea277
commit
f871cf84f2
|
@ -364,7 +364,7 @@ aus.register_plant({
|
||||||
density = 0.002,
|
density = 0.002,
|
||||||
priority = 50,
|
priority = 50,
|
||||||
check = function(t, pos)
|
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,
|
end,
|
||||||
grow = function(nodes, pos, data, area)
|
grow = function(nodes, pos, data, area)
|
||||||
local height = math_random(12, 18)
|
local height = math_random(12, 18)
|
||||||
|
|
|
@ -280,7 +280,7 @@ aus.register_plant({
|
||||||
density = 0.02,
|
density = 0.02,
|
||||||
priority = 50,
|
priority = 50,
|
||||||
check = function(t, pos)
|
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,
|
end,
|
||||||
grow = function(nodes, pos, data, area)
|
grow = function(nodes, pos, data, area)
|
||||||
local height = math_random(12, 18)
|
local height = math_random(12, 18)
|
||||||
|
|
Loading…
Reference in New Issue