#3927 beakers will now break and spill on landing after a throw (#4230)

This commit is contained in:
Galactic Chimp
2021-06-27 05:05:43 +02:00
committed by GitHub
parent 4d89eda952
commit 71d939bed5

View File

@@ -30,7 +30,28 @@
- type: SolutionContainerVisualizer
maxFillLevels: 6
fillBaseName: beaker
- type: Damageable
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 5
behaviors:
- !type:PlaySoundCollectionBehavior
soundCollection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: DamageOnLand
amount: 5
- type: DamageOtherOnHit
amount: 5
- type: entity
name: large beaker
parent: Beaker