mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-09 13:37:02 +02:00
Override natural deep water "walls" to make map edges less OP
This commit is contained in:
parent
0e706a61de
commit
792a795840
@ -293,9 +293,7 @@ local function on_chunk_generated(event)
|
||||
for x = 0, 31, 1 do
|
||||
for y = 0, 31, 1 do
|
||||
position = {x = left_top_x + x, y = left_top_y + y}
|
||||
if not surface.get_tile(position).collides_with('water-tile') then
|
||||
surface.set_tiles({{name = 'water-shallow', position = position}}, true)
|
||||
end
|
||||
surface.set_tiles({{name = 'water-shallow', position = position}}, true)
|
||||
end
|
||||
end
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user