Lighted Electric Poles +

by Wollit

Adds copies of electric poles, including modded ones, with integrated lamps.

Content
11 months ago
2.0
15.5K

b Supply Area of Medium Lighted Poles is wrong when playing K2+SE for Factorio 2.0

2 months ago

As the title says, the medium electric lighted pole has the default supply area of 7x7 instead of 9x9. I'm not sure if this is an issue with this mod or Krastorio 2. It doesn't look like Space Exploration touches the electric poles at all though. And I did see there's also a compatibility file for LightedElectricPoles buried in the Legacy folder in the K2 mod. Would love to see this fixed, let me know if you need anymore info. Love the mod!

a month ago
(updated a month ago)

I was going to post this too. The unlit medium poles for K2 are 9x9 and the lighted version (this mod) are 7x7. Same goes with substations, the K2 version is 20x20 and the lighted is 18x18.

7 days ago

I dug into this. There's two fixes that needs to be done.

First, Krastorio2 needs to be added as an optional dependency.

Second, the last commit about recycling support is what broke this in the first place. Renaming data-updates.lua to data.lua means the prototypes are copied before K2 updates the entities. This change also breaks for any other mods that updates the entities in the same way. Unfortunately, this seems to be a chicken or the egg problem.

I'm not really a modder, so I don't know how to best solve this issue.

New response