From 8185a4b4d3fa537a327fc1615a8fd2684dca9082 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sun, 14 Feb 2021 13:24:49 +0100 Subject: [PATCH] Carpets can now be damaged and destroyed. --- .../Entities/Constructible/Furniture/carpets.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Resources/Prototypes/Entities/Constructible/Furniture/carpets.yml b/Resources/Prototypes/Entities/Constructible/Furniture/carpets.yml index cf38331911..252e578ea9 100644 --- a/Resources/Prototypes/Entities/Constructible/Furniture/carpets.yml +++ b/Resources/Prototypes/Entities/Constructible/Furniture/carpets.yml @@ -20,6 +20,15 @@ - !type:PhysShapeAabb bounds: "-0.5, -0.5, 0.5, 0.5" layer: [ Passable ] + - type: Damageable + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 10 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] - type: entity id: Carpet