From f5837f36cf2407220af50b93f6c89d30a9d817a0 Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Thu, 15 Jun 2023 03:37:58 +0000 Subject: [PATCH] give shuttle airlocks a wire layout (#17318) Co-authored-by: deltanedas <@deltanedas:kde.org> --- .../Entities/Structures/Doors/Airlocks/external.yml | 2 -- .../Entities/Structures/Doors/Airlocks/shuttle.yml | 4 ++-- Resources/Prototypes/Wires/layouts.yml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/external.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/external.yml index c6f39c1f63..233e020193 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/external.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/external.yml @@ -17,8 +17,6 @@ path: /Audio/Machines/airlock_deny.ogg - type: Sprite sprite: Structures/Doors/Airlocks/Standard/external.rsi - - type: Appearance - - type: WiresVisuals - type: PaintableAirlock group: External diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/shuttle.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/shuttle.yml index f5229c7bba..e6459f484a 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/shuttle.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/shuttle.yml @@ -1,8 +1,8 @@ - type: entity - id: AirlockShuttle parent: Airlock - name: external airlock + id: AirlockShuttle suffix: Docking + name: external airlock description: Necessary for connecting two space craft together. components: - type: Docking diff --git a/Resources/Prototypes/Wires/layouts.yml b/Resources/Prototypes/Wires/layouts.yml index be0bb14b93..a0e9fee955 100644 --- a/Resources/Prototypes/Wires/layouts.yml +++ b/Resources/Prototypes/Wires/layouts.yml @@ -84,3 +84,15 @@ - !type:ParticleAcceleratorLimiterWireAction - !type:ParticleAcceleratorPowerWireAction - !type:ParticleAcceleratorStrengthWireAction + +- type: wireLayout + id: Docking + dummyWires: 2 + wires: + - !type:PowerWireAction + - !type:PowerWireAction + pulseTimeout: 15 + - !type:DoorBoltWireAction + - !type:DoorBoltLightWireAction + - !type:DoorTimingWireAction + - !type:DoorSafetyWireAction