Advertisement
NilausTV

Kill Biters Console Commands

Nov 5th, 2020
6,575
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Stop map-gen from making new biters:
  2. /c local surface = game.player.surface
  3. local mgs = surface.map_gen_settings
  4. mgs.autoplace_controls["enemy-base"].size = "none"
  5. surface.map_gen_settings = mgs
  6.  
  7. Kill all nests, worms, and walking units:
  8. /c local surface=game.player.surface
  9. for key, entity in pairs(game.surfaces.nauvis.find_entities_filtered({force="enemy"})) do
  10. entity.destroy()
  11. end
  12.  
  13. Disable pollution to save UPS
  14. /c game.player.surface.clear_pollution()
  15. game.map_settings.pollution.enabled = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement