From 7859a7053e1710ac09c0a60a57d149fa07afcf68 Mon Sep 17 00:00:00 2001 From: Daniel Mendes <70096037+Steelux8@users.noreply.github.com> Date: Sun, 13 Aug 2023 14:30:43 +0100 Subject: 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> --- .../recipe/RecipeLoader_NuclearFuelProcessing.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/loaders') diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_NuclearFuelProcessing.java b/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_NuclearFuelProcessing.java index e088b50880..b39ceb8e3a 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_NuclearFuelProcessing.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_NuclearFuelProcessing.java @@ -232,8 +232,8 @@ public class RecipeLoader_NuclearFuelProcessing { */ CORE.RA.addFissionFuel( - FLUORIDES.ZIRCONIUM_TETRAFLUORIDE.getFluidStack(1000), - NUCLIDE.LiFBeF2UF4.getFluidStack(9000), + FLUORIDES.ZIRCONIUM_TETRAFLUORIDE.getFluidStack(100), + NUCLIDE.LiFBeF2UF4.getFluidStack(900), null, null, null, @@ -241,9 +241,9 @@ public class RecipeLoader_NuclearFuelProcessing { null, null, null, - NUCLIDE.LiFBeF2ZrF4UF4.getFluidStack(10000), + NUCLIDE.LiFBeF2ZrF4UF4.getFluidStack(1000), null, - 20 * 60 * 120, // Duration + 20 * 60 * 12, // Duration MaterialUtils.getVoltageForTier(5)); // LiFBeF2ThF4UF4 @@ -258,8 +258,8 @@ public class RecipeLoader_NuclearFuelProcessing { */ CORE.RA.addFissionFuel( - FLUORIDES.THORIUM_TETRAFLUORIDE.getFluidStack(1000), - NUCLIDE.LiFBeF2UF4.getFluidStack(9000), + FLUORIDES.THORIUM_TETRAFLUORIDE.getFluidStack(100), + NUCLIDE.LiFBeF2UF4.getFluidStack(900), null, null, null, @@ -267,9 +267,9 @@ public class RecipeLoader_NuclearFuelProcessing { null, null, null, - NUCLIDE.LiFBeF2ThF4UF4.getFluidStack(10000), + NUCLIDE.LiFBeF2ThF4UF4.getFluidStack(1000), null, - 20 * 60 * 150, // Duration + 20 * 60 * 15, // Duration MaterialUtils.getVoltageForTier(5)); } } -- cgit