Emergency light goodies (#9352)

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
Kara
2022-07-07 09:16:48 -07:00
committed by GitHub
parent 4e0a1e4291
commit 7e34124244
15 changed files with 127 additions and 8 deletions

View File

@@ -14,11 +14,13 @@
announcement: alert-level-violet-announcement
sound: /Audio/Misc/notice1.ogg
color: Violet
emergencyLightColor: Violet
shuttleTime: 600
yellow:
announcement: alert-level-yellow-announcement
sound: /Audio/Misc/notice1.ogg
color: Yellow
emergencyLightColor: Yellow
shuttleTime: 400
red:
announcement: alert-level-red-announcement
@@ -33,6 +35,8 @@
volume: -2
disableSelection: true
color: PaleVioletRed
emergencyLightColor: PaleVioletRed
forceEnableEmergencyLights: true
delta:
announcement: alert-level-delta-announcement
selectable: false
@@ -42,6 +46,8 @@
volume: -5
disableSelection: true
color: DarkRed
emergencyLightColor: Orange
forceEnableEmergencyLights: true
shuttleTime: 1200
epsilon:
announcement: alert-level-epsilon-announcement
@@ -52,4 +58,6 @@
volume: -2
disableSelection: true
color: DarkViolet
emergencyLightColor: DarkViolet
forceEnableEmergencyLights: true
shuttleTime: 1200

View File

@@ -275,7 +275,7 @@
- type: entity
id: EmergencyLight
name: emergency light
description: A small red light with an internal battery that turns on as soon as it stops receiving any power.
description: A small light with an internal battery that turns on as soon as it stops receiving any power. Nanotrasen technology allows it to adapt its color to alert crew to the conditions of the station.
parent: AlwaysPoweredWallLight
suffix:
components:
@@ -283,6 +283,7 @@
enabled: false
radius: 10
energy: 2.5
offset: "0, 0.2"
color: "#FF4020"
mask: /Textures/Effects/LightMasks/cone.png
- type: ApcPowerReceiver
@@ -294,10 +295,19 @@
- type: Sprite
sprite: Structures/Wallmounts/Lighting/emergency_light.rsi
layers:
- state: base
map: ["enum.EmergencyLightVisualLayers.Base"]
- state: emergency_light_off
map: ["enum.EmergencyLightVisualLayers.Light"]
color: "#FF4020"
- type: Appearance
visuals:
- type: EmergencyLightVisualizer
- type: AmbientSound
sound:
path: /Audio/Ambience/Objects/alarm.ogg
volume: -18
range: 5
placement:
mode: SnapgridCenter
snap: