Code: Select all
constants.EG_LIGHT_COLOR = { r = 1.0, g = 1.0, b = 0.7 }
constants.EG_LIGHT_INTENSITY = 0.8
constants.EG_LIGHT_SIZE = 12
constants.EG_BIG_POLE_LIGHT =
{
color = constants.EG_LIGHT_COLOR,
intensity = constants.EG_LIGHT_INTENSITY / 1.1,
size = constants.EG_LIGHT_SIZE / 1.2
}
local big_pole = data.raw["electric-pole"]["big-electric-pole"]
big_pole.light = constants.EG_BIG_POLE_LIGHT
Ref: (https://lua-api.factorio.com/latest/pro ... html#light)
The light illuminates if the pole is isolated and not connected to a "powered electric network".
I think an isolated pole is its own electric network, so technically this is correct.
Big pole pic: (https://drive.google.com/file/d/13vC7ob ... sp=sharing)
I am hoping this is not the intended behavior of the light. In the back of my mind, I think I recall this working as intended.
If it is, maybe the docs could be updated to better explain this or maybe remove the comment?