using Content.Shared.Sound; using Robust.Shared.Audio; namespace Content.Server.Explosion.Components { [RegisterComponent] public sealed class OnUseTimerTriggerComponent : Component { [DataField("delay")] public float Delay = 1f; /// /// If not null, a user can use verbs to configure the delay to one of these options. /// [DataField("delayOptions")] public List? DelayOptions = null; /// /// If not null, this timer will periodically play this sound wile active. /// [DataField("beepSound")] public SoundSpecifier? BeepSound; /// /// Time before beeping starts. Defaults to a single beep interval. If set to zero, will emit a beep immediately after use. /// [DataField("initialBeepDelay")] public float? InitialBeepDelay; [DataField("beepInterval")] public float BeepInterval = 1; [DataField("beepParams")] public AudioParams BeepParams = AudioParams.Default.WithVolume(-2f); } }