Performance-Fish icon indicating copy to clipboard operation
Performance-Fish copied to clipboard

Gases Not Equalizing Through Buildings

Open NachoToast opened this issue 9 months ago • 4 comments

The optimized gas grid doesn't support GasGrid.EqualizeGasThroughBuilding for any gases, including vanilla ones.

Feel free to close this issue if there are no plans to implement this, just raising the issue for awareness 😄

NachoToast avatar Mar 19 '25 03:03 NachoToast

I can't reproduce this. EqualizeGasThroughBuilding indeed isn't patched for custom defs, but vanilla gases do work correctly there with Fish's optimization still active. Screenshot shows them going through the vents at the bottom, which this Equalize method handles, and correctly getting blocked by walls. https://i.imgur.com/CWmjRwI.png

bbradson avatar Mar 22 '25 15:03 bbradson

Did some more testing, I've been able to replicate the issue but only when the save isn't reloaded...

E.g. if I do a dev quicktest, construct a room with vents (either godmode or not, doesn't make a difference), and put tox gas inside it, the vents will not work until I save and then load.

Image

Dev Quicktest: Tox gas not spreading through vents.

Image

After a save + load, vents start working.

NachoToast avatar Mar 23 '25 00:03 NachoToast

That's exactly what I did in my test. Do you have other mods active? Does Performance Fish even make a difference to the behaviour?

bbradson avatar Mar 23 '25 07:03 bbradson

Prepatcher, Harmony, Fishery, Core, Performance Fish, and Biotech. Doesn't happen when Performance Fish is removed.

https://www.youtube.com/watch?v=vZ71lCwzrjY

NachoToast avatar Mar 25 '25 04:03 NachoToast