From edea076310fa3b9270931d7ca31f9eb3d2c743f2 Mon Sep 17 00:00:00 2001 From: Jessica M Date: Tue, 12 Jul 2022 19:01:24 -0700 Subject: [PATCH] You can now unanchor and destroy the robot showcase (#9668) --- .../Structures/Decoration/showcase.yml | 41 +++++++++++++++++-- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Decoration/showcase.yml b/Resources/Prototypes/Entities/Structures/Decoration/showcase.yml index ed75fc9343..d5d257d615 100644 --- a/Resources/Prototypes/Entities/Structures/Decoration/showcase.yml +++ b/Resources/Prototypes/Entities/Structures/Decoration/showcase.yml @@ -1,6 +1,39 @@ +- type: entity + id: BaseShowcaseRobot + parent: BaseStructure + name: security robot showcase + description: A non-functional replica of an old security robot. + components: + - type: Anchorable + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Metallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 150 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + - trigger: + !type:DamageTrigger + damage: 75 + behaviors: + - !type:PlaySoundBehavior + sound: + path: /Audio/Effects/metalbreak.ogg + - !type:SpawnEntitiesBehavior + spawn: + PartRodMetal1: + min: 5 + max: 10 + - !type:DoActsBehavior + acts: [ "Destruction" ] + - type: entity id: ShowcaseRobot - parent: BaseStructure + parent: BaseShowcaseRobot name: security robot showcase description: A non-functional replica of an old security robot. components: @@ -10,7 +43,7 @@ - type: entity id: ShowcaseRobotWhite - parent: BaseStructure + parent: BaseShowcaseRobot name: white robot showcase description: A non-functional replica of an old robot. components: @@ -20,7 +53,7 @@ - type: entity id: ShowcaseRobotAntique - parent: BaseStructure + parent: BaseShowcaseRobot name: cargo robot showcase description: A non-functional replica of an old cargo robot. components: @@ -30,7 +63,7 @@ - type: entity id: ShowcaseRobotMarauder - parent: BaseStructure + parent: BaseShowcaseRobot name: marauder showcase description: A non-functional replica of a marauder, painted green. components: