2021-09-22 13:02:25 +02:00
|
|
|
|
using Robust.Shared.GameObjects;
|
2021-03-05 01:08:38 +01:00
|
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
2020-08-07 16:23:16 +02:00
|
|
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
|
|
|
2021-06-19 13:25:05 +02:00
|
|
|
|
namespace Content.Server.Atmos.Components
|
2020-08-07 16:23:16 +02:00
|
|
|
|
{
|
|
|
|
|
|
[RegisterComponent]
|
2021-09-22 13:02:25 +02:00
|
|
|
|
public class PressureProtectionComponent : Component
|
2020-08-07 16:23:16 +02:00
|
|
|
|
{
|
2021-03-05 01:08:38 +01:00
|
|
|
|
[DataField("highPressureMultiplier")]
|
2021-09-22 13:02:25 +02:00
|
|
|
|
public float HighPressureMultiplier { get; } = 1f;
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("highPressureModifier")]
|
|
|
|
|
|
public float HighPressureModifier { get; } = 0f;
|
2020-08-07 16:23:16 +02:00
|
|
|
|
|
2021-03-05 01:08:38 +01:00
|
|
|
|
[DataField("lowPressureMultiplier")]
|
2021-09-22 13:02:25 +02:00
|
|
|
|
public float LowPressureMultiplier { get; } = 1f;
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("lowPressureModifier")]
|
|
|
|
|
|
public float LowPressureModifier { get; } = 0f;
|
2020-08-07 16:23:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|