From 7f117d024bc93ffbd9d284b1d18a93d5306b2afb Mon Sep 17 00:00:00 2001 From: Adrian16199 Date: Tue, 13 Feb 2024 23:22:09 +0100 Subject: [PATCH] Makes mail teleporter craftable. Makes a mail teleporter craftable and only provides the board to the LO's locker. The point of this PR is to allow courier's to perhaps still be able to keep goin, even if the mail teleporter that was mapped was nuked/destroyed/vanished. To-do: Figure out why it gives an error and not make it when you do all steps and screwdriver it. --- .../Catalog/Fills/Lockers/heads.yml | 1 + .../Devices/CircuitBoards/production.yml | 19 +++++++++++++++++++ .../Structures/Machines/mailTeleporter.yml | 2 ++ 3 files changed, 22 insertions(+) diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index 966be72c49a..e32073d4c1f 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -21,6 +21,7 @@ - id: BoxPDACargo # Delta-V - id: QuartermasterIDCard # Delta-V - id: ClothingShoesBootsWinterLogisticsOfficer #Delta V: Add departmental winter boots + - id: MailTeleporterMachineCircuitboard # Delta V: Craftable mail teleporter. - type: entity id: LockerCaptainFilledHardsuit diff --git a/Resources/Prototypes/Nyanotrasen/Entities/Objects/Devices/CircuitBoards/production.yml b/Resources/Prototypes/Nyanotrasen/Entities/Objects/Devices/CircuitBoards/production.yml index a1a7a859e08..bc24262ea5c 100644 --- a/Resources/Prototypes/Nyanotrasen/Entities/Objects/Devices/CircuitBoards/production.yml +++ b/Resources/Prototypes/Nyanotrasen/Entities/Objects/Devices/CircuitBoards/production.yml @@ -44,3 +44,22 @@ - type: ReverseEngineering recipes: - DeepFryerMachineCircuitboard + +- type: entity + id: MailTeleporterMachineCircuitboard + parent: BaseMachineCircuitboard + name: mail teleporter machine board + components: + - type: Sprite + state: supply + - type: MachineBoard + prototype: MailTeleporter + requirements: + Capacitor: 1 + MatterBin: 1 + materialRequirements: + Steel: 4 + Cable: 4 + - type: ReverseEngineering + recipes: + - MailTeleporterMachineCircuitboard diff --git a/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml b/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml index 9bcaef52bbf..d1ffb91d541 100644 --- a/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml +++ b/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/mailTeleporter.yml @@ -56,3 +56,5 @@ True: {visible: true} False: {visible: false} - type: PowerSwitch + - type: Machine + board: MailTeleporterMachineCircuitboard