Powered Entities


This mod will create power lines between most of the base game's entities that require power.

Content
4 years ago
0.13 - 1.1
2.05K
Power

b Factorio 0.17.66 update

5 years ago

15.405 Error ModManager.cpp:1323: Error while loading entity prototype "invisable-electric-pole-1x1" (electric-pole): max_health (999999995904.000000) can't be larger than 2147483648
Modifications: Powered Entities

5 years ago
(updated 5 years ago)

If you put this in a data-final-fixes.lua file in the mod, it should fix it, temporarily:
-- Fix powered entities in 0.17.66
for _,pole_name in pairs(
{
"invisable-electric-pole-1x1",
"invisable-electric-pole-2x2",
"invisable-electric-pole-3x3",
"invisable-electric-pole-4x4",
"invisable-electric-pole-5x5",
"invisable-electric-pole-6x6",
"invisable-electric-pole-7x7",
"invisable-electric-pole-8x8",
"invisable-electric-pole-9x9",
"invisable-electric-pole-9x10",
"invisable-electric-pole-10x10",
"invisable-electric-pole-12x12"
}) do
data.raw["electric-pole"][pole_name].max_health = 2147483648
end

5 years ago

Fixed in 0.3.26. I'm not on my usual PC tonight, so could not test it. So please let me know if it is still having issues.

New response