Revert "Revert "epic Respiration Rework"" (#6527)

This commit is contained in:
Leon Friedrich
2022-02-10 17:53:10 +13:00
committed by GitHub
parent b417c022bf
commit 706ac6af40
32 changed files with 596 additions and 586 deletions

View File

@@ -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;
}
}