using Robust.Shared.Audio; namespace Content.Server.Traits.Assorted; /// /// This is used for the occasional sneeze or cough. /// [RegisterComponent] public sealed class UncontrollableSnoughComponent : Component { /// /// Message to play when snoughing. /// [DataField("snoughMessage")] public string SnoughMessage = "disease-sneeze"; /// /// Sound to play when snoughing. /// [DataField("snoughSound")] public SoundSpecifier? SnoughSound; /// /// The random time between incidents, (min, max). /// [DataField("timeBetweenIncidents", required: true)] public Vector2 TimeBetweenIncidents { get; } public float NextIncidentTime; }