using Robust.Shared.Audio; namespace Content.Shared.Bed.Sleep; [RegisterComponent] public sealed partial class SleepEmitSoundComponent : Component { /// /// Sound to play when sleeping /// [DataField, ViewVariables(VVAccess.ReadWrite)] public SoundSpecifier Snore = new SoundCollectionSpecifier("Snores", AudioParams.Default.WithVariation(0.2f)); /// /// Interval between snore attempts in seconds /// [DataField, ViewVariables(VVAccess.ReadWrite)] public float Interval = 5f; /// /// Chance for snore attempt to succeed /// [DataField, ViewVariables(VVAccess.ReadWrite)] public float Chance = 0.33f; /// /// Popup for snore (e.g. Zzz...) /// [DataField, ViewVariables(VVAccess.ReadWrite)] public LocId PopUp = "sleep-onomatopoeia"; }