]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add a maintenance panel to bar signs (#33467)
authorWinkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Fri, 6 Dec 2024 05:27:52 +0000 (08:27 +0300)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2024 05:27:52 +0000 (23:27 -0600)
* Add a maintenance panel to bar signs

* Update Resources/Locale/en-US/wires/wire-names.ftl

* AI interactions

---------

Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Locale/en-US/wires/wire-names.ftl
Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml
Resources/Prototypes/Wires/layouts.yml

index 16ae068eaafc5e2f26046dda8cb69e1647773579..670f01d73641307424ddd24f1343bae297ee0355 100644 (file)
@@ -41,6 +41,7 @@ wires-board-name-flatpacker = Flatpacker
 wires-board-name-spaceheater = Space Heater
 wires-board-name-jukebox = Jukebox
 wires-board-name-computer = Computer
+wires-board-name-barsign = Bar Sign
 
 # names that get displayed in the wire hacking hud & admin logs.
 
index f749bc599be07844e1d9a5471faf990d65c2d09e..721b5e13202dc95ddf126e57888f46623d06993e 100644 (file)
@@ -28,6 +28,8 @@
     interfaces:
       enum.BarSignUiKey.Key:
         type: BarSignBoundUserInterface
+      enum.WiresUiKey.Key:
+        type: WiresBoundUserInterface
   - type: Appearance
   - type: Destructible
     thresholds:
       behaviors:
       - !type:DoActsBehavior
         acts: ["Destruction"]
+  - type: StationAiWhitelist
+  - type: WiresPanel
+  - type: Wires
+    boardName: wires-board-name-barsign
+    layoutId: BarSign
 
 - type: entity
   parent: BaseBarSign
index cb211cf84315290a848cf514f17b335b3bcf4d08..32b01cba811297d9e6c5440b933d0f2164a6f389 100644 (file)
   wires:
   - !type:PowerWireAction
   - !type:AiInteractWireAction
+
+- type: wireLayout
+  id: BarSign
+  dummyWires: 2
+  wires:
+  - !type:PowerWireAction
+  - !type:AiInteractWireAction
+  - !type:AccessWireAction