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

@@ -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: