using Robust.Shared.GameStates; using Content.Shared.Sound.Components; namespace Content.Shared._RMC14.Sound; /// /// Simple sound emitter that emits sound on InstantAction /// [RegisterComponent] public sealed partial class EmitSoundOnActionComponent : BaseEmitSoundComponent { /// /// Whether or not to mark an interaction as handled after playing the sound. Useful if this component is /// used to play sound for some other component with on-use functionality /// /// /// If false, you should be confident that the interaction will also be handled by some other system, as /// otherwise this might enable sound spamming, as use-delays are only initiated if the interaction was /// handled. /// [DataField] public bool Handle = true; }