* PipeNode

* Pipe prototypes

* Fixes Default NodeGroup not being registered by NodeGroupFactory

* GasNet

* PumpComponent

* IPipeNet

* PipeComponent

* misc naming, yaml

* PipeComponent rework

* PipeNet gas transfer from pipes

* PipeNet correctly combines gas on combining with other group

* Client ignores piping components

* AfterRemake

* PipeNet remake simplification

* IGasMixtureHolder on PipeComponent, IPipeNet

* PipeContainerComponent

* BasePump

* DebugPump

* IgnoredComponent fix

* Pipe LocalAir and Air

* comments

* Pump fix

* PipeNet fix

* name simplification

* PipeDirection name changes

* BaseVentComponent and DebugVentComponent

* Moves Pipe to own file

* DebugVentComponent moved to own file

* BaseScrubberComponent

* DebugScrubberComponent

* IgnoredComponents update

* scrubber prototype

* vent prototype fix

* comments

* Removes vent and scrubber PipeDirection check

* PipeContainer, Pipe, and PipeNode refactor

* Yaml cleanup

* pump prototype fix

* Removes AssumeAir usage from old IGasMixtureHolders

* Simplfies Vent & Scrubber to use AtmosHelper methods

* Vents and scrubbers invalidate the coordinate they changed the gas of

* UpdatedPipingComponent

* ScrubberComponent renamed to SiphonComponent

* Removes PumpSystem

* Removes framTime from UpdatedPiping

* PipeNetDevices

* PipeNetDevice updated by GridAtmosphereComponent

* PipeNets react from update in GridAtmosphereComponent

* GridAtmosphereComponent stores PipeNets/PipeNetDevices to be updated in queue

* diff fix

* Removes debug gas starting in pipes

* type safety in IPipeNet when combining groups

* null checks

* GridAtmos stores PipeNets and PipeNetDevices in List

* comments

* rogue curly bracket

* ProcessPipeNets update fix

* RemovePipeNet fix

* PipeNet update() unique index

* fix diff

* Integration test fixes

* Error Logging

* error fix

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-08-27 09:45:27 -06:00
committed by GitHub
parent 548ef3dedb
commit 7b12d4e08c
19 changed files with 833 additions and 11 deletions

View File

@@ -0,0 +1,43 @@
- type: entity
abstract: true
id: PipeBase
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: SnapGrid
offset: Center
- type: Icon
texture: Constructible/Power/eightdirwire.png
- type: Sprite
sprite: Constructible/Power/hv_cable.rsi
- type: Destructible
thresholdvalue: 100
- type: entity
parent: PipeBase
id: FourwayPipe
name: Fourway Pipe
components:
- type: Sprite
state: hvcable_15
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
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

View File

@@ -0,0 +1,36 @@
- type: entity
abstract: true
id: PumpBase
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: SnapGrid
offset: Center
- type: Icon
texture: Constructible/Power/eightdirwire.png
- type: Sprite
sprite: Constructible/Power/mv_cable.rsi
- type: Destructible
thresholdvalue: 100
- type: entity
parent: PumpBase
id: NorthFromSouthPipePump
name: North from south pipe pump
components:
- type: Sprite
state: mvcable_3
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: North
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: South
- type: DebugPump
outletDirection: North
inletDirection: South

View File

@@ -0,0 +1,30 @@
- type: entity
abstract: true
id: ScrubberBase
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: SnapGrid
offset: Center
- type: Icon
texture: Constructible/Power/eightdirwire.png
- type: Sprite
texture: Constructible/Power/eightdirwire.png
- type: Destructible
thresholdvalue: 100
- type: entity
parent: ScrubberBase
id: FromSouthScrubber
name: From South Scrubber
components:
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroID: Pipe
pipeDirection: South
- type: DebugSiphon
scrubberOutletDirection: South

View File

@@ -0,0 +1,30 @@
- type: entity
abstract: true
id: VentBase
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: SnapGrid
offset: Center
- type: Icon
texture: Constructible/Power/eightdirwire.png
- type: Sprite
texture: Constructible/Power/eightdirwire.png
- type: Destructible
thresholdvalue: 100
- type: entity
parent: VentBase
id: FromSouthVent
name: From South Vent
components:
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: South
- type: DebugVent
ventInletDirection: South