using Content.Shared.Chat.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Traits.Assorted;
///
/// This is used for the occasional sneeze or cough.
///
[RegisterComponent]
public sealed class UncontrollableSnoughComponent : Component
{
///
/// Emote to play when snoughing
///
[DataField("emote", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))]
public string EmoteId = String.Empty;
///
/// The random time between incidents, (min, max).
///
[DataField("timeBetweenIncidents", required: true)]
public Vector2 TimeBetweenIncidents { get; }
public float NextIncidentTime;
}