using Content.Shared.Climbing.Systems; using Content.Shared.Clumsy.Components; using Content.Shared.Damage; using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Climbing.Components; /// /// Damages and stuns entities afflicted with upon climb interactions. /// [RegisterComponent, NetworkedComponent, Access(typeof(ClimbSystem))] public sealed partial class BonkableComponent : Component { /// /// How long to stun players on bonk, in seconds. /// [DataField] public TimeSpan BonkTime = TimeSpan.FromSeconds(2); /// /// How much damage to apply on bonk. /// [DataField] public DamageSpecifier? BonkDamage; /// /// The sound of the bonk. /// [DataField] public SoundSpecifier BonkSound = new SoundCollectionSpecifier("TrayHit"); }