You can now unanchor and destroy the robot showcase (#9668)

This commit is contained in:
Jessica M
2022-07-12 19:01:24 -07:00
committed by GitHub
parent 43755601fd
commit edea076310

View File

@@ -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: