Toggle Peaceful Mode - Keep achievements!

by Cerbrus

Allows you to toggle "peaceful mode" at will. Please note that this mod is -not- tested with the new Space Age worlds. It may or may not work on them.

Content
25 days ago
0.14 - 2.0
13.8K
Enemies
Owner:
Cerbrus
Source:
https://github.com/Cerbrus/FactorioMo...
Homepage:
https://github.com/Cerbrus/FactorioMo...
License:
MIT
Created:
7 years ago
Latest Version:
0.3.2 (25 days ago)
Factorio version:
0.14 - 2.0
Downloaded by:
13.8K users

Toggle Peaceful Mode

For feedback, please submit a issue on the github respository. I'm not getting notifications for messages submitted, here.

This mod allows you to toggle "Peaceful mode" at will.

Normally, toggling peaceful mode through a lua command disables achievements for the save:
/c game.player.surface.peaceful_mode = true / false
This mod lets you circumvent that.

If you disable the mod, the "peaceful" setting will still be what it was last set to. This allows you to disable "peaceful" mode while keeping steam achievements enabled for non-modded games.

The mod shouldn't corrupt your save, but as always, back-up first.
(The author of this mod can 't be held responsible for corrupted saves ;-) )

Note: The toggle will kill all (mobile) biters, as their "peacefulness" is set when they spawn. Afaik, this can't be updated.