Separated Bonk functionality and component from ClimbSystem and ClimbComponent (#13635)

This commit is contained in:
Ilya Chvilyov
2023-02-01 00:33:00 +03:00
committed by GitHub
parent f81a25e585
commit eae58211e1
12 changed files with 141 additions and 90 deletions

View File

@@ -0,0 +1,2 @@
bonkable-success-message-others = { CAPITALIZE(THE($user)) } bonks { POSS-ADJ($user) } head against { $bonkable }
bonkable-success-message-user = You bonk your head against { $bonkable }

View File

@@ -28,7 +28,7 @@
key: state
base: state_
- type: Climbable
bonk: true
- type: Bonkable
bonkDamage:
types:
Blunt: 4

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: TableFrame
# BaseStructure and not BaseTable, since these shouldn't be climbable/placeable.
parent: BaseStructure
@@ -219,6 +219,7 @@
node: TableReinforced
- type: Climbable
# Reinforced tables are extra tough
- type: Bonkable
bonkDamage:
types:
Blunt: 8