Barotrauma

Barotrauma

Barotrauma Workshop
You can build your own submarines and monsters with in-game editors and share your creations with other players. Imagine and experiment.
Schw4rztee 24 Jun, 2023 @ 5:33am
What makes Oxygenerators generate Oxygen?
I've been trying to make a powered and stationary Oxygen Drainer for a unique fire control system. Oxygenerators may allow for a negative production value, but the don't seem to actually drain it. When I looked at the oxygenerator.xml I couldn't find any effect that seems to produce oxygen that I could reverse.
I also thought about using the skyholderartifact's drain effect, but I don't know how to use that in a powered device.
< >
Showing 1-6 of 6 comments
Chimz 4 25 Jun, 2023 @ 10:50am 
I don't think it's possible to make an oxygen generator do its job in reverse.

But, if you are looking for a fire control system, you could use bilge pumps, either separate bilge pumps placed for such an occasion or even existing bilge pumps, meant for draining water out.

If you're interested, let me know and I'll explain how to do the wiring cause I'm not gonna waste 15 minutes writing something that you might not care about.
Buggy Boy 10 27 Jun, 2023 @ 3:08am 
Yeah, one of the best fire control systems I built was just a duct block in the ceiling, open when there's a fire (smoke) detected in the room, closed when not. Very simple! Fires are pretty much always on the floor in my experience so the water should only reach ankle deep, unless you have some weirdness going on with platforms everywhere. I had this in my reactor room as that was the only place a fire could break out in my sub (I didn't grow dangerous flora).

Probably leaves your sub open to sabotage if in multiplayer, unless you lock the wiring for the duct block and associated components (but where's the fun in that?)
Last edited by Buggy Boy; 27 Jun, 2023 @ 3:09am
Schw4rztee 28 Jun, 2023 @ 2:06am 
I'm already aware of water based fire control systems.
I was hoping to achieve an alternative that's less likely to escalate other problems you might have alonside the fire situation, such as leaks.
If it's not possible I suppose I'll put that idea on ice.
Insano-Man 2 28 Jun, 2023 @ 11:49pm 
Would it be possible to have oxygen supplied by actual, physical ventilation ducts throughout the sub, that automatically seal if a fire is detected? You'd basically just have a vent hub with a bunch of vents inside of it, with a bunch of tiny crawlspaces connected by duct blocks to each room of the sub.

It'd be a pain in the butt to build, and it wouldn't actually pull oxygen out of the room, but it'd help starve the fire.
Schw4rztee 30 Jun, 2023 @ 11:05am 
Originally posted by Insano-Man:
Would it be possible to have oxygen supplied by actual, physical ventilation ducts throughout the sub, that automatically seal if a fire is detected? You'd basically just have a vent hub with a bunch of vents inside of it, with a bunch of tiny crawlspaces connected by duct blocks to each room of the sub.

It'd be a pain in the butt to build, and it wouldn't actually pull oxygen out of the room, but it'd help starve the fire.
After some quick experimentation, I don't think air flows through ducts.
DuckieMcduck 5 30 Jun, 2023 @ 8:28pm 
The oxygen drain is a status effect on the artifact. I can make an oxygen drainer component that controls the same StatusEffect when receiving an enable or disable signal. It can then be controlled normally by Smoke detectors.

If you're interested to have it on your ship, tell me how you want it to look like and if it needs power at all and I'll share it. I'm thinking of a darker vent and a vacuum noise when on.

Originally posted by Schw4rztee Ger:
Originally posted by Insano-Man:
Would it be possible to have oxygen supplied by actual, physical ventilation ducts throughout the sub, that automatically seal if a fire is detected? You'd basically just have a vent hub with a bunch of vents inside of it, with a bunch of tiny crawlspaces connected by duct blocks to each room of the sub.

It'd be a pain in the butt to build, and it wouldn't actually pull oxygen out of the room, but it'd help starve the fire.
After some quick experimentation, I don't think air flows through ducts.
Actually it does. Place a duct toggled by a button. Remove vent, put an oxygen detector connected to a Text Display.

If you start a fire you'll see the oxygen will deplete. Once you toggle the vent the levels will go back up.
Last edited by DuckieMcduck; 30 Jun, 2023 @ 8:29pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50