aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util
diff options
context:
space:
mode:
authorDaniel Mendes <70096037+Steelux8@users.noreply.github.com>2023-08-13 14:30:43 +0100
committerGitHub <noreply@github.com>2023-08-13 14:30:43 +0100
commit7859a7053e1710ac09c0a60a57d149fa07afcf68 (patch)
treeb503d79b9354cca6f2e02251c333ecbed64765f7 /src/main/java/gregtech/api/util
parent7cd31843a62de11e0c0ebcf115c30b5ff5d1cabd (diff)
downloadGT5-Unofficial-7859a7053e1710ac09c0a60a57d149fa07afcf68.tar.gz
GT5-Unofficial-7859a7053e1710ac09c0a60a57d149fa07afcf68.tar.bz2
GT5-Unofficial-7859a7053e1710ac09c0a60a57d149fa07afcf68.zip
More LFTR Chain Fixes (#716)
* Fix LFTR powergen without fuel - Override "process" from ProcessingLogic to execute the new "resetMultiProcessing" method before returning NO_Recipe; - Add new "resetMultiProcessing" method to reset EU/t value, progress, recipe and shut down the LFTR when inputs aren't enough. * Fix Sparge Tower OC and 10x speed bonus - Changed voltage calculation to actually allow overclocking with 2 energy hatches, which the Sparge Tower already accepted; - Removed the 10x speed bonus the multi had for seemingly no reason, and reduced recipe time by 10x, from 250s to 25s, on all of its recipes to compensate. * Fix Sparge Tower energy handling - Set lEUt to negative to properly consume energy, since the old logic used a positive lEUt value, which corresponds to EU generation, not consumption. * Tweaked Fuel Refinery required hatches - Removed the Output Bus requirement, as there are no item outputs in this recipe map; - Changed the fluid hatch count to minimum 2 input and 1 output, which is enough for Refinery recipes. Left the maximum at the previous 4 input and 2 output, to keep existing structures working and for setups that produce two fuels per Refinery. * Downscaled longest Refinery recipes - Changed the two very long Refinery recipes, so that fluid amounts are 10x lower in input and output, alongside a 10x smaller duration, to make them more manageable, and less punishing if the multi voids for some reason. * Apply spotless * Requested fixes * spotlessApply (#720) Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r--src/main/java/gregtech/api/util/GasSpargingRecipe.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/util/GasSpargingRecipe.java b/src/main/java/gregtech/api/util/GasSpargingRecipe.java
index 304dd24384..55eb828e3e 100644
--- a/src/main/java/gregtech/api/util/GasSpargingRecipe.java
+++ b/src/main/java/gregtech/api/util/GasSpargingRecipe.java
@@ -28,7 +28,7 @@ public class GasSpargingRecipe implements Comparable<GasSpargingRecipe> {
aOutputs = ArrayUtils.insertElementAtIndex(aOutputs, 1, aSpargedFuel);
mFluidOutputs = aOutputs;
mMaxOutputQuantity = aMaxOutputQuantity;
- mDuration = 500 * 10; // Actual recipe time is 10x less than this number, not sure why
+ mDuration = 500;
mEUt = MaterialUtils.getVoltageForTier(5);
}