From 6ff60918b68fca4f21fc9945d36a5b0b9142ab95 Mon Sep 17 00:00:00 2001 From: Adrian16199 Date: Mon, 19 Feb 2024 19:36:30 +0100 Subject: [PATCH] Makes it work --- .../Structures/Machines/mailTeleporter.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml b/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml index 2405072c602..5d800112c63 100644 --- a/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml +++ b/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml @@ -37,11 +37,11 @@ !type:DamageTrigger damage: 75 behaviors: - - !type:SpawnEntitiesBehavior - spawn: - SheetSteel1: - min: 1 - max: 1 + - !type:PlaySoundBehavior + sound: + collection: MetalGlassBreak + - !type:ChangeConstructionNodeBehavior + node: machineFrame - !type:DoActsBehavior acts: ["Destruction"] - type: ApcPowerReceiver @@ -61,3 +61,7 @@ node: machine - type: Machine board: MailTeleporterMachineCircuitboard + - type: ContainerContainer + containers: + machine_board: !type:Container + machine_parts: !type:Container