Power Grid Comb


Provides a tool to remove and instantly replace electricity infrastructure in an area, cosmetically cleaning up any inconsistent power cable due to out of order building while leaving circuit wiring alone

Utilities
3 years ago
0.16 - 1.1
65.4K

b Compatibility with Realistic Electric Trains

4 years ago

This bug was reported on the RET thread here but it actually has to be addressed in Power Grid Comb. RET creates a "power-pole" entity named "ret-pole-wire", and if you delete it that messes up the mod. The solution is simply to exclude that type of pole from your optimization algorithm.

Simply changing control.lua line 7 to
if entity.type == "electric-pole" and entity.name ~= "ret-pole-wire" then
will achieve this

4 years ago

Thanks, I'll get a new version released with this compatibility fix!

4 years ago
(updated 4 years ago)

That's super awesome, thanks, but is it possible to release the fix for 0.17?
I'm staying on stable as there are quite a few mods I'm using that haven't updated, and the list of improvements in 0.18 is relatively small (but growing...)

New response