Page 1 of 1

[0.18.15] Can walk between chemical plant and tank

Posted: Sat Mar 21, 2020 2:19 pm
by planetmaker
See the attached screenshot and savegame:

I can walk straight up and pass between the chemical plant and its attached storage tank. I cannot do the same between e.g. pipe or pump and tank
Bildschirmfoto von 2020-03-21 15-17-50.png
Bildschirmfoto von 2020-03-21 15-17-50.png (3.1 MiB) Viewed 2091 times
I don't expect to be able to walk over any fluid connection.

Re: [0.18.15] Can walk between chemical plant and tank

Posted: Sat Mar 21, 2020 2:26 pm
by posila
Thanks for the report.
In my opinion, this is not something, that needs to be fixed.

Re: [0.18.15] Can walk between chemical plant and tank

Posted: Sun Mar 22, 2020 9:52 am
by planetmaker
It's definitely not a show-stopper. It is however an inconsistency in behaviour that is not understandable

Re: [0.18.15] Can walk between chemical plant and tank

Posted: Sun Mar 22, 2020 11:03 am
by Deadlock989
planetmaker wrote: Sun Mar 22, 2020 9:52 am It's definitely not a show-stopper. It is however an inconsistency in behaviour that is not understandable
There is no inconsistency.

1. Most "building" entities need a passable space around them, so their collision box is set to be smaller than their tile footprint. If collision boxes of two entities overlap, the entities can't be placed in that configuration by the player. Touching counts as overlapping.

2. Pipes have a special logic that stops players walking through the planes of their fluid box connections, despite their collision boxes technically allowing the player to pass.

3. There are no pipes involved when you have a chemical plant building directly adjacent to a storage tank building. Therefore, you can pass, because it's just two buildings.

To prevent this once-in-a-lifetime occurrence from happening, every single pipe connection on every single entity would need to have the extra logic and runtime checks every time the player scratched their arse. The resulting UPS hit would likely generate a wave of complaints about megabase performance.

Another "fix" that everyone would hate and moan about would be to make adjacent chemical plants impassable.

Re: [0.18.15] Can walk between chemical plant and tank

Posted: Sun Mar 22, 2020 7:11 pm
by invisus
Deadlock989 wrote: Sun Mar 22, 2020 11:03 am
Thank you for expanding on that.

Re: [0.18.15] Can walk between chemical plant and tank

Posted: Sun Mar 22, 2020 7:38 pm
by theolderbeholder
eloquently as always :D