update base:demo generator
This commit is contained in:
parent
dfc33db445
commit
affc4197be
@ -29,7 +29,7 @@ structures = [
|
||||
[desert]
|
||||
parameters = [
|
||||
{weight=1.0, value=1},
|
||||
{weight=0.5, value=0}
|
||||
{weight=0.8, value=0}
|
||||
]
|
||||
layers = [
|
||||
{height=6, block="base:sand"},
|
||||
|
||||
@ -69,9 +69,8 @@ function generate_heightmap(x, y, w, h, s, inputs)
|
||||
local desertmap = Heightmap(w, h)
|
||||
desertmap.noiseSeed = SEED
|
||||
desertmap:cellnoise({x+52, y+326}, 0.3*s, 2, 0.2)
|
||||
desertmap:add(0.4)
|
||||
desertmap:add(0.5)
|
||||
map:mixin(desertmap, inputs[1])
|
||||
--map:add(0.1)
|
||||
return map
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user