Page 1 of 1

[2.0.16] Quality Substations have the same red/green wire reach as normal ones

Posted: Sat Nov 09, 2024 6:52 pm
by joshinils
I tried to connect something with a red wire from a legendary substation to a chest, but the wire won't reach.

I think this is a bug, why would the circuit wire be restricted to the same as normal substations, but not copper wire reach to connect power?
11-09-2024, 19-51-31.png
11-09-2024, 19-51-31.png (2.61 MiB) Viewed 443 times
I guess quality small, medium and big poles are also affected by this, but I don't have some handy to test right now.

Re: [2.0.16] Quality Substations have the same red/green wire reach as normal ones

Posted: Sun Nov 10, 2024 7:30 pm
by Rseding91
Thanks for the report. Wire reach from pole to entity is decided by the min(pole-distance, entity-distance)

Re: [2.0.16] Quality Substations have the same red/green wire reach as normal ones

Posted: Sun Nov 10, 2024 8:05 pm
by joshinils
I'm not sure I understand.

Does that mean it's intended that entities between two legendary substations can not be connected to either one by circuit wire?

Re: [2.0.16] Quality Substations have the same red/green wire reach as normal ones

Posted: Thu Nov 14, 2024 3:01 pm
by PrasleaDinObor
I’m not great at math (even though I work as a programmer), but maybe a suggestion would be:

Code: Select all

min(pole_distance, entity_distance + (pole_distance % quality_normal_pole_distance))