Peace Mod deprecated

by cullyn

Completely removes enemies and allows alien artifacts to be mined instead. Updated to Factorio 0.12 by Secretchaos

Content
8 years ago
0.13.0 - 0.14.0
89
Enemies

g Handle errors more gracefully?

8 years ago

I have a mod somewhere which modifies the laser recipe and removes it. When Peacemod goes to remove that recipe it errors out. I'm a lua nublet but wouldn't it be better to toss these into a function, pcall() that function and catch the exception gracefully? I mean if the goal is to remove that tech and the tech isn't there then why crash out?

8 years ago

Sorry I'm just updating compatibility, a work around would be to change the flag remove military to false. I might do that for the next version so it doesn't cause pointless errors like this.

New response