mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Restricted landfill to 'water' (connected_dots)
This commit is contained in:
parent
0f87f7040a
commit
99fe5a8d88
@ -20,6 +20,12 @@ RS.set_map_gen_settings(
|
||||
}
|
||||
)
|
||||
|
||||
local allowed_landfill_tiles = {
|
||||
['water'] = true
|
||||
}
|
||||
|
||||
require 'map_gen.shared.restrict_landfill_tile'(allowed_landfill_tiles)
|
||||
|
||||
local function no_enemies(_, _, world, tile)
|
||||
for _, e in ipairs(world.surface.find_entities_filtered({force = 'enemy', position = {world.x, world.y}})) do
|
||||
e.destroy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user