mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
@@ -51,6 +51,7 @@ public sealed partial class GasPipeManifoldSystem : EntitySystem
|
||||
return;
|
||||
|
||||
var pipeNames = ent.Comp.InletNames.Union(ent.Comp.OutletNames);
|
||||
var pipeCount = pipeNames.Count();
|
||||
|
||||
foreach (var pipeName in pipeNames)
|
||||
{
|
||||
@@ -58,8 +59,8 @@ public sealed partial class GasPipeManifoldSystem : EntitySystem
|
||||
continue;
|
||||
|
||||
var pipeLocal = pipe.Air.Clone();
|
||||
pipeLocal.Multiply(pipe.Volume / pipe.Air.Volume);
|
||||
pipeLocal.Volume = pipe.Volume;
|
||||
pipeLocal.Multiply(pipe.Volume * pipeCount / pipe.Air.Volume);
|
||||
pipeLocal.Volume = pipe.Volume * pipeCount;
|
||||
|
||||
args.GasMixtures.Add((Name(ent), pipeLocal));
|
||||
break;
|
||||
|
||||
@@ -366,31 +366,37 @@
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: South
|
||||
pipeLayer: 0
|
||||
volume: 50
|
||||
south1:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: South
|
||||
pipeLayer: 1
|
||||
volume: 50
|
||||
south2:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: South
|
||||
pipeLayer: 2
|
||||
volume: 50
|
||||
north0:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: North
|
||||
pipeLayer: 0
|
||||
volume: 50
|
||||
north1:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: North
|
||||
pipeLayer: 1
|
||||
volume: 50
|
||||
north2:
|
||||
!type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: North
|
||||
pipeLayer: 2
|
||||
volume: 50
|
||||
- type: GasPipeManifold
|
||||
- type: AtmosMonitoringConsoleDevice
|
||||
navMapBlip: GasPipeManifold
|
||||
|
||||
Reference in New Issue
Block a user