From eb125b7d6145cf0d1ee2758190cda1d8fdbaafe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Mon, 12 Oct 2020 13:54:02 +0200 Subject: [PATCH] Adds different StackTypes for MV and HV cables, rename APC Extension Cable Coil to cable coil. --- .../GameObjects/Components/SharedStackComponent.cs | 2 ++ .../Prototypes/Entities/Objects/Power/cable_coils.yml | 11 ++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Content.Shared/GameObjects/Components/SharedStackComponent.cs b/Content.Shared/GameObjects/Components/SharedStackComponent.cs index 3d9f83d097..3df152b69a 100644 --- a/Content.Shared/GameObjects/Components/SharedStackComponent.cs +++ b/Content.Shared/GameObjects/Components/SharedStackComponent.cs @@ -127,6 +127,8 @@ namespace Content.Shared.GameObjects.Components Glass, Plasteel, Cable, + MVCable, + HVCable, Gold, Phoron, Ointment, diff --git a/Resources/Prototypes/Entities/Objects/Power/cable_coils.yml b/Resources/Prototypes/Entities/Objects/Power/cable_coils.yml index 9176df929c..7ad05e8511 100644 --- a/Resources/Prototypes/Entities/Objects/Power/cable_coils.yml +++ b/Resources/Prototypes/Entities/Objects/Power/cable_coils.yml @@ -22,9 +22,11 @@ - type: entity id: HVWireStack parent: CableStack - name: HV Wire Coil + name: HV cable coil suffix: Full components: + - type: Stack + stacktype: enum.StackType.HVCable - type: Sprite state: coilhv-30 - type: Item @@ -49,7 +51,8 @@ - type: entity parent: CableStack id: ApcExtensionCableStack - name: Apc Extension Cable Coil + name: cable coil + description: Low-Voltage stack of wires for connecting APCs to machines and other purposes. suffix: Full components: - type: Sprite @@ -76,9 +79,11 @@ - type: entity parent: CableStack id: MVWireStack - name: MV Wire Coil + name: MV cable coil suffix: Full components: + - type: Stack + stacktype: enum.StackType.MVCable - type: Sprite state: coilmv-30 - type: Item