Oxygen
Spacesuit
A Space Engineer's suit can store Oxygen to keep them self alive when they're in a vacuum. If their suit's Oxygen level is ever depleted, their character will slowly asphyxiate, resulting in death if the Oxygen is not replenished immediately.
Oxygen can be replenished at a Medical Room attached to a Conveyor system, and will also be filled while sitting in a Cockpit or Fighter Cockpit attached to a Conveyor system. The Conveyor system must be connected to an Oxygen Tank containing Oxygen in order for the filling to work.
If there is an Oxygen Bottle in a player's inventory, some of it will be consumed to refill their suit when the suit's Oxygen level becomes too low.
Atmosphere
A player can remove their helmet to breathe Oxygen inside a Large Ship or Station, which can be filled with Oxygen via Air Vent, removing the vacuum status from within. A Graph traversal / flood-fill algorithm is used to fill an enclosed space with Oxygen. The algorithm traverses through the volumetric grid, and checks if there’s an closed or open area, and whether if the oxygen can expand indefinitely or stay contained. When the player puts their helmet back on, their suit will be at full capacity provided that the room wasn't a vacuum.