Guest User

Untitled

a guest
Sep 23rd, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. /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