2022-11-06 18:05:44 -05:00
|
|
|
|
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Triggers when a certain pressure threshold is hit
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class ArtifactPressureTriggerComponent : Component
|
2022-11-06 18:05:44 -05:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The lower-end pressure threshold
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("minPressureThreshold")]
|
|
|
|
|
|
public float? MinPressureThreshold;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The higher-end pressure threshold
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("maxPressureThreshold")]
|
|
|
|
|
|
public float? MaxPressureThreshold;
|
|
|
|
|
|
}
|