aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorLyfts <127234178+Lyfts@users.noreply.github.com>2023-08-14 21:17:48 +0200
committerGitHub <noreply@github.com>2023-08-14 21:17:48 +0200
commit66b4a01cceb445b4a5beef8d29e1b974f9a55d1e (patch)
treef413035c6f011aa2ed46d58bdc3e04b66d003ca5 /src/main/java/gtPlusPlus/xmod/gregtech/common
parentbf20cf05e919ed5d447691f80e3fd0dcf88039bb (diff)
downloadGT5-Unofficial-66b4a01cceb445b4a5beef8d29e1b974f9a55d1e.tar.gz
GT5-Unofficial-66b4a01cceb445b4a5beef8d29e1b974f9a55d1e.tar.bz2
GT5-Unofficial-66b4a01cceb445b4a5beef8d29e1b974f9a55d1e.zip
Fix XL Turbine tooltip (#718)
* fix xl turbine tooltip * spotless
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/GregtechMetaTileEntity_LargerTurbineBase.java16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java
index b18abc2c84..c0dd4c1c5c 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java
@@ -103,12 +103,16 @@ public abstract class GregtechMetaTileEntity_LargerTurbineBase extends
.addInfo("Right-click with screwdriver to enable Fast Mode, to run it even faster")
.addInfo("Optimal flow will increase or decrease accordingly on mode switch")
.addInfo("Fast Mode increases speed to 48x instead of 16x, with some penalties")
- .addInfo("Maintenance problems and turbine damage happen 12x as often in Fast Mode")
- .addInfo("XL Steam Turbines can use Loose Mode with either Slow or Fast Mode")
- .addInfo("Plasma fuel efficiency is lower for high tier turbines when using low-grade plasmas")
- .addInfo("Efficiency = ((FuelValue / 100000)^2) / (EU per Turbine)")
- .addPollutionAmount(getPollutionPerSecond(null)).addInfo("Pollution is 3x higher in Fast Mode")
- .addSeparator().beginStructureBlock(7, 9, 7, false).addController("Top Middle")
+ .addInfo("Maintenance problems and turbine damage happen 12x as often in Fast Mode");
+ if (getTurbineType().contains("Steam")) {
+ tt.addInfo("XL Steam Turbines can use Loose Mode with either Slow or Fast Mode");
+ }
+ if (getTurbineType().equals("Plasma")) {
+ tt.addInfo("Plasma fuel efficiency is lower for high tier turbines when using low-grade plasmas")
+ .addInfo("Efficiency = ((FuelValue / 200000)^2) / (EU per Turbine)");
+ }
+ tt.addPollutionAmount(getPollutionPerSecond(null)).addInfo("Pollution is 3x higher in Fast Mode").addSeparator()
+ .beginStructureBlock(7, 9, 7, false).addController("Top Middle")
.addCasingInfoMin(getCasingName(), 360, false).addCasingInfoMin("Rotor Shaft", 30, false)
.addOtherStructurePart("Rotor Assembly", "Any 1 dot hint", 1).addInputBus("Any 4 dot hint (min 1)", 4)
.addInputHatch("Any 4 dot hint(min 1)", 4);