update base:demo generator

This commit is contained in:
MihailRis 2024-10-19 03:53:57 +03:00
parent dfc33db445
commit affc4197be
2 changed files with 2 additions and 3 deletions

View File

@ -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"},

View File

@ -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