Adds a new SolutionExplosionBehavior for the benefit of fuel tanks and future exploding canisters (#11260)

This commit is contained in:
Mervill
2022-09-14 10:15:54 -07:00
committed by GitHub
parent a68e9da700
commit b8d1843335
3 changed files with 54 additions and 4 deletions

View File

@@ -30,17 +30,17 @@
damageType: Heat
damage: 5
behaviors:
#spill BEFORE exploding, so that one day explosions can ignite puddles
- !type:SpillBehavior
- !type:SolutionExplosionBehavior
solution: tank
- !type:ExplodeBehavior
#note: only actually explodes if entity has ExplosiveComponent.
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:SpillBehavior
solution: tank
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:DoActsBehavior
acts: ["Destruction"]
- type: SolutionContainerManager