aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorDaniel Mendes <70096037+Steelux8@users.noreply.github.com>2023-06-07 09:20:52 +0100
committerGitHub <noreply@github.com>2023-06-07 10:20:52 +0200
commit776b26be55c726a240ae227e60892d44addc0d28 (patch)
tree973446fe0188e117c896418273d65c31d5d55fc4 /src/main/java/gtPlusPlus/xmod/gregtech/common
parent058432c024f1ab19571d74b20ca9155544344afb (diff)
downloadGT5-Unofficial-776b26be55c726a240ae227e60892d44addc0d28.tar.gz
GT5-Unofficial-776b26be55c726a240ae227e60892d44addc0d28.tar.bz2
GT5-Unofficial-776b26be55c726a240ae227e60892d44addc0d28.zip
Change XL Plasma Penalty Formula and Fuel Values for New Plasmas (#656)
* Add plasma fuel value generation for Runite * Change XL penalty formula's magic value * Add new fuel values for the new plasmas * spotlessApply (#657) 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/gtPlusPlus/xmod/gregtech/common')
-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 ee61956770..108787f958 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
@@ -159,9 +159,9 @@ public class GT_MTE_LargeTurbine_Plasma extends GregtechMetaTileEntity_LargerTur
// Reduce produced power depending on the ratio between fuel value and turbine EU/t with the following
// formula:
- // EU/t = EU/t * MIN(1, ( ( (FuelValue / 100) ^ 2 ) / EUPerTurbine))
+ // EU/t = EU/t * MIN(1, ( ( (FuelValue / 200) ^ 2 ) / EUPerTurbine))
int fuelValue = getFuelValue(new FluidStack(tFluids.get(0), 0));
- float magicValue = (fuelValue * 0.01f) * (fuelValue * 0.01f);
+ float magicValue = (fuelValue * 0.005f) * (fuelValue * 0.005f);
float efficiencyLoss = Math.min(1.0f, magicValue / euPerTurbine);
newPower *= efficiencyLoss;