Rotatable Pumps (#2223)

* Pump textures

* PumpVisualizer enabled state

* Pump rotation

* Pump tests fix

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-10-12 05:02:57 -06:00
committed by GitHub
parent c904a7e9c4
commit 77fa796a3b
23 changed files with 95 additions and 165 deletions

View File

@@ -9,48 +9,35 @@
- type: Collidable
- type: SnapGrid
offset: Center
- type: Sprite
- type: Icon
sprite: Constructible/Atmos/pressurepump.rsi
state: pumpEnabledSouth2North2
- type: Appearance
visuals:
- type: PipeVisualizer
pipeRSI: Constructible/Atmos/pipe.rsi
- type: PumpVisualizer
pumpRSI: Constructible/Atmos/pressurepump.rsi
- type: Destructible
thresholdvalue: 100
resistances: metallicResistances
- type: Sprite
sprite: Constructible/Atmos/pump.rsi
- type: Icon
sprite: Constructible/Atmos/pump.rsi
- type: entity
abstract: true
parent: PumpBase
id: NorthwardLongitudinalPump
id: DebugPressurePump
name: Debug Pressure Pump
components:
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: South
pipeDirection: West
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: North
- type: entity
parent: NorthwardLongitudinalPump
id: NorthwardLongitudinalVolumePump
name: Northward Longitudinal Volume Pump
components:
- type: VolumePump
inletDirection: South
outletDirection: North
- type: entity
parent: NorthwardLongitudinalPump
id: NorthwardLongitudinalPressurePump
name: Northward Longitudinal Pressure Pump
components:
pipeDirection: East
- type: PressurePump
inletDirection: South
outletDirection: North
inletDirection: West
outletDirection: East
- type: Sprite
state: pumpPressure2
- type: Icon
state: pumpPressure2
- type: Appearance
visuals:
- type: PumpVisualizer
pumpEnabledState: pumpPressure2On