fish-station/Content.Server/_Sunrise/Disease/SleepyComponent.cs
2025-10-27 02:35:00 +01:00

17 lines
650 B
C#

// © SUNRISE, An EULA/CLA with a hosting restriction, full text: https://github.com/space-sunrise/space-station-14/blob/master/CLA.txt
using System.Numerics;
using Content.Shared.Traits.Assorted;
namespace Content.Server.Traits.Assorted;
[RegisterComponent, Access(typeof(NarcolepsySystem), typeof(SleepySystem))]
public sealed partial class SleepyComponent : Component
{
[DataField("timeBetweenIncidents", required: true)]
public Vector2 TimeBetweenIncidents = new Vector2(300, 600);
[DataField("durationOfIncident", required: true)]
public Vector2 DurationOfIncident = new Vector2(10, 30);
public float NextIncidentTime;
}