Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /c local surface = game.player.surface
- local position = game.player.position
- local size = 15
- for index, e in pairs(surface.find_entities_filtered{area={{position.x-size, position.y-size},{position.x+size, position.y+size}}, type="resource"})
- do e.destroy()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement