From 64c633d7486ad5975097d54c3b382763f20c4da4 Mon Sep 17 00:00:00 2001 From: vulppine Date: Tue, 23 Aug 2022 15:15:28 -0700 Subject: [PATCH] powered visuals for air sensors --- .../Entities/Structures/Specific/Atmospherics/sensor.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml b/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml index b3d052bd9a..0939dcff7d 100644 --- a/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml +++ b/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml @@ -60,6 +60,13 @@ - AirSensor - type: AccessReader access: [ [ "Atmospherics" ] ] + - type: GenericVisualizer + visuals: + enum.PowerDeviceVisuals.Powered: + sensor: + True: { state: gsensor1 } + False: { state: gsensor0 } + - type: Construction graph: AirSensor node: sensor @@ -69,6 +76,7 @@ sprite: Structures/Specific/Atmospherics/sensor.rsi layers: - state: gsensor1 + map: [ "sensor" ] - type: entity parent: BaseItem