Pipe Sprites & Visualizer (#1954)

* Pipe sprites

* pipe copyright

* SharedPipeComponent

* Pipe Visualizer draft

* missing longitudinal pipe sprites

* expanded rsi states

* pipe prototype fixes

* Fixed pipe visualizer

* ConduitLayer enum

* PipeVisualizer update

* halfpipe sprites

* yaml unneeded proto removal

* PipeVisualizer uses its own RSI

* Removes unused field from PipeVisualizer

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-08-30 18:13:15 -06:00
committed by GitHub
parent b83c8126d7
commit 68ec6e6be5
43 changed files with 371 additions and 40 deletions

View File

@@ -12,32 +12,31 @@
- type: Icon
texture: Constructible/Power/eightdirwire.png
- type: Sprite
sprite: Constructible/Power/hv_cable.rsi
- type: Destructible
thresholdvalue: 100
- type: Appearance
visuals:
- type: PipeVisualizer
pipeRSI: Constructible/Atmos/pipe.rsi
- type: entity
parent: PipeBase
id: FourwayPipe
name: Fourway Pipe
components:
- type: Sprite
state: hvcable_15
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: FourWay
pipeDirection: Fourway
- type: entity
parent: PipeBase
id: LongitudinalPipe
name: Longitudinal Pipe
components:
- type: Sprite
state: hvcable_3
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: Longitudinal
pipeDirection: Longitudinal

View File

@@ -0,0 +1,196 @@
{
"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":"pipeEast2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNorth2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSouth2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeWest2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeFourway1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeFourway2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeFourway3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeLateral1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeLateral2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeLateral3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeLongitudinal1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeLongitudinal2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeLongitudinal3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNEBend1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNEBend2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNEBend3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNWBend1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNWBend2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeNWBend3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSEBend1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSEBend2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSEBend3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSWBend1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSWBend2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeSWBend3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTEast1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTEast2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTEast3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTNorth1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTNorth2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTNorth3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTSouth1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTSouth2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTSouth3",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTWest1",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTWest2",
"directions":1,
"delays":[ [ 1.0 ] ]
},
{
"name":"pipeTWest3",
"directions":1,
"delays":[ [ 1.0 ] ]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B