From f7e92980ab78ed1abb77d345a1b01cad665dafea Mon Sep 17 00:00:00 2001 From: Token Date: Sat, 29 Jun 2024 08:28:46 +0500 Subject: [PATCH] Mechs now destructable (#29338) Add Destructible component to BaseMech So all mechs are destructable now --- .../Entities/Objects/Specific/Mech/mechs.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Specific/Mech/mechs.yml b/Resources/Prototypes/Entities/Objects/Specific/Mech/mechs.yml index dab6f9f20f..99d39a8249 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Mech/mechs.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Mech/mechs.yml @@ -92,6 +92,19 @@ - type: GuideHelp guides: - Robotics + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 400 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: MetalBreak + - !type:ChangeConstructionNodeBehavior + node: start + - !type:DoActsBehavior + acts: ["Destruction"] - type: entity id: MechRipley -- 2.51.2