Skip to content

Commit adfbc6e

Browse files
authored
Gave AI a comms console (space-wizards#31852)
* 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
1 parent 3b5c3da commit adfbc6e

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

Resources/Locale/en-US/communications/communications-console-component.ftl

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ comms-console-announcement-unknown-sender = Unknown
2424
comms-console-announcement-title-station = Communications Console
2525
comms-console-announcement-title-centcom = Central Command
2626
comms-console-announcement-title-nukie = Syndicate Nuclear Operative
27+
comms-console-announcement-title-station-ai = Station AI

Resources/Prototypes/Actions/station_ai.yml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
description: Sends your eye back to the core.
66
components:
77
- type: InstantAction
8+
priority: -10
89
itemIconStyle: BigAction
910
icon:
1011
sprite: Interface/Actions/actions_ai.rsi
@@ -17,6 +18,7 @@
1718
description: Shows job icons for crew members.
1819
components:
1920
- type: InstantAction
21+
priority: -5
2022
itemIconStyle: BigAction
2123
icon:
2224
sprite: Interface/Actions/actions_ai.rsi
@@ -31,6 +33,7 @@
3133
description: Enable surveillance camera lights near wherever you're viewing.
3234
components:
3335
- type: InstantAction
36+
priority: -6
3437
itemIconStyle: BigAction
3538
icon:
3639
sprite: Interface/Actions/actions_ai.rsi
@@ -56,6 +59,7 @@
5659
description: View the laws that you must follow.
5760
components:
5861
- type: InstantAction
62+
priority: -3
5963
itemIconStyle: NoItem
6064
icon:
6165
sprite: Interface/Actions/actions_ai.rsi

Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@
111111
description: View a communications interface.
112112
components:
113113
- type: InstantAction
114-
icon: { sprite: Structures/Machines/parts.rsi, state: box_0 }
115-
iconOn: Structures/Machines/parts.rsi/box_2.png
114+
icon: { sprite: Interface/Actions/actions_ai.rsi, state: comms_console }
115+
iconOn: Interface/Actions/actions_ai.rsi/comms_console.png
116116
keywords: [ "AI", "console", "interface" ]
117-
priority: -10
117+
priority: -4
118118
event: !type:ToggleIntrinsicUIEvent { key: enum.CommunicationsConsoleUiKey.Key }
119119

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

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

156156
- type: entity
@@ -162,5 +162,5 @@
162162
icon: { sprite: Interface/Actions/actions_ai.rsi, state: station_records }
163163
iconOn: Interface/Actions/actions_ai.rsi/station_records.png
164164
keywords: [ "AI", "console", "interface" ]
165-
priority: -10
165+
priority: -8
166166
event: !type:ToggleIntrinsicUIEvent { key: enum.GeneralStationRecordConsoleKey.Key }

Resources/Prototypes/Entities/Mobs/Player/silicon.yml

+9
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
type: GeneralStationRecordConsoleBoundUserInterface
4747
enum.SiliconLawsUiKey.Key:
4848
type: SiliconLawBoundUserInterface
49+
enum.CommunicationsConsoleUiKey.Key:
50+
type: CommunicationsConsoleBoundUserInterface
4951
- type: IntrinsicUI
5052
uis:
5153
enum.RadarConsoleUiKey.Key:
@@ -54,13 +56,20 @@
5456
toggleAction: ActionAGhostShowCrewMonitoring
5557
enum.GeneralStationRecordConsoleKey.Key:
5658
toggleAction: ActionAGhostShowStationRecords
59+
enum.CommunicationsConsoleUiKey.Key:
60+
toggleAction: ActionAGhostShowCommunications
5761
- type: CrewMonitoringConsole
5862
- type: GeneralStationRecordConsole
5963
- type: DeviceNetwork
6064
deviceNetId: Wireless
6165
receiveFrequencyId: CrewMonitor
66+
transmitFrequencyId: ShuttleTimer
6267
- type: RadarConsole
6368
followEntity: false
69+
- type: CommunicationsConsole
70+
canShuttle: false
71+
title: comms-console-announcement-title-station-ai
72+
color: "#2ed2fd"
6473

6574

6675
# Ai

0 commit comments

Comments
 (0)