[2.0.23] light on electric-pole

Post your bugs and problems so we can fix them.
0n0w1c
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sat Sep 09, 2023 1:43 pm
Contact:

[2.0.23] light on electric-pole

Post by 0n0w1c »

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
Docs state: "Drawn when the electric pole is connected to an electric network."
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?
Post Reply

Return to “Bug Reports”