/c game.peacefulmode = false
/c game.peacefulmode = true
not work((
Codes to allien attack?
-
- Filter Inserter
- Posts: 778
- Joined: Sun Sep 07, 2014 12:59 pm
- Contact:
Re: Codes to allien attack?
/c game.peaceful_mode = true
Which actually took me all of half a minute to find on the wiki...
Which actually took me all of half a minute to find on the wiki...
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.
Re: Codes to allien attack?
/c game.peaceful_mode = true
/c game.forces.enemy.kill_all_units()
Existing enemies won't change from peaceful to not peaceful and vice-versa, you have to kill them.
/c game.forces.enemy.kill_all_units()
Existing enemies won't change from peaceful to not peaceful and vice-versa, you have to kill them.
Re: Codes to allien attack?
... and in case you're still on 0.11, game.peacefulmode is correct and you need to /c game.killallenemies() for it to take effect.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: Codes to allien attack?
0.12.5 thanksprg wrote:... and in case you're still on 0.11, game.peacefulmode is correct and you need to /c game.killallenemies() for it to take effect.
Re: Codes to allien attack?
and questionprg wrote:... and in case you're still on 0.11, game.peacefulmode is correct and you need to /c game.killallenemies() for it to take effect.
code to regenerate resources?