Make manual valves work (#6121)

* Make manual valves work

* Change some GasValveSystem lookups
This commit is contained in:
wrexbe
2022-01-15 05:18:45 -08:00
committed by GitHub
parent a3c1d8f22a
commit 94207a42e9
7 changed files with 102 additions and 17 deletions

View File

@@ -116,20 +116,29 @@
- sprite: Structures/Piping/Atmospherics/pipe.rsi
state: pipeStraight
map: [ "enum.PipeColorVisualizer+Layers.Pipe" ]
- state: pumpPassiveGate
map: [ "enum.SubFloorShowLayerVisualizer+Layers.FirstLayer" ]
- state: pumpManualValve
map: [ "enum.SubFloorShowLayerVisualizer+Layers.FirstLayer", "enum.GasValveVisualizer+Layers.Enabled" ]
- type: Appearance
visuals:
- type: SubFloorShowLayerVisualizer
- type: PipeConnectorVisualizer
- type: PipeColorVisualizer
- type: GasValveVisualizer
disabledState: pumpManualValve
enabledState: pumpManualValveOn
- type: GasValve
- type: NodeContainer
nodes:
pipe:
inlet:
!type:PipeNode
nodeGroupID: Pipe
pipeDirection: Longitudinal
pipeDirection: North
volume: 100
outlet:
!type:PipeNode
nodeGroupID: Pipe
pipeDirection: South
volume: 100
- type: entity
parent: GasBinaryBase

View File

@@ -15,6 +15,10 @@
"name":"pumpManualValve",
"directions":4
},
{
"name":"pumpManualValveOn",
"directions":4
},
{
"name":"pumpPassiveGate",
"directions":4
@@ -42,4 +46,4 @@
"delays":[ [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1 ], [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1 ], [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1 ], [ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1 ] ]
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB