Buffed the output of plasma heater to nearly double to allow self-sustained loops with fusion reactors.
This commit is contained in:
parent
85f0b1619a
commit
324eb54cd0
1 changed files with 5 additions and 2 deletions
|
@ -67,11 +67,14 @@ public class TilePlasmaHeater extends TileElectrical implements IPacketReceiver,
|
|||
{
|
||||
if (energy.checkExtract())
|
||||
{
|
||||
if (tankInputDeuterium.getFluidAmount() >= plasmaHeatAmount && tankInputTritium.getFluidAmount() >= plasmaHeatAmount)
|
||||
// Creates plasma if there is enough Deuterium, Tritium AND Plasma output is not full.
|
||||
if (tankInputDeuterium.getFluidAmount() >= plasmaHeatAmount &&
|
||||
tankInputTritium.getFluidAmount() >= plasmaHeatAmount &&
|
||||
tankOutput.getFluidAmount() < tankOutput.getCapacity())
|
||||
{
|
||||
tankInputDeuterium.drain(plasmaHeatAmount, true);
|
||||
tankInputTritium.drain(plasmaHeatAmount, true);
|
||||
tankOutput.fill(new FluidStack(Atomic.FLUID_PLASMA, plasmaHeatAmount), true);
|
||||
tankOutput.fill(new FluidStack(Atomic.FLUID_PLASMA, tankOutput.getCapacity()), true);
|
||||
energy.extractEnergy();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue