Barotrauma status effect damages the player outside this range, if damage is enabled
The system is not very realistic… but thankfully, it is very easy to understand and work with:
- The only rule for being able to breathe is that the atmosphere contains at least 15% oxygen
- This does not vary based on the atmospheric pressure, unlike in real life – whether the room is at 0.1atm or 10atm – greater than 15% oxygen is all that is required.
- There is no maximum value either – 100% oxygen is perfectly breathable at all pressures
CO₂ and Nitrogen are not harmful in any quantity. This means a mix of (80% CO₂, 20% O₂) is perfectly safe to breathe
- Need to test other contaminants such as steam and exhaust
A player in an enclosed space converts Oxygen into CO₂ at a rate of 2.5L/minute
Although the CO₂ build up is not harmful, remember that it is reducing the oxygen% as you breathe. If you want to stay a long time in an enclosed room, you will need to figure out some way to top up the oxygen.
Life Support in Space
- Pressure must be between 0.12 and 4.0atm
- Oxygen greater than 15%
The player can survive in a wide range of environments so it’s up to you how to design your life support system.
Here is a very simple way to keep the air healthy in any kind of environment.
- Connect a pressurised oxygen tank to your cabin via any sort of valve.
- Use the composite output of a gas sensor to monitor the amount of CO₂ in the cabin, and open the valve to the oxygen tank if it goes below a threshold (say 20% for safety).
- This will keep the oxygen level healthy, but over time the pressure will slowly increase to unsafe levels – to fix that, add another valve which allows air from the cabin to vent to space – activate this valve if the pressure goes above your desired using another threshold control.
A funny side effect of this system is that over time, the % of CO₂ in the cabin will slowly increase until there is no nitrogen left! But remember, CO₂ is harmless to us, as long as it doesn’t displace all the oxygen!
A small oxygen tank spawned in at 100atm has over 4600L of oxygen. With this system a single small tank will support 1 person’s oxygen needs for over 30 hours!
- Stormworks: Build and Rescue How to Make a Modular Engine
- Stormworks: Build and Rescue – Dedicated Server Setup
- Stormworks: Build and Rescue New Terminals and Boxes Expanding the New Logistics System
- Stormworks: Build and Rescue – How to Build a Car
- Stormworks: Build and Rescue Fix Make Vehicle Spawning in Mission 1.0