## This file contains duplicated pipe prototypes with
## different layer offsets to faciliate mapping

# Layer 1
- type: entity
  abstract: true
  id: GasPipeLayerAlt1
  components:
  - type: AtmosPipeLayers
    pipeLayer: 1

# Layer 2
- type: entity
  abstract: true
  id: GasPipeLayerAlt2
  components:
  - type: AtmosPipeLayers
    pipeLayer: 2

# GasPipeStraight
- type: entity
  parent: [GasPipeLayerAlt1, GasPipeStraight]
  id: GasPipeStraightAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt1
    sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
  - type: Construction
    node: straightAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeStraight]
  id: GasPipeStraightAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt2
    sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
  - type: Construction
    node: straightAlt2

# GasPipeHalf
- type: entity
  parent: [GasPipeLayerAlt1, GasPipeHalf]
  id: GasPipeHalfAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt1
    sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
  - type: Construction
    node: halfAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeHalf]
  id: GasPipeHalfAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt2
    sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
  - type: Construction
    node: halfAlt2

# GasPipeBend
- type: entity
  parent: [GasPipeLayerAlt1, GasPipeBend]
  id: GasPipeBendAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt1
    sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
  - type: Construction
    node: bendAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeBend]
  id: GasPipeBendAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt2
    sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
  - type: Construction
    node: bendAlt2

# GasPipeTJunction
- type: entity
  parent: [GasPipeLayerAlt1, GasPipeTJunction]
  id: GasPipeTJunctionAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt1
    sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
  - type: Construction
    node: tjunctionAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeTJunction]
  id: GasPipeTJunctionAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt2
    sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
  - type: Construction
    node: tjunctionAlt2

# GasPipeFourway
- type: entity
  parent: [GasPipeLayerAlt1, GasPipeFourway]
  id: GasPipeFourwayAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt1
    sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
  - type: Construction
    node: fourwayAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeFourway]
  id: GasPipeFourwayAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    drawdepth: ThinPipeAlt2
    sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
  - type: Construction
    node: fourwayAlt2

# GasPressurePump

- type: entity
  parent: [GasPipeLayerAlt1, GasPressurePump]
  id: GasPressurePumpAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpPressure
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: pressurepumpAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPressurePump]
  id: GasPressurePumpAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpPressure
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: pressurepumpAlt2

# GasVolumePump

- type: entity
  parent: [GasPipeLayerAlt1, GasVolumePump]
  id: GasVolumePumpAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpVolume
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: volumepumpAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasVolumePump]
  id: GasVolumePumpAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpVolume
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: volumepumpAlt2

# GasPassiveGate

- type: entity
  parent: [GasPipeLayerAlt1, GasPassiveGate]
  id: GasPassiveGateAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpPassiveGate
      map: [ "enum.SubfloorLayers.FirstLayer" ]
  - type: Construction
    node: passivegateAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPassiveGate]
  id: GasPassiveGateAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpPassiveGate
      map: [ "enum.SubfloorLayers.FirstLayer" ]
  - type: Construction
    node: passivegateAlt2

# GasValve

- type: entity
  parent: [GasPipeLayerAlt1, GasValve]
  id: GasValveAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpManualValve
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: valveAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasValve]
  id: GasValveAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpManualValve
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: valveAlt2

# SignalControlledValve

- type: entity
  parent: [GasPipeLayerAlt1, SignalControlledValve]
  id: SignalControlledValveAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpSignalValve
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: signalvalveAlt1

- type: entity
  parent: [GasPipeLayerAlt2, SignalControlledValve]
  id: SignalControlledValveAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpSignalValve
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: signalvalveAlt2

# GasPipeSensor

- type: entity
  parent: [GasPipeLayerAlt1, GasPipeSensor]
  id: GasPipeSensorAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded
  - type: Construction
    node: sensorAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeSensor]
  id: GasPipeSensorAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded
  - type: Construction
    node: sensorAlt2

# GasPipeSensorDistribution

- type: entity
  parent: [GasPipeLayerAlt1, GasPipeSensorDistribution]
  id: GasPipeSensorDistributionAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeSensorDistribution]
  id: GasPipeSensorDistributionAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

# GasPipeSensorWaste

- type: entity
  parent: [GasPipeLayerAlt1, GasPipeSensorWaste]
  id: GasPipeSensorWasteAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeSensorWaste]
  id: GasPipeSensorWasteAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

# GasPipeSensorMixedAir

- type: entity
  parent: [GasPipeLayerAlt1, GasPipeSensorMixedAir]
  id: GasPipeSensorMixedAirAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeSensorMixedAir]
  id: GasPipeSensorMixedAirAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

# GasPipeSensorTEGHot

- type: entity
  parent: [GasPipeLayerAlt1, GasPipeSensorTEGHot]
  id: GasPipeSensorTEGHotAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeSensorTEGHot]
  id: GasPipeSensorTEGHotAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

# GasPipeTEGCold

- type: entity
  parent: [GasPipeLayerAlt1, GasPipeSensorTEGCold]
  id: GasPipeSensorTEGColdAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

- type: entity
  parent: [GasPipeLayerAlt2, GasPipeSensorTEGCold]
  id: GasPipeSensorTEGColdAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/gas_pipe_sensor_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      map: [ "enum.PipeVisualLayers.Pipe" ]
      state: pipeStraight
    - map: ["base"]
      state: base
    - map: [ "enum.PowerDeviceVisualLayers.Powered" ]
      state: lights
      shader: unshaded

# GasPressureRegulator

- type: entity
  parent: [GasPipeLayerAlt1, GasPressureRegulator]
  id: GasPressureRegulatorAlt1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt1.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt1.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpPressureRegulator
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: pressureregulatorAlt1

- type: entity
  parent: [GasPipeLayerAlt2, GasPressureRegulator]
  id: GasPressureRegulatorAlt2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: Structures/Piping/Atmospherics/pump_alt2.rsi
    layers:
    - sprite: Structures/Piping/Atmospherics/pipe_alt2.rsi
      state: pipeStraight
      map: [ "enum.PipeVisualLayers.Pipe" ]
    - state: pumpPressureRegulator
      map: [ "enum.SubfloorLayers.FirstLayer", "enabled" ]
  - type: Construction
    node: pressureregulatorAlt2
