From 0312241058391c6b58d5a2581e6b4b8481af7cc6 Mon Sep 17 00:00:00 2001 From: draknyte1 Date: Tue, 7 Feb 2017 20:07:10 +1000 Subject: + Set-up initial functions for the LFTR to output random nuclides when Sparged with a particular gas. + Added many more elements to my ELEMENT.java. (Incomplete for the moment, still working on it.) --- .../machines/multi/GregtechMTE_NuclearReactor.java | 23 ++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMTE_NuclearReactor.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMTE_NuclearReactor.java index c9f6bfb492..1adcb793ac 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMTE_NuclearReactor.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMTE_NuclearReactor.java @@ -34,6 +34,8 @@ public class GregtechMTE_NuclearReactor extends GT_MetaTileEntity_MultiBlockBase protected int fuelRemaining = 0; protected double realOptFlow = 0; protected boolean boostEu = false; + protected boolean heliumSparging = false; + protected boolean fluorideSparging = false; //public FluidStack mFluidOut = Materials.UUMatter.getFluid(1L); @@ -345,17 +347,9 @@ public class GregtechMTE_NuclearReactor extends GT_MetaTileEntity_MultiBlockBase if(depleteInput(tLiquid)) { //Deplete that amount //If it has a supply of this material, boostEu = true; - boostEu = depleteInput(Materials.Oxygen.getGas(2L)); + boostEu = depleteInput(Materials.Helium.getGas(50L)); + - //TODO - Recipes requires this, but I don't think we will need it for the LFTR - /*if(tFluids.contains(Materials.Lubricant.getFluid(1L))) { //Has lubricant? - //Deplete Lubricant. 1000L should = 1 hour of runtime (if baseEU = 2048) - if(mRuntime % 72 == 0 || mRuntime == 0){ - depleteInput(Materials.Lubricant.getFluid(boostEu ? 2 : 1)); - } - } else { - return false; - }*/ if (aFuel != null){ this.mLastRecipe = aFuel; @@ -430,4 +424,13 @@ public class GregtechMTE_NuclearReactor extends GT_MetaTileEntity_MultiBlockBase this.getBaseMetaTileEntity().doExplosion(explodevalue); } + + protected FluidStack[] getByproductsOfSparge(FluidStack spargeGas){ + FluidStack[] outputArrayOfGases = new FluidStack[]{}; + if (spargeGas != null){ + + } + return outputArrayOfGases; + } + } \ No newline at end of file -- cgit