using Content.Shared.Audio; using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Gatherable.Components; /// /// Plays the specified sound when this entity is gathered. /// [RegisterComponent, NetworkedComponent] [Access(typeof(GatherableSystem))] public sealed partial class SoundOnGatherComponent : Component { /// /// Sound to play when this entity is gathered. /// [DataField] public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Effects/break_stone.ogg", AudioParams.Default .WithVariation(SharedContentAudioSystem.DefaultVariation) .AddVolume(-3f)); }