From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Fri, 6 Dec 2024 05:27:52 +0000 (+0300) Subject: Add a maintenance panel to bar signs (#33467) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=52a886947f511e2845c746c8af214002ca3d8a21;p=space-station-14.git Add a maintenance panel to bar signs (#33467) * 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> --- diff --git a/Resources/Locale/en-US/wires/wire-names.ftl b/Resources/Locale/en-US/wires/wire-names.ftl index 16ae068eaa..670f01d736 100644 --- a/Resources/Locale/en-US/wires/wire-names.ftl +++ b/Resources/Locale/en-US/wires/wire-names.ftl @@ -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. diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml index f749bc599b..721b5e1320 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml @@ -28,6 +28,8 @@ interfaces: enum.BarSignUiKey.Key: type: BarSignBoundUserInterface + enum.WiresUiKey.Key: + type: WiresBoundUserInterface - type: Appearance - type: Destructible thresholds: @@ -37,6 +39,11 @@ behaviors: - !type:DoActsBehavior acts: ["Destruction"] + - type: StationAiWhitelist + - type: WiresPanel + - type: Wires + boardName: wires-board-name-barsign + layoutId: BarSign - type: entity parent: BaseBarSign diff --git a/Resources/Prototypes/Wires/layouts.yml b/Resources/Prototypes/Wires/layouts.yml index cb211cf843..32b01cba81 100644 --- a/Resources/Prototypes/Wires/layouts.yml +++ b/Resources/Prototypes/Wires/layouts.yml @@ -189,3 +189,11 @@ wires: - !type:PowerWireAction - !type:AiInteractWireAction + +- type: wireLayout + id: BarSign + dummyWires: 2 + wires: + - !type:PowerWireAction + - !type:AiInteractWireAction + - !type:AccessWireAction