forked from mtcontrib/minetest-mod-snow
Snowy biomes only in center of noise.
This commit is contained in:
parent
22b47f20a7
commit
7a2b405698
@ -216,7 +216,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
--Spawns pines.
|
--Spawns pines.
|
||||||
data[node] = c_dirt_with_snow
|
data[node] = c_dirt_with_snow
|
||||||
spawn_pine({x=x, y=ground_y+1, z=z},a,data)
|
spawn_pine({x=x, y=ground_y+1, z=z},a,data)
|
||||||
elseif snowy then
|
elseif snowy and test > 0.63 then
|
||||||
--Spawns snow blocks.
|
--Spawns snow blocks.
|
||||||
data[abovenode] = c_snow_block
|
data[abovenode] = c_snow_block
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user