Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /c count = 0; for coord in game.local_player.surface.get_chunks() do for key, e in pairs(game.local_player.surface.find_entities({{coord.x 32, coord.y 32}, {coord.x 32 + 31, coord.y 32 + 31}})) do if e.to_be_deconstructed(game.local_player.force) then count = count + 1 end end end ; game.local_player.print(count)
Advertisement
Add Comment
Please, Sign In to add comment