Flipped mixers/filters + proper mixer sprite (#5277)
* bart simpson * fixes + jank * figsed
@@ -67210,7 +67210,7 @@ entities:
|
||||
- uid: 6376
|
||||
type: GasMixer
|
||||
components:
|
||||
- rot: 3.141592653589793 rad
|
||||
- rot: -1.5707963267948966 rad
|
||||
pos: 41.5,17.5
|
||||
parent: 853
|
||||
type: Transform
|
||||
@@ -67224,7 +67224,7 @@ entities:
|
||||
- uid: 6377
|
||||
type: GasMixer
|
||||
components:
|
||||
- rot: 3.141592653589793 rad
|
||||
- rot: -1.5707963267948966 rad
|
||||
pos: 37.5,17.5
|
||||
parent: 853
|
||||
type: Transform
|
||||
@@ -67238,7 +67238,7 @@ entities:
|
||||
- uid: 6378
|
||||
type: GasFilter
|
||||
components:
|
||||
- rot: 3.141592653589793 rad
|
||||
- rot: -1.5707963267948966 rad
|
||||
pos: 39.5,18.5
|
||||
parent: 853
|
||||
type: Transform
|
||||
@@ -67249,7 +67249,7 @@ entities:
|
||||
- uid: 6379
|
||||
type: GasFilter
|
||||
components:
|
||||
- rot: 3.141592653589793 rad
|
||||
- rot: -1.5707963267948966 rad
|
||||
pos: 43.5,18.5
|
||||
parent: 853
|
||||
type: Transform
|
||||
@@ -67804,7 +67804,7 @@ entities:
|
||||
- uid: 6439
|
||||
type: GasFilter
|
||||
components:
|
||||
- rot: 3.141592653589793 rad
|
||||
- rot: -1.5707963267948966 rad
|
||||
pos: 47.5,18.5
|
||||
parent: 853
|
||||
type: Transform
|
||||
|
||||
@@ -11,15 +11,15 @@
|
||||
inlet:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: West
|
||||
pipeDirection: North
|
||||
filter:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: South
|
||||
pipeDirection: West
|
||||
outlet:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: East
|
||||
pipeDirection: South
|
||||
|
||||
- type: entity
|
||||
parent: GasTrinaryBase
|
||||
@@ -36,6 +36,7 @@
|
||||
layers:
|
||||
- sprite: Structures/Piping/Atmospherics/pipe.rsi
|
||||
state: pipeTJunction
|
||||
rotation: -90 # fuck you!!! who cares
|
||||
map: [ "enum.PipeColorVisualizer+Layers.Pipe" ]
|
||||
- state: gasFilter
|
||||
map: [ "enum.SubFloorShowLayerVisualizer+Layers.FirstLayer", "enum.GasFilterVisualizer+Layers.Enabled" ]
|
||||
@@ -52,6 +53,51 @@
|
||||
- key: enum.GasFilterUiKey.Key
|
||||
type: GasFilterBoundUserInterface
|
||||
- type: GasFilter
|
||||
- type: Flippable
|
||||
mirrorEntity: GasFilterFlipped
|
||||
|
||||
- type: entity
|
||||
parent: GasFilter
|
||||
id: GasFilterFlipped
|
||||
name: gas filter
|
||||
suffix: Flipped
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Piping/Atmospherics/gasfilter.rsi
|
||||
layers:
|
||||
- sprite: Structures/Piping/Atmospherics/pipe.rsi
|
||||
state: pipeTJunction
|
||||
rotation: -90
|
||||
map: [ "enum.PipeColorVisualizer+Layers.Pipe" ]
|
||||
- state: gasFilterF
|
||||
map: [ "enum.SubFloorShowLayerVisualizer+Layers.FirstLayer", "enum.GasFilterVisualizer+Layers.Enabled" ]
|
||||
- type: Flippable
|
||||
mirrorEntity: GasFilter
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: SubFloorShowLayerVisualizer
|
||||
- type: PipeConnectorVisualizer
|
||||
- type: PipeColorVisualizer
|
||||
- type: GasFilterVisualizer
|
||||
disabledState: gasFilterF
|
||||
enabledState: gasFilterFOn
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
inlet:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: South
|
||||
filter:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: West
|
||||
outlet:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: North
|
||||
|
||||
- type: entity
|
||||
parent: GasTrinaryBase
|
||||
@@ -61,15 +107,15 @@
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
# TODO ATMOS Give this its actual sprite...
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Piping/Atmospherics/gasfilter.rsi
|
||||
sprite: Structures/Piping/Atmospherics/gasmixer.rsi
|
||||
layers:
|
||||
- sprite: Structures/Piping/Atmospherics/pipe.rsi
|
||||
state: pipeTJunction
|
||||
rotation: -90
|
||||
map: [ "enum.PipeColorVisualizer+Layers.Pipe" ]
|
||||
- state: gasFilter
|
||||
- state: gasMixer
|
||||
map: [ "enum.SubFloorShowLayerVisualizer+Layers.FirstLayer" ]
|
||||
- type: Appearance
|
||||
visuals:
|
||||
@@ -83,3 +129,40 @@
|
||||
- type: GasMixer
|
||||
inletOne: inlet
|
||||
inletTwo: filter
|
||||
- type: Flippable
|
||||
mirrorEntity: GasMixerFlipped
|
||||
|
||||
- type: entity
|
||||
parent: GasMixer
|
||||
id: GasMixerFlipped
|
||||
name: gas mixer
|
||||
suffix: Flipped
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Piping/Atmospherics/gasmixer.rsi
|
||||
layers:
|
||||
- sprite: Structures/Piping/Atmospherics/pipe.rsi
|
||||
state: pipeTJunction
|
||||
rotation: -90
|
||||
map: [ "enum.PipeColorVisualizer+Layers.Pipe" ]
|
||||
- state: gasMixerF
|
||||
map: [ "enum.SubFloorShowLayerVisualizer+Layers.FirstLayer", "enum.GasFilterVisualizer+Layers.Enabled" ]
|
||||
- type: Flippable
|
||||
mirrorEntity: GasMixer
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
inlet:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: South
|
||||
filter:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: West
|
||||
outlet:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: North
|
||||
|
||||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 849 B |
|
After Width: | Height: | Size: 850 B |
|
After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 6.6 KiB |
@@ -1,20 +1,29 @@
|
||||
{
|
||||
"version":1,
|
||||
"size":{
|
||||
"x":32,
|
||||
"y":32
|
||||
},
|
||||
"license":"CC-BY-SA-3.0",
|
||||
"copyright":"Taken from https://github.com/tgstation/tgstation at commit 57cd1d59ca019dd0e7811ac451f295f818e573da",
|
||||
"states":[
|
||||
{
|
||||
"name":"gasFilter",
|
||||
"directions":4
|
||||
},
|
||||
{
|
||||
"name":"gasFilterOn",
|
||||
"directions":4,
|
||||
"delays":[ [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ] ]
|
||||
}
|
||||
]
|
||||
}
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/tgstation/tgstation at commit 57cd1d59ca019dd0e7811ac451f0.295f818e573da",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "gasFilter",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "gasFilterF",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "gasFilterOn",
|
||||
"directions": 4,
|
||||
"delays": [ [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ] ]
|
||||
},
|
||||
{
|
||||
"name": "gasFilterFOn",
|
||||
"directions": 4,
|
||||
"delays": [ [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ], [ 0.2, 0.2, 0.2, 0.2 ] ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 990 B |
|
After Width: | Height: | Size: 973 B |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/tgstation/tgstation at commit 57cd1d59ca019dd0e7811ac451f0.295f818e573da",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "gasMixer",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "gasMixerF",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "gasMixerOn",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gasMixerFOn",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||