aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities
diff options
context:
space:
mode:
authorMaxim <maxim235@gmx.de>2022-09-25 17:49:34 +0200
committerGitHub <noreply@github.com>2022-09-25 17:49:34 +0200
commit9af843c7de796a30ae2c9c6cd557a30fb10fddf0 (patch)
tree7dcf4847353011c21824545a7fb4b5c32e6901d2 /src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities
parent7c1b717a8f90397e90f0c9e70790aaed9f0e65bb (diff)
downloadGT5-Unofficial-9af843c7de796a30ae2c9c6cd557a30fb10fddf0.tar.gz
GT5-Unofficial-9af843c7de796a30ae2c9c6cd557a30fb10fddf0.tar.bz2
GT5-Unofficial-9af843c7de796a30ae2c9c6cd557a30fb10fddf0.zip
Revert "Decreased consumption by 20 since it uses the sec value per tick (#372)" (#373)
This reverts commit 7c1b717a8f90397e90f0c9e70790aaed9f0e65bb.
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java
index 06c7a32a0e..aad8b0c368 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GT_MTE_LargeTurbine_Plasma.java
@@ -183,7 +183,7 @@ public class GT_MTE_LargeTurbine_Plasma extends GregtechMetaTileEntity_LargerTur
@Override
int fluidIntoPower(ArrayList<FluidStack> aFluids, long aOptFlow, int aBaseEff, float[] flowMultipliers) {
if (aFluids.size() >= 1) {
- aOptFlow *= 40; // CHANGED THINGS HERE, check recipe runs once per 20 ticks
+ aOptFlow *= 800; // CHANGED THINGS HERE, check recipe runs once per 20 ticks
int tEU = 0;
int actualOptimalFlow = 0;
@@ -225,7 +225,7 @@ public class GT_MTE_LargeTurbine_Plasma extends GregtechMetaTileEntity_LargerTur
}
}
if (totalFlow <= 0) return 0;
- tEU = GT_Utility.safeInt((long) ((fuelValue) * (double) totalFlow));
+ tEU = GT_Utility.safeInt((long) ((fuelValue / 20D) * (double) totalFlow));
if (totalFlow == actualOptimalFlow) {
tEU = GT_Utility.safeInt((long) (aBaseEff / 10000D * tEU));