Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /c local surface = game.player.surface
- for c in surface.get_chunks() do
- for key, entity in pairs(surface.find_entities_filtered({area={{c.x * 32, c.y * 32}, {c.x * 32 + 32, c.y * 32 + 32}}, name= "rock-big"})) do
- entity.destroy()
- end
- end
- for c in surface.get_chunks() do
- for key, entity in pairs(surface.find_entities_filtered({area={{c.x * 32, c.y * 32}, {c.x * 32 + 32, c.y * 32 + 32}}, name= "rock-huge"})) do
- entity.destroy()
- end
- end
- for c in surface.get_chunks() do
- for key, entity in pairs(surface.find_entities_filtered({area={{c.x * 32, c.y * 32}, {c.x * 32 + 32, c.y * 32 + 32}}, name= "sand-rock-big"})) do
- entity.destroy()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement