using Content.Shared.CCVar;
using Content.Shared.Climbing;
using Content.Shared.Damage;
using Robust.Shared.Audio;
namespace Content.Server.Climbing.Components;
[RegisterComponent]
[ComponentReference(typeof(SharedClimbableComponent))]
public sealed class ClimbableComponent : SharedClimbableComponent
{
///
/// The time it takes to climb onto the entity.
///
[ViewVariables]
[DataField("delay")]
public float ClimbDelay = 0.8f;
///
/// If set, people can bonk on this if is set or if they are clumsy.
///
[ViewVariables] [DataField("bonk")] public bool Bonk = false;
///
/// Chance of bonk triggering if the user is clumsy.
///
[ViewVariables] [DataField("bonkClumsyChance")]
public float BonkClumsyChance = 0.75f;
///
/// Sound to play when bonking.
///
///
[ViewVariables] [DataField("bonkSound")]
public SoundSpecifier? BonkSound;
///
/// How long to stun players on bonk, in seconds.
///
///
[ViewVariables] [DataField("bonkTime")]
public float BonkTime = 2;
///
/// How much damage to apply on bonk.
///
///
[ViewVariables] [DataField("bonkDamage")]
public DamageSpecifier? BonkDamage;
}