
Peaceful 1.3
-
- Manual Inserter
- Posts: 1
- Joined: Sat Feb 14, 2015 1:58 am
- Contact:
Peaceful 1.3
I was wondering what was the new command to put the map on peaceful,because /game.peaceful_mode = false didn't works anymore. 

Re: Peaceful 1.3
Because it has to be:
after that type:
Because if the enemies are not killed they are still in attack mode
Hope this helps.
ex0
Code: Select all
/game.peaceful_mode = true
Code: Select all
/c game.forces['enemy'].kill_all_units()

Hope this helps.
ex0
-
- Manual Inserter
- Posts: 4
- Joined: Tue Jun 28, 2016 4:11 pm
- Contact:
Re: Peaceful 1.3
I'm having the exact same problem, but writing
/c game.peaceful_mode = true
generates errorcode
"Cannot excecute command. Error: [string "game.peaceful_mode = true"]:1:LuaGameScrips doesn't contain key peaceful_mode.
I'm running 0.13.0
/c game.peaceful_mode = true
generates errorcode
"Cannot excecute command. Error: [string "game.peaceful_mode = true"]:1:LuaGameScrips doesn't contain key peaceful_mode.
I'm running 0.13.0
Re: Peaceful 1.3
Peacefulness is now a surface property.
Code: Select all
/c game.player.surface.peaceful_mode=true
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
-
- Manual Inserter
- Posts: 4
- Joined: Tue Jun 28, 2016 4:11 pm
- Contact:
Re: Peaceful 1.3
prg wrote:Peacefulness is now a surface property.
Code: Select all
/c game.player.surface.peaceful_mode=true
THANK YOU!
i love you and this forum