Vent and Siphon visualizer and icon fixes (#2288)

* Half pipes

* PipeVisualizer pipeRSI field

* Vent and Siphon visualizer fixes

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-10-18 04:13:06 -06:00
committed by GitHub
parent 32138958ce
commit f01a50012e
7 changed files with 93 additions and 20 deletions

View File

@@ -57,6 +57,7 @@ namespace Content.Shared.GameObjects.Components.Atmos
public enum PipeShape
{
Half,
Straight,
Bend,
TJunction,
@@ -126,6 +127,11 @@ namespace Content.Shared.GameObjects.Components.Atmos
{
return pipeDirection switch
{
PipeDirection.North => PipeShape.Half,
PipeDirection.South => PipeShape.Half,
PipeDirection.East => PipeShape.Half,
PipeDirection.West => PipeShape.Half,
PipeDirection.Lateral => PipeShape.Straight,
PipeDirection.Longitudinal => PipeShape.Straight,