Gas injector visuals & balance (#8963)

This commit is contained in:
Leon Friedrich
2022-06-21 14:04:55 +12:00
committed by GitHub
parent a59ceabfbe
commit 229627a934
8 changed files with 66 additions and 10 deletions

View File

@@ -139,15 +139,26 @@
placement:
mode: SnapgridCenter
components:
# TODO ATMOS: Actual sprite for this.
- type: Sprite
drawdepth: FloorObjects
netsync: false
sprite: Structures/Piping/Atmospherics/outletinjector.rsi
layers:
- state: pipeHalf
sprite: Structures/Piping/Atmospherics/pipe.rsi
map: [ "enum.PipeColorVisualizer+Layers.Pipe", "enum.SubfloorLayers.FirstLayer" ]
- state: injector
- state: injector-unshaded
shader: unshaded
map: [ "unshaded" ]
color: "#990000"
- type: GenericVisualizer
visuals:
# toggle color of the unshaded light:
enum.OutletInjectorVisuals.Enabled:
unshaded:
True: { color: "#5eff5e" }
False: { color: "#990000" }
- type: Appearance
visuals:
- type: PipeColorVisualizer