Spawn trees/dry shrub in savanna based altitude
This commit is contained in:
parent
8cc04d7a34
commit
5fda516558
4
init.lua
4
init.lua
@ -295,9 +295,9 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
top = c_dry_grass
|
top = c_dry_grass
|
||||||
top_layer = c_dirt
|
top_layer = c_dirt
|
||||||
second_layer = c_stone
|
second_layer = c_stone
|
||||||
if pr:next(1, 300) == 1 and y>0 then
|
if pr:next(1, 250) == 1 and y>12 then
|
||||||
above_top = c_savannasapling
|
above_top = c_savannasapling
|
||||||
elseif pr:next(1, 50) == 1 then
|
elseif (pr:next(1, 25) == 1 and y>12) or (pr:next(1, 50) == 1 and y<12) then
|
||||||
--if pr:next(1, 80) > 100*(humidity+0.4) then
|
--if pr:next(1, 80) > 100*(humidity+0.4) then
|
||||||
above_top = c_dry_shrub
|
above_top = c_dry_shrub
|
||||||
--else
|
--else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user