* stuff i'll have to fix anyway when n2o gets merged

* everything except the finished reactions

* freon coolant reaction but with bad curve

* miasmic subsumation

* freon production

* nitrogen and diff temp scaling

* uhh meant to change that

* #

* hitting that frezon boof
This commit is contained in:
Kara
2022-07-27 02:55:28 -07:00
committed by GitHub
parent 86089f2213
commit 7a553781cc
24 changed files with 344 additions and 13 deletions

View File

@@ -168,7 +168,7 @@ namespace Content.Shared.Atmos
/// <summary>
/// Total number of gases. Increase this if you want to add more!
/// </summary>
public const int TotalNumberOfGases = 8;
public const int TotalNumberOfGases = 9;
/// <summary>
/// This is the actual length of the gases arrays in mixtures.
@@ -202,6 +202,36 @@ namespace Content.Shared.Atmos
public const float TritiumBurnOxyFactor = 100f;
public const float TritiumBurnTritFactor = 10f;
public const float FrezonCoolLowerTemperature = 23.15f;
/// <summary>
/// Frezon cools better at higher temperatures.
/// </summary>
public const float FrezonCoolMidTemperature = 373.15f;
public const float FrezonCoolMaximumEnergyModifier = 10f;
/// <summary>
/// Remove X mol of nitrogen for each mol of frezon.
/// </summary>
public const float FrezonNitrogenCoolRatio = 5;
public const float FrezonCoolEnergyReleased = -3000000f;
public const float FrezonCoolRateModifier = 20f;
public const float FrezonProductionMaxEfficiencyTemperature = 73.15f;
/// <summary>
/// 1 mol of N2 is required per X mol of tritium and oxygen.
/// </summary>
public const float FrezonProductionNitrogenRatio = 10f;
public const float FrezonProductionConversionRate = 50f;
/// <summary>
/// How many mol of frezon can be converted into miasma in one cycle.
/// </summary>
public const float MiasmicSubsumationMaxConversionRate = 5f;
/// <summary>
/// Determines at what pressure the ultra-high pressure red icon is displayed.
/// </summary>
@@ -286,6 +316,7 @@ namespace Content.Shared.Atmos
Tritium = 4,
WaterVapor = 5,
Miasma = 6,
NitrousOxide = 7
NitrousOxide = 7,
Frezon = 8
}
}

View File

@@ -21,7 +21,8 @@ namespace Content.Shared.Atmos.Piping.Unary.Components
Gas.Tritium,
Gas.WaterVapor,
Gas.Miasma,
Gas.NitrousOxide
Gas.NitrousOxide,
Gas.Frezon
};
// Presets for 'dumb' air alarm modes