From: Puro <103608145+PuroSlavKing@users.noreply.github.com> Date: Sun, 9 Apr 2023 21:58:22 +0000 (+0300) Subject: [Fix] Chemical bottles (#15198) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6926a769779f26d6670d89cbf6e17ef0d1ac0946;p=space-station-14.git [Fix] Chemical bottles (#15198) * [Fix] Chemical bottles * Min 0 --- 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