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