Make slow spacing variables CCVars (#19862)

This commit is contained in:
Kevin Zheng
2023-09-13 19:38:56 -08:00
committed by GitHub
parent 383935a1d2
commit a622844a5f
4 changed files with 43 additions and 33 deletions

View File

@@ -309,25 +309,6 @@ namespace Content.Shared.Atmos
/// </summary>
public const float MaxTransferRate = 200;
/// <summary>
/// What fraction of air from a spaced tile escapes every tick.
/// 1.0 for instant spacing, 0.2 means 20% of remaining air lost each time
/// </summary>
public const float SpacingEscapeRatio = 0.05f;
/// <summary>
/// Minimum amount of air allowed on a spaced tile before it is reset to 0 immediately in kPa
/// Since the decay due to SpacingEscapeRatio follows a curve, it would never reach 0.0 exactly
/// unless we truncate it somewhere.
/// </summary>
public const float SpacingMinGas = 2.0f;
/// <summary>
/// How much wind can go through a single tile before that tile doesn't depressurize itself
/// (I.e spacing is limited in large rooms heading into smaller spaces)
/// </summary>
public const float SpacingMaxWind = 500.0f;
#endregion
}