Frezon (#9980)
* 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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user