Rename Miasma to Ammonia (#22791)

* Rename Miasma to Ammonia

* Namespace changes

* Map change????? why
This commit is contained in:
Kara
2023-12-20 21:19:50 -07:00
committed by GitHub
parent bf7c788099
commit ad97580727
40 changed files with 134 additions and 194 deletions

View File

@@ -242,14 +242,9 @@ namespace Content.Shared.Atmos
public const float N2ODecompositionRate = 2f;
/// <summary>
/// How many mol of frezon can be converted into miasma in one cycle.
/// Divisor for Ammonia Oxygen reaction so that it doesn't happen instantaneously.
/// </summary>
public const float MiasmicSubsumationMaxConversionRate = 5f;
/// <summary>
/// Divisor for Miasma Oxygen reaction so that it doesn't happen instantaneously.
/// </summary>
public const float MiasmaOxygenReactionRate = 10f;
public const float AmmoniaOxygenReactionRate = 10f;
/// <summary>
/// Determines at what pressure the ultra-high pressure red icon is displayed.
@@ -334,7 +329,7 @@ namespace Content.Shared.Atmos
Plasma = 3,
Tritium = 4,
WaterVapor = 5,
Miasma = 6,
Ammonia = 6,
NitrousOxide = 7,
Frezon = 8
}

View File

@@ -20,7 +20,7 @@ namespace Content.Shared.Atmos.Piping.Unary.Components
Gas.Plasma,
Gas.Tritium,
Gas.WaterVapor,
Gas.Miasma,
Gas.Ammonia,
Gas.NitrousOxide,
Gas.Frezon
};

View File

@@ -1,4 +1,4 @@
namespace Content.Shared.Atmos.Miasma;
namespace Content.Shared.Atmos.Rotting;
/// <summary>
/// Entities inside this container will not rot.

View File

@@ -1,6 +1,6 @@
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Atmos.Miasma;
namespace Content.Shared.Atmos.Rotting;
/// <summary>
/// This makes mobs eventually start rotting when they die.

View File

@@ -2,7 +2,7 @@ using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Atmos.Miasma;
namespace Content.Shared.Atmos.Rotting;
/// <summary>
/// Lets an entity rot into another entity.

View File

@@ -2,7 +2,7 @@ using Content.Shared.Damage;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Atmos.Miasma;
namespace Content.Shared.Atmos.Rotting;
/// <summary>
/// Tracking component for stuff that has started to rot.
@@ -17,7 +17,7 @@ public sealed partial class RottingComponent : Component
public bool DealDamage = true;
/// <summary>
/// When the next check will happen for rot progression + effects like damage and miasma
/// When the next check will happen for rot progression + effects like damage and ammonia
/// </summary>
[DataField("nextRotUpdate", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan NextRotUpdate = TimeSpan.Zero;