Adds a new SolutionExplosionBehavior for the benefit of fuel tanks and future exploding canisters (#11260)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user