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 SourceBonkClumsyChance
Chance of bonk triggering if the user is clumsy.
Declaration
public float BonkClumsyChance
Field Value
Type | Description |
---|---|
System. |
BonkDamage
How much damage to apply on bonk.
Declaration
public DamageSpecifier BonkDamage
Field Value
Type | Description |
---|---|
Damage |
BonkDelay
How long it takes to bonk.
Declaration
public float BonkDelay
Field Value
Type | Description |
---|---|
System. |
BonkSound
Sound to play when bonking.
Declaration
public SoundSpecifier BonkSound
Field Value
Type | Description |
---|---|
Robust. |
BonkTime
How long to stun players on bonk, in seconds.
Declaration
public float BonkTime
Field Value
Type | Description |
---|---|
System. |