using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Weapons.Misc; [RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)] public sealed partial class ForceGunComponent : BaseForceGunComponent { /// /// Maximum distance to throw entities. /// [ViewVariables(VVAccess.ReadWrite), DataField("throwDistance"), AutoNetworkedField] public float ThrowDistance = 15f; [ViewVariables(VVAccess.ReadWrite), DataField("throwForce"), AutoNetworkedField] public float ThrowForce = 30f; /// /// The entity currently tethered. /// [ViewVariables(VVAccess.ReadWrite), DataField("tethered"), AutoNetworkedField] public override EntityUid? Tethered { get; set; } [ViewVariables(VVAccess.ReadWrite), DataField("soundLaunch")] public SoundSpecifier? LaunchSound = new SoundPathSpecifier("/Audio/Weapons/soup.ogg") { Params = AudioParams.Default.WithVolume(5f), }; }