Combat Robots Overhaul

by Wannie

Overhaul of Factorio's Combat Robots behaviour to make them more useful by automatically attacking enemies.

Tweaks
a day ago
1.1 - 2.0
10.5K
Combat

b Tech tree broken on removal.

3 months ago

Good morning, found a headscratcher in my planet modded playthrough and wanting to let you know.

I'm currently working my way through hell and had deployed the tesla wall to keep the big boys at bay, went to upgrade electrical damage and the first level was showing red with no pre-requisite in the tech tree.

Some digging through the wiki and the tech tree later and it appears the techs for both distractor and destroyer capsules have been deleted.

I tried deleting all mods bar space, quality and elevated rails and reloading the save but that didn't help.

Strangest thing of all, If I resynced the modlist and started a new game, the tech tree was fine.

Digging through the histroy I remembered that I had tried to use this mod but removed it, most likely due to its conflict with KS Combat Revival. It appears that removing it from an existing save does not restore the aforementioned combat robot techs. I reinstalled the mod temporarily which allowed me to at least research the first level of the the electrical damage tech so I can progress that, the bots I'm not too worried about but other's mileage may vary.

3 months ago

The mod disables the distractor and destroyer technology. Since the vanilla electric weapon damage research requires the destroyer technology to be researched, this is changed to defender as well. Unfortunately, removing a mod doesn't reset the changes it does to recipes, researched and entities. As far as I am aware, there is no native way for a mod to undo its changes upon its removal. So they only way would be to undo the changes via console commands.

To change the electric weapon damage back to destroyers, the following command should work: /c data.raw.technology["electric-weapons-damage-1"].prerequisites = { "destroyer" }. However, I haven't tested the command.

New response