Skip to content
Factorio mod: Toggle Peaceful Mode
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
graphics
prototypes
tpm
README.md
control.lua
data.lua
info.json

README.md

Toggle Peaceful Mode

This Factorio 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 circumvents 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.

How to Use

  1. Start Factorio.
  2. Open the "Mod" menu.
  3. Search for the "Toggle Peaceful Mode" mod.
  4. Install the mod.
  5. Use the button on the top-left to toggle peaceful mode at will.
You can’t perform that action at this time.