using System.Numerics; namespace Content.Server.Traits.Assorted; /// /// This is used for the narcolepsy trait. /// [RegisterComponent, Access(typeof(NarcolepsySystem))] public sealed partial class NarcolepsyComponent : Component { /// /// The random time between incidents, (min, max). /// [DataField("timeBetweenIncidents", required: true)] public Vector2 TimeBetweenIncidents { get; private set; } /// /// The duration of incidents, (min, max). /// [DataField("durationOfIncident", required: true)] public Vector2 DurationOfIncident { get; private set; } public float NextIncidentTime; }