[Fix] Chemical bottles (#15198)

* [Fix] Chemical bottles

* Min 0
This commit is contained in:
Puro
2023-04-10 00:58:22 +03:00
committed by GitHub
parent aeefc43ba9
commit 6926a76977

View File

@@ -52,6 +52,34 @@
solution: drink
- type: StaticPrice
price: 0
- type: DamageOnLand
damage:
types:
Blunt: 5
- type: DamageOtherOnHit
damage:
types:
Blunt: 4
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 5
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass:
min: 0
max: 1
transferForensics: true
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
name: bottle