Hi all,
since this is my first post here ... greetings to the community first
Second, my question: I restarted a game where I had the "enemies never attack first" checkbox activated, but obviously that only counts for the first game, but isn't taken into account if you use the "restart" function from the game menu. So now I unexpectedly have been attacked and wanted to turn the peaceful mode on using the console command:
/c game.player.surface.peaceful_mode = true
However, the game returns the following line:
Cannot execute command. LuaSurface doesn't contain key peaceful_mode
is the console command for turning the peaceful mode on only available in version 0.13.x? I'm running the 0.12.35.
Since I'm just starting with the game, I want to concentrate on the basic building part without having to hassle with the beasts ...
Any help is appreciated!
Cheers, Peter
COnsole: peaceful_mode in 0.12.35?
Re: COnsole: peaceful_mode in 0.12.35?
/c game.peaceful_mode = true
then you need to kill everything once with....
/c game.forces["enemy"].kill_all_units()
This should work in .12.35
then you need to kill everything once with....
/c game.forces["enemy"].kill_all_units()
This should work in .12.35
Re: COnsole: peaceful_mode in 0.12.35?
Thanks, will check it out in the evening
Re: COnsole: peaceful_mode in 0.12.35?
Thank you, worked out fine