Tag Archives: Lua

How to reset enemies in Factorio

Playing Factorio and loving it! But I’m playing rather slowly, so even though I like that the enemies are aggressive (didn’t select the peaceful option), they have evolved much further than I’m comfortable with compared to my ability to deal with them at the moment…

Found some console commands for resetting the evolution factor (what gradually increases and makes the enemies more and more nasty), and for nuking already spawned enemies.

Check your keyboard settings for how to toggle the console.

/c game.evolution_factor = 0
/c game.forces["enemy"].kill_all_units()

To see the current evolution factor:

/c game.local_player.print(game.evolution_factor)