Atmospheric alerts computer (#25938)

* Atmospheric alerts computer

* Moved components, restricted access to them

* Minor tweaks

* The screen will now turn off when the computer is not powered

* Bug fix

* Adjusted label

* Updated to latest master version
This commit is contained in:
chromiumboy
2024-09-04 20:13:17 -05:00
committed by GitHub
parent 04bb4b53a5
commit 63ba0f61ea
16 changed files with 1711 additions and 6 deletions

View File

@@ -21,8 +21,8 @@
- type: entity
parent: BaseComputerCircuitboard
id: AlertsComputerCircuitboard
name: alerts computer board
description: A computer printed circuit board for an alerts computer.
name: atmospheric alerts computer board
description: A computer printed circuit board for an atmospheric alerts computer.
components:
- type: ComputerBoard
prototype: ComputerAlert

View File

@@ -1,8 +1,8 @@
- type: entity
parent: BaseComputer
id: ComputerAlert
name: alerts computer
description: Used to access the station's automated alert system.
name: atmospheric alerts computer
description: Used to access the station's atmospheric automated alert system.
components:
- type: Computer
board: AlertsComputerCircuitboard
@@ -13,9 +13,33 @@
- map: ["computerLayerKeyboard"]
state: generic_keyboard
- map: ["computerLayerScreen"]
state: alert-2
state: alert-0
- map: ["computerLayerKeys"]
state: atmos_key
- type: GenericVisualizer
visuals:
enum.ComputerVisuals.Powered:
computerLayerScreen:
True: { visible: true, shader: unshaded }
False: { visible: false }
computerLayerKeys:
True: { visible: true, shader: unshaded }
False: { visible: true, shader: shaded }
enum.AtmosAlertsComputerVisuals.ComputerLayerScreen:
computerLayerScreen:
0: { state: alert-0 }
1: { state: alert-0 }
2: { state: alert-1 }
3: { state: alert-2 }
4: { state: alert-2 }
- type: AtmosAlertsComputer
- type: ActivatableUI
singleUser: true
key: enum.AtmosAlertsComputerUiKey.Key
- type: UserInterface
interfaces:
enum.AtmosAlertsComputerUiKey.Key:
type: AtmosAlertsComputerBoundUserInterface
- type: entity
parent: BaseComputer

View File

@@ -53,6 +53,8 @@
- AirAlarm
- type: AtmosDevice
- type: AirAlarm
- type: AtmosAlertsDevice
group: AirAlarm
- type: Clickable
- type: InteractionOutline
- type: UserInterface

View File

@@ -42,6 +42,8 @@
- type: Clickable
- type: InteractionOutline
- type: FireAlarm
- type: AtmosAlertsDevice
group: FireAlarm
- type: ContainerFill
containers:
board: [ FireAlarmElectronics ]