* start work * blindness actually works now * doc * doc you too. * i desire to sneeze my lungs out * no punchie * s Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
23 lines
647 B
C#
23 lines
647 B
C#
namespace Content.Server.Traits.Assorted;
|
|
|
|
/// <summary>
|
|
/// This is used for the narcolepsy trait.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(NarcolepsySystem))]
|
|
public sealed class NarcolepsyComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The random time between incidents, (min, max).
|
|
/// </summary>
|
|
[DataField("timeBetweenIncidents", required: true)]
|
|
public Vector2 TimeBetweenIncidents { get; }
|
|
|
|
/// <summary>
|
|
/// The duration of incidents, (min, max).
|
|
/// </summary>
|
|
[DataField("durationOfIncident", required: true)]
|
|
public Vector2 DurationOfIncident { get; }
|
|
|
|
public float NextIncidentTime;
|
|
}
|