From 6926a769779f26d6670d89cbf6e17ef0d1ac0946 Mon Sep 17 00:00:00 2001 From: Puro <103608145+PuroSlavKing@users.noreply.github.com> Date: Mon, 10 Apr 2023 00:58:22 +0300 Subject: [PATCH] [Fix] Chemical bottles (#15198) * [Fix] Chemical bottles * Min 0 --- .../Objects/Specific/chemistry-bottles.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml index 42408dd180..3c255483d4 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml @@ -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 -- 2.51.2