epic Respiration Rework (#6022)
This commit is contained in:
@@ -255,11 +255,10 @@ namespace Content.Shared.Atmos
|
||||
/// </summary>
|
||||
public const float NormalBodyTemperature = 37f;
|
||||
|
||||
public const float HumanNeededOxygen = MolesCellStandard * BreathPercentage * 0.16f;
|
||||
|
||||
public const float HumanProducedOxygen = HumanNeededOxygen * 0.75f;
|
||||
|
||||
public const float HumanProducedCarbonDioxide = HumanNeededOxygen * 0.25f;
|
||||
/// <summary>
|
||||
/// I hereby decree. This is Arbitrary Suck my Dick
|
||||
/// </summary>
|
||||
public const float BreathMolesToReagentMultiplier = 1144;
|
||||
|
||||
#region Pipes
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
using Content.Shared.Chemistry.Reagent;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Shared.Atmos.Prototypes
|
||||
@@ -70,6 +72,12 @@ namespace Content.Shared.Atmos.Prototypes
|
||||
[DataField("overlayPath")]
|
||||
public string OverlayPath { get; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The reagent that this gas will turn into when inhaled.
|
||||
/// </summary>
|
||||
[DataField("reagent", customTypeSerializer:typeof(PrototypeIdSerializer<ReagentPrototype>))]
|
||||
public string? Reagent { get; } = default!;
|
||||
|
||||
[DataField("color")] public string Color { get; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user