Power Overload


Performant, semi-realistic power distribution overhaul. Power poles can explode if the total electrical consumption on the network is too high. Use transformers to separate networks so that subnetworks do not take more power than they can handle.

Content
1 year, 2 months ago
1.1
3.07K
Power

b [Fixed-1.4.6] Error while loading recipe prototype "po-small-electric-fuse"

1 year, 4 months ago

Hello. Someone posted a compatibility issue when Power Overload, Space Exploration and Sosciencity are installed.

https://mods.factorio.com/mod/sosciencity/discussion/63aba80287b4e4bd52435155

What I think happens is this: Sosciencity currently enforces explicitly set main_products for all Recipe prototypes it touches (so all, because it's iterating them to look for some specific), because I found that manipulating them with implicit main_prototypes is pretty bug-prone.

Then your mods seems to replace the product of the recipe with another - without looking if that previous one is set as the main_product.
(What role Space Exploration plays in this I don't understand. With just Power Overload and Sosciencity, everything seems to work fine.)

I will update my mod to not make changes to prototypes if it's not necessary. But it might be worth for your mod to check this case. :)

1 year, 4 months ago

Oh that's the error message, I forgot.

Error while loading recipe prototype "po-small-electric-fuse" (recipe): Difficulty normal: Recipe has invalid main product small-electric-pole. The product does not exist in the recipe product list.

1 year, 4 months ago
(updated 1 year, 4 months ago)

Thanks for investigating, I can push a fix for this later today. The difference with SE may be just be because of load order.

1 year, 3 months ago

Fixed now in 1.4.6, thanks for passing on the report!

New response