mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
24 lines
705 B
C#
24 lines
705 B
C#
using System.Numerics;
|
|
|
|
namespace Content.Server.Traits.Assorted;
|
|
|
|
/// <summary>
|
|
/// This is used for the narcolepsy trait.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(NarcolepsySystem))]
|
|
public sealed partial class NarcolepsyComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The random time between incidents, (min, max).
|
|
/// </summary>
|
|
[DataField("timeBetweenIncidents", required: true)]
|
|
public Vector2 TimeBetweenIncidents { get; private set; }
|
|
|
|
/// <summary>
|
|
/// The duration of incidents, (min, max).
|
|
/// </summary>
|
|
[DataField("durationOfIncident", required: true)]
|
|
public Vector2 DurationOfIncident { get; private set; }
|
|
|
|
public float NextIncidentTime;
|
|
}
|