]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Give APCs wirepanels (#38443)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Thu, 19 Jun 2025 15:06:11 +0000 (17:06 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Jun 2025 15:06:11 +0000 (17:06 +0200)
init

Resources/Prototypes/Entities/Structures/Power/apc.yml
Resources/Prototypes/Wires/layouts.yml

index 6fe749b7dde9e60f8e69f03110a778ccbfcace15..018cf2a2f1afaa40a75366128c494890f9c72d6f 100644 (file)
@@ -89,6 +89,8 @@
     interfaces:
       enum.ApcUiKey.Key:
         type: ApcBoundUserInterface
+      enum.WiresUiKey.Key:
+        type: WiresBoundUserInterface
   - type: ActivatableUI
     inHandsOnly: false
     key: enum.ApcUiKey.Key
     supplyRampRate: 500
   - type: WallMount
   - type: WiresPanel
+  - type: Wires
+    alwaysRandomize: true
+    boardName: wires-board-name-apc
+    layoutId: APC
   - type: WiresVisuals
   - type: Damageable
     damageContainer: StructuralInorganic
index d94355361f91dac214888f8ab5f29e4ad5f29162..675dd16b1c1d018ed68f47cad8a33ea218fa62de 100644 (file)
   - !type:PowerWireAction
   - !type:AiInteractWireAction
   - !type:AccessWireAction
-  
+
 - type: wireLayout
   id: WeaponEnergyTurret
   dummyWires: 4
     pulseTimeout: 15
   - !type:AiInteractWireAction
   - !type:AccessWireAction
-  
+
 - type: wireLayout
   id: TurretControls
   dummyWires: 2
   - !type:PowerWireAction
     pulseTimeout: 15
   - !type:AiInteractWireAction
-  - !type:AccessWireAction 
-  
\ No newline at end of file
+  - !type:AccessWireAction
+
+- type: wireLayout
+  id: APC
+  dummyWires: 3
+  wires:
+  - !type:AccessWireAction
+  - !type:AiInteractWireAction