diff options
author | draknyte1 <draknyte1@hotmail.com> | 2017-02-07 20:07:10 +1000 |
---|---|---|
committer | draknyte1 <draknyte1@hotmail.com> | 2017-02-07 20:07:10 +1000 |
commit | 0312241058391c6b58d5a2581e6b4b8481af7cc6 (patch) | |
tree | 34f32d8e4e780199a7b8a060ba9f41c98c6a73b8 /src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines | |
parent | 2833120d5f70cb116543eb9f3c146d3e4e598c87 (diff) | |
download | GT5-Unofficial-0312241058391c6b58d5a2581e6b4b8481af7cc6.tar.gz GT5-Unofficial-0312241058391c6b58d5a2581e6b4b8481af7cc6.tar.bz2 GT5-Unofficial-0312241058391c6b58d5a2581e6b4b8481af7cc6.zip |
+ 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.)
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMTE_NuclearReactor.java | 23 |
1 files changed, 13 insertions, 10 deletions
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 |