Implement Intrinsic UIs (#6926)

* Implement Intrinsic UIs, allowing the admin ghost to double as a computer.

* ignore moment

* remove debug statement, sort the actions.

* ffs

* didn't ever use this and don't need to, removed.

* rm dead code

* lil bit of commenting.
This commit is contained in:
Moony
2022-03-10 23:37:35 -06:00
committed by GitHub
parent a0c1453c01
commit f5f3e65e1d
6 changed files with 287 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
action-name-show-solar-console = Solar Control Interface
action-description-show-solar-console = View a solar control interface.
action-name-show-communications-console = Communications Interface
action-description-show-communications-console = View a communications interface.
action-name-show-radar-console = Mass Scanner Interface
action-description-show-radar-console = View a mass scanner interface.
action-name-show-cargo-console = Cargo Ordering Interface
action-description-show-cargo-console = View a cargo ordering interface.
action-name-show-crew-monitoring-console = Crew Monitoring Interface.
action-description-crew-monitoring-console = View a crew monitoring interface.

View File

@@ -35,3 +35,133 @@
- type: Access
groups:
- AllAccess
- type: UserInterface
interfaces:
- key: enum.SolarControlConsoleUiKey.Key
type: SolarControlConsoleBoundUserInterface
- key: enum.CommunicationsConsoleUiKey.Key
type: CommunicationsConsoleBoundUserInterface
- key: enum.RadarConsoleUiKey.Key
type: RadarConsoleBoundUserInterface
- key: enum.CargoConsoleUiKey.Key
type: CargoConsoleBoundUserInterface
- key: enum.CrewMonitoringUIKey.Key
type: CrewMonitoringBoundUserInterface
- type: IntrinsicUI
uis:
- key: enum.SolarControlConsoleUiKey.Key
toggleAction:
name: action-name-show-solar-console
description: action-description-show-solar-console
icon: Structures/Machines/parts.rsi/box_0.png
iconOn: Structures/Machines/parts.rsi/box_2.png
keywords: [ "AI", "console", "interface" ]
priority: -10
event: !type:ToggleIntrinsicUIEvent
- key: enum.CommunicationsConsoleUiKey.Key
toggleAction:
name: action-name-show-communications-console
description: action-description-show-communications-console
icon: Structures/Machines/parts.rsi/box_0.png
iconOn: Structures/Machines/parts.rsi/box_2.png
keywords: [ "AI", "console", "interface" ]
priority: -10
event: !type:ToggleIntrinsicUIEvent
- key: enum.RadarConsoleUiKey.Key
toggleAction:
name: action-name-show-radar-console
description: action-description-show-radar-console
icon: Structures/Machines/parts.rsi/box_0.png
iconOn: Structures/Machines/parts.rsi/box_2.png
keywords: [ "AI", "console", "interface" ]
priority: -10
event: !type:ToggleIntrinsicUIEvent
- key: enum.CargoConsoleUiKey.Key
toggleAction:
name: action-name-show-cargo-console
description: action-description-show-cargo-console
icon: Structures/Machines/parts.rsi/box_0.png
iconOn: Structures/Machines/parts.rsi/box_2.png
keywords: [ "AI", "console", "interface" ]
priority: -10
event: !type:ToggleIntrinsicUIEvent
- key: enum.CrewMonitoringUIKey.Key
toggleAction:
name: action-name-show-crew-monitoring-console
description: action-description-crew-monitoring-console
icon: Structures/Machines/parts.rsi/box_0.png
iconOn: Structures/Machines/parts.rsi/box_2.png
keywords: [ "AI", "console", "interface" ]
priority: -10
event: !type:ToggleIntrinsicUIEvent
- type: SolarControlConsole # look ma i AM the computer!
- type: CommunicationsConsole
- type: RadarConsole
- type: CargoConsole
- type: CargoOrderDatabase
- type: GalacticMarket # wow this kinda sucks.
products:
- MedicalSupplies
- MedicalChemistrySupplies
- EmergencyExplosive
- EmergencyFire
- EmergencyInternals
- EmergencyRadiation
- EmergencyInflatablewall
- ArmorySmg
- ArmoryShotgun
- SecurityArmor
- SecurityRiot
- SecurityLaser
- SecurityHelmet
- SecuritySupplies
- SecurityNonLethal
- SecurityRestraints
- HydroponicsTools
- HydroponicsSeeds
- HydroponicsSeedsExotic
- LivestockMonkeyCube
- LivestockCow
- LivestockChicken
- LivestockDuck
- LivestockGoat
- FoodPizza
- ServiceJanitorial
- ServiceLightsReplacement
- ServiceSmokeables
- ServiceCustomSmokable
- ServiceBureaucracy
- ServicePersonnel
- EngineeringCableLv
- EngineeringCableMv
- EngineeringCableHv
- EngineeringCableBulk
- EngineAmeShielding
- EngineAmeJar
- EngineAmeControl
- EngineSolar
- FunPlushies
- FunArtSupplies
- FunInstruments
- FunBoardGames
- MaterialSteel
- MaterialGlass
- MaterialPlastic
- MaterialPlasteel
- MaterialPlasma
- EngineSingularityEmitter
- EngineSingularityCollector
- EngineSingularityGenerator
- EngineSingularityContainment
- EngineParticleAccelerator
- ShuttleThruster
- ShuttleGyroscope
- AtmosphericsAir
- AtmosphericsOxygen
- AtmosphericsNitrogen
- AtmosphericsCarbonDioxide
- type: CrewMonitoringConsole
- type: DeviceNetworkComponent
deviceNetId: Wireless
- type: WirelessNetworkConnection
range: 500