using Robust.Shared.Audio; namespace Content.Server.Containers; /// /// Allows objects to fall inside the Container when thrown /// [RegisterComponent] [Access(typeof(ThrowInsertContainerSystem))] public sealed partial class ThrowInsertContainerComponent : Component { [DataField(required: true)] public string ContainerId = string.Empty; /// /// Throw chance of hitting into the container /// [DataField] public float Probability = 0.25f; /// /// Sound played when an object is throw into the container. /// [DataField] public SoundSpecifier? InsertSound = new SoundPathSpecifier("/Audio/Effects/trashbag1.ogg"); /// /// Sound played when an item is thrown and misses the container. /// [DataField] public SoundSpecifier? MissSound = new SoundPathSpecifier("/Audio/Effects/thudswoosh.ogg"); [DataField] public LocId MissLocString = "container-thrown-missed"; }