fish-station/Content.Server/Traits/Assorted/NarcolepsyComponent.cs
Lgibb18 95da9625e8
Разумная болезнь опять (#157)
* disease

* eula

* disease 2

* why

* fix

* фикс рси и локализаций

* update

* Revert "update"

This reverts commit ac33a3a1124175a87b82a72ed49f228e8c6c8aa6.

* фикс работоспособности, опять

* никакого лигуба, только санрайз

* санрайзотизация прототипов, спавн болезни

* ещё всякая хрень

* фуу статистика в конце раунда

---------

Co-authored-by: Vigers Ray <60344369+VigersRay@users.noreply.github.com>
2024-08-14 22:17:14 +03:00

24 lines
706 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 = new Vector2(300, 600);
/// <summary>
/// The duration of incidents, (min, max).
/// </summary>
[DataField("durationOfIncident", required: true)]
public Vector2 DurationOfIncident = new Vector2(10, 30);
public float NextIncidentTime;
}