Skip to content

Commit

Permalink
Gave AI a comms console (#31852)
Browse files Browse the repository at this point in the history
* Updated sprites for AI HUD

* Epic test fail

* Merged AGhost actions and AI actions together again.

* Seperate comms and bugfix. Fixed broadcast.

* Stuffs

* Update station_ai.yml

* Update station_ai.yml

* :|

* Update silicon.yml

* oopsie daisy

* stuff

* further stuff

* oh my god

* Appeasing the gods
  • Loading branch information
ScarKy0 authored Sep 12, 2024
1 parent 3b5c3da commit adfbc6e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ comms-console-announcement-unknown-sender = Unknown
comms-console-announcement-title-station = Communications Console
comms-console-announcement-title-centcom = Central Command
comms-console-announcement-title-nukie = Syndicate Nuclear Operative
comms-console-announcement-title-station-ai = Station AI
4 changes: 4 additions & 0 deletions Resources/Prototypes/Actions/station_ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
description: Sends your eye back to the core.
components:
- type: InstantAction
priority: -10
itemIconStyle: BigAction
icon:
sprite: Interface/Actions/actions_ai.rsi
Expand All @@ -17,6 +18,7 @@
description: Shows job icons for crew members.
components:
- type: InstantAction
priority: -5
itemIconStyle: BigAction
icon:
sprite: Interface/Actions/actions_ai.rsi
Expand All @@ -31,6 +33,7 @@
description: Enable surveillance camera lights near wherever you're viewing.
components:
- type: InstantAction
priority: -6
itemIconStyle: BigAction
icon:
sprite: Interface/Actions/actions_ai.rsi
Expand All @@ -56,6 +59,7 @@
description: View the laws that you must follow.
components:
- type: InstantAction
priority: -3
itemIconStyle: NoItem
icon:
sprite: Interface/Actions/actions_ai.rsi
Expand Down
12 changes: 6 additions & 6 deletions Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@
description: View a communications interface.
components:
- type: InstantAction
icon: { sprite: Structures/Machines/parts.rsi, state: box_0 }
iconOn: Structures/Machines/parts.rsi/box_2.png
icon: { sprite: Interface/Actions/actions_ai.rsi, state: comms_console }
iconOn: Interface/Actions/actions_ai.rsi/comms_console.png
keywords: [ "AI", "console", "interface" ]
priority: -10
priority: -4
event: !type:ToggleIntrinsicUIEvent { key: enum.CommunicationsConsoleUiKey.Key }

- type: entity
Expand All @@ -126,7 +126,7 @@
icon: { sprite: Interface/Actions/actions_ai.rsi, state: mass_scanner }
iconOn: Interface/Actions/actions_ai.rsi/mass_scanner.png
keywords: [ "AI", "console", "interface" ]
priority: -10
priority: -7
event: !type:ToggleIntrinsicUIEvent { key: enum.RadarConsoleUiKey.Key }

- type: entity
Expand All @@ -150,7 +150,7 @@
icon: { sprite: Interface/Actions/actions_ai.rsi, state: crew_monitor }
iconOn: Interface/Actions/actions_ai.rsi/crew_monitor.png
keywords: [ "AI", "console", "interface" ]
priority: -10
priority: -9
event: !type:ToggleIntrinsicUIEvent { key: enum.CrewMonitoringUIKey.Key }

- type: entity
Expand All @@ -162,5 +162,5 @@
icon: { sprite: Interface/Actions/actions_ai.rsi, state: station_records }
iconOn: Interface/Actions/actions_ai.rsi/station_records.png
keywords: [ "AI", "console", "interface" ]
priority: -10
priority: -8
event: !type:ToggleIntrinsicUIEvent { key: enum.GeneralStationRecordConsoleKey.Key }
9 changes: 9 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
type: GeneralStationRecordConsoleBoundUserInterface
enum.SiliconLawsUiKey.Key:
type: SiliconLawBoundUserInterface
enum.CommunicationsConsoleUiKey.Key:
type: CommunicationsConsoleBoundUserInterface
- type: IntrinsicUI
uis:
enum.RadarConsoleUiKey.Key:
Expand All @@ -54,13 +56,20 @@
toggleAction: ActionAGhostShowCrewMonitoring
enum.GeneralStationRecordConsoleKey.Key:
toggleAction: ActionAGhostShowStationRecords
enum.CommunicationsConsoleUiKey.Key:
toggleAction: ActionAGhostShowCommunications
- type: CrewMonitoringConsole
- type: GeneralStationRecordConsole
- type: DeviceNetwork
deviceNetId: Wireless
receiveFrequencyId: CrewMonitor
transmitFrequencyId: ShuttleTimer
- type: RadarConsole
followEntity: false
- type: CommunicationsConsole
canShuttle: false
title: comms-console-announcement-title-station-ai
color: "#2ed2fd"


# Ai
Expand Down

0 comments on commit adfbc6e

Please sign in to comment.