romen-h / ONI-Mods

Mods and code for the game Oxygen Not Included.
18 stars 8 forks source link

[Plastic Door]: Add config option to disable gas mixing #47

Open nedart opened 1 week ago

nedart commented 1 week ago

I'd love it if this mod had the option to prevent gases from mixing even when dupes walk through the door. I realize it's overpowered, I've been playing with the self-sealing airlocks mod since forever and this mod seems a good way to make that slightly more balanced and to get support for that playstyle on the newest updates.

romen-h commented 1 week ago

This functionality is pretty difficult to accomplish. The reason the gases mix is because the door is just empty space when it is open, like any other cells that have nothing built in them. And because they're empty space a dupe is able to run through that space.

When you don't want gases to mix you have to make the cells "solid" but somehow still let dupes walk through. It's complex enough to not immediately say yes to this request, but maybe someday.

nedart commented 1 week ago

I appreciate your time and that you're even considering it since it's not easy. I had assumed changing just a few lines of code would do the trick, I suppose this is why the self-sealing airlocks mod has had spotty support for so long.

Thank you!