format base:demo generator script

This commit is contained in:
MihailRis 2024-10-19 04:21:37 +03:00
parent affc4197be
commit cd949126b2

View File

@ -35,8 +35,10 @@ function place_structures_wide(x, z, w, d, chunk_height)
sy = ey
sz = ez
dir_inertia = dir_inertia * 0.8 + (math.random() - 0.5) * math.pow(math.random(), 2) * 8
elevation = elevation * 0.9 + (math.random() - 0.4) * (1.0-math.pow(math.random(), 4)) * 8
dir_inertia = dir_inertia * 0.8 +
(math.random() - 0.5) * math.pow(math.random(), 2) * 8
elevation = elevation * 0.9 +
(math.random() - 0.4) * (1.0-math.pow(math.random(), 4)) * 8
dir = dir + dir_inertia
end
end