From 4647e2e8be384582ad09c4f97a4c50dff4e05e4b Mon Sep 17 00:00:00 2001 From: BlueWeabo Date: Fri, 28 Jul 2023 13:13:57 +0300 Subject: Add more API to ParallelHelper and rework OverclockCalculator (#2185) * refactor OC calc * somewhat refactor parallel helper * fix PA not OCing correctly no clue why it wasn't using super and then setting the duration again. * make use of new api to make fusion cleaner * make batch mode actually dynamic * add another reason for 0 parallel * move variables around to try and group them together * address reviews * add overclocking past 1 tick by adding parallels * add null check and make a basic calculator to prevent npe * check null recipeMap supplier * address reviews * addressing of reviews * make it possible to call some OverclockCalculator methods through static methods * address reviews * make sure one doesn't get too many OCs when calculatin under 1 tick * add api for custom duration under one tick and fix batch mode doing 0 ticking * fix not calculating duration under 1 tick correctly * spotless * try to have correct eut consumption * address review * make sure mk5 fusion is said in nei * fix eutCalculating under one tick way too much and address reviews * remove roundUp voltage --- src/main/resources/assets/gregtech/lang/en_US.lang | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/resources') diff --git a/src/main/resources/assets/gregtech/lang/en_US.lang b/src/main/resources/assets/gregtech/lang/en_US.lang index ba2fbde364..837641d937 100644 --- a/src/main/resources/assets/gregtech/lang/en_US.lang +++ b/src/main/resources/assets/gregtech/lang/en_US.lang @@ -352,6 +352,7 @@ GT5U.gui.text.insufficient_power=§7Recipe needs more power to start. Required: GT5U.gui.text.insufficient_heat=§7Recipe needs more heat to start. Required: %s K (%s§7) GT5U.gui.text.insufficient_machine_tier=§7Recipe needs higher structure tier. Required: %s GT5U.gui.text.insufficient_startup_power=§7Recipe needs higher startup power. Required: %s +GT5U.gui.text.internal_error=§4Recipe was found, but had internal error GT5U.item.programmed_circuit.select.header=Reprogram Circuit -- cgit