Make fireaxe & shotgun cabinets destructible (#25962)
* Update fireaxe_cabinet.yml * added min(75) and max (100) dmg threshold 100 dmg destroys the axe as well. * made the cabinet tougher
This commit is contained in:
@@ -3,9 +3,27 @@
|
|||||||
name: fire axe cabinet
|
name: fire axe cabinet
|
||||||
description: There is a small label that reads "For Emergency use only" along with details for safe use of the axe. As if.
|
description: There is a small label that reads "For Emergency use only" along with details for safe use of the axe. As if.
|
||||||
components:
|
components:
|
||||||
- type: Damageable # adding destructible causes the entity inside to be deleted when the cabinet is destroyed :(
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
damageModifierSet: Glass
|
damageModifierSet: Glass
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 300
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 200 #20ish crowbar hits
|
||||||
|
behaviors:
|
||||||
|
- !type:EmptyAllContainersBehaviour
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
collection: MetalGlassBreak
|
||||||
- type: MeleeSound
|
- type: MeleeSound
|
||||||
soundGroups:
|
soundGroups:
|
||||||
Brute:
|
Brute:
|
||||||
|
|||||||
Reference in New Issue
Block a user