6
2025-11-05 11:11:22 +03:00

21 lines
634 B
C#

namespace Content.Server.Xenoarchaeology.Artifact.XAT.Components;
/// <summary>
/// This is used for an artifact that activates when above or below a certain pressure.
/// </summary>
[RegisterComponent, Access(typeof(XATPressureSystem))]
public sealed partial class XATPressureComponent : Component
{
/// <summary>
/// The lower-end pressure threshold. Is not considered when null.
/// </summary>
[DataField]
public float? MinPressureThreshold;
/// <summary>
/// The higher-end pressure threshold. Is not considered when null.
/// </summary>
[DataField]
public float? MaxPressureThreshold;
}