From 0d4a77e6da6f250cfd4f42e140817fe5c4caa0b5 Mon Sep 17 00:00:00 2001 From: freeman2651 <104049107+freeman2651@users.noreply.github.com> Date: Fri, 28 Apr 2023 23:13:20 -0400 Subject: [PATCH] Pill destruction (#15851) --- .../Entities/Objects/Specific/chemistry.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml index d41aba8e9b..010a292691 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml @@ -304,6 +304,19 @@ grindableSolutionName: food - type: StaticPrice price: 0 + - type: Damageable + damageContainer: Inorganic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 10 + behaviors: + - !type:SpillBehavior + solution: food + transferForensics: true + - !type:DoActsBehavior + acts: [ "Destruction" ] - type: entity name: pill canister -- 2.51.2