Files
tbd-station-14/Content.Server/Atmos/Components/PressureProtectionComponent.cs
Vera Aguilera Puerto 246fda53c5 Refactor Barotrauma to be ECS. (#4674)
- Refactor IPressureProtection to be two different ECS events.
2021-09-22 21:02:25 +10:00

25 lines
738 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Atmos.Components
{
[RegisterComponent]
public class PressureProtectionComponent : Component
{
public override string Name => "PressureProtection";
[DataField("highPressureMultiplier")]
public float HighPressureMultiplier { get; } = 1f;
[DataField("highPressureModifier")]
public float HighPressureModifier { get; } = 0f;
[DataField("lowPressureMultiplier")]
public float LowPressureMultiplier { get; } = 1f;
[DataField("lowPressureModifier")]
public float LowPressureModifier { get; } = 0f;
}
}