You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-11-06 08:56:27 +02:00
Towny - fix terrain
This commit is contained in:
@@ -289,10 +289,9 @@ local function on_chunk_generated(event)
|
||||
local bridges = get_perlin('cave_rivers', position, seed)
|
||||
|
||||
if bridges > 0.15 and bridges < 0.25 then
|
||||
if cave_ponds > 0.1 and bridges < 0.20 then
|
||||
surface.set_tiles({{name = 'water-shallow', position = position}}, true)
|
||||
elseif cave_ponds > 0.1 and cave_ponds < 0.25 then
|
||||
surface.set_tiles({{name = 'water-green', position = position}}, true)
|
||||
surface.set_tiles({{name = 'water', position = position}}, true)
|
||||
if cave_ponds > 0.1 and cave_ponds < 0.25 then
|
||||
surface.set_tiles({{name = 'dirt-1', position = position}}, true)
|
||||
end
|
||||
if math_random(1, 48) == 1 then
|
||||
surface.create_entity({name = 'fish', position = position, force = 'neutral'})
|
||||
|
||||
Reference in New Issue
Block a user