Page 1 of 1

Requesting a list of a few mods to help me out.

Posted: Sun Sep 24, 2017 5:43 pm
by linkoxide
I'm trying to go back to a world that i had some time last year and i believe since then the boilers have been changed or something. My whole power grid is out which in turn powers all of my laser turrets around the base. I've already launched the rocket so i'm pretty established into this save. With there being no power, 2 minutes into the game there's already been 60 walls destroyed and 40 turrets.

Are there any mods i can use to turn off enemies, or add perm power to my power grid so i'll have time to copy some blueprints and leave?

Re: Requesting a list of a few mods to help me out.

Posted: Sun Sep 24, 2017 6:13 pm
by quyxkh
`/c game.player.insert{name='electric-energy-interface'}` will help.

Re: Requesting a list of a few mods to help me out.

Posted: Mon Sep 25, 2017 1:15 am
by Adil
Another pair of commands that could solve same issue.
First one should freeze all enemies, second one kills all biters every 5 seconds.

Code: Select all

/c for _,entity in pairs(game.surfaces.nauvis.find_entities_filtered{force="enemy"}) do entity.active=false end

/c script.on_event(defines.events.on_tick,function() if game.tick%(60*5) ==0 then game.forces.enemy.kill_all_units() end end)

Re: Requesting a list of a few mods to help me out.

Posted: Wed Sep 27, 2017 8:52 am
by linkoxide
Wow guys thanks a bunch :)