Show / Hide Table of Contents

Class BonkableComponent

Makes entity do damage and stun entities with ClumsyComponent upon DragDrop or Climb interactions.

Inheritance
System.Object
BonkableComponent
Namespace: Content.Shared.Climbing
Assembly: Content.Shared.dll
Syntax
public sealed class BonkableComponent : Component

Fields

| Improve this Doc View Source

BonkClumsyChance

Chance of bonk triggering if the user is clumsy.

Declaration
public float BonkClumsyChance
Field Value
Type Description
System.Single
| Improve this Doc View Source

BonkDamage

How much damage to apply on bonk.

Declaration
public DamageSpecifier BonkDamage
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

BonkDelay

How long it takes to bonk.

Declaration
public float BonkDelay
Field Value
Type Description
System.Single
| Improve this Doc View Source

BonkSound

Sound to play when bonking.

Declaration
public SoundSpecifier BonkSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

BonkTime

How long to stun players on bonk, in seconds.

Declaration
public float BonkTime
Field Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾