Fixes air sensors not accessing gas mixture on construction + visual fixes (#15224)

This commit is contained in:
Menshin
2023-04-09 04:25:38 +02:00
committed by GitHub
parent 7be21a62ec
commit 409af4f481
2 changed files with 23 additions and 24 deletions

View File

@@ -62,22 +62,23 @@
- AirSensor
- type: AccessReader
access: [ [ "Atmospherics" ] ]
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
sensor:
True: { state: gsensor1 }
False: { state: gsensor0 }
- type: Construction
graph: AirSensor
node: sensor
- type: Appearance
- type: Sprite
netsync: false
drawdepth: FloorObjects
sprite: Structures/Specific/Atmospherics/sensor.rsi
layers:
- state: gsensor1
map: [ "sensor" ]
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { state: gsensor1 }
False: { state: gsensor0 }
- type: entity
parent: BaseItem