Unique gas serialization for atmos (#1629)
* Add unique gas mixture serialization for atmos * Refactor doAfterEventArgs * Adds atmos commands * Roundstard now has correct ratio of gases * Fixed hashcode for gasmixture, better grid atmos serialization * Airlocks create gas based on adjacent tiles now. * Enables barotrauma component damage
This commit is contained in:
committed by
GitHub
parent
4fe1083bfb
commit
7293d985a5
@@ -63,6 +63,12 @@ namespace Content.Shared.Atmos
|
||||
/// </summary>
|
||||
public const float MolesCellStandard = (OneAtmosphere * CellVolume / (T20C * R));
|
||||
|
||||
public const float OxygenStandard = 0.21f;
|
||||
public const float NitrogenStandard = 0.79f;
|
||||
|
||||
public const float OxygenMolesStandard = MolesCellStandard * OxygenStandard;
|
||||
public const float NitrogenMolesStandard = MolesCellStandard * NitrogenStandard;
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user