diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2021-11-28 18:51:39 +0000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2021-11-28 18:51:39 +0000 |
commit | f7cc1620310f08accbc6c94f1fa4ee8ea88cc59e (patch) | |
tree | 667c3d0e0a226445c56b88e150de201a238f44c1 /src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines | |
parent | d76fe6c897d28af0f99c0fa04c7de7c654497742 (diff) | |
download | GT5-Unofficial-f7cc1620310f08accbc6c94f1fa4ee8ea88cc59e.tar.gz GT5-Unofficial-f7cc1620310f08accbc6c94f1fa4ee8ea88cc59e.tar.bz2 GT5-Unofficial-f7cc1620310f08accbc6c94f1fa4ee8ea88cc59e.zip |
Updated NEI sparging handler.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java index a52b55234d..f2b0d70d65 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java @@ -570,6 +570,9 @@ public class GregtechMTE_NuclearReactor extends GregtechMeta_MultiBlockBase { private static AutoMap<Fluid> mFluorideGases; private static AutoMap<Fluid> mSpargeGases; + public final static int sMinSpargeWait = 1200; + public final static int sMaxSpargeWait = 2400; + private AutoMap<FluidStack> getByproductsOfSparge(final FluidStack spargeGas){ AutoMap<FluidStack> aOutputGases = new AutoMap<FluidStack>(); if (mNobleGases == null) { @@ -663,7 +666,7 @@ public class GregtechMTE_NuclearReactor extends GregtechMeta_MultiBlockBase { } // Set a random tick counter, count it up. if (this.mSpargeTime == 0) { - this.mSpargeTime = MathUtils.randInt(1200, 2400); + this.mSpargeTime = MathUtils.randInt(sMinSpargeWait, sMaxSpargeWait); Logger.WARNING("Set Sparge Timer to "+this.mSpargeTime); } else { |