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:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user