aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmerald <itsemerald@protonmail.com>2023-03-19 10:19:19 +0000
committerEmerald <itsemerald@protonmail.com>2023-03-19 10:19:19 +0000
commitd5cb21017098a6ee5294b8eecf4a57d5df1cb611 (patch)
treef73369b838fed697d82daa728153d939c67b7b15
parent0dbf7928d40309315e35344e8aa29ecc828f70a6 (diff)
downloadGT5-Unofficial-d5cb21017098a6ee5294b8eecf4a57d5df1cb611.tar.gz
GT5-Unofficial-d5cb21017098a6ee5294b8eecf4a57d5df1cb611.tar.bz2
GT5-Unofficial-d5cb21017098a6ee5294b8eecf4a57d5df1cb611.zip
Use formatNumbers for EU values in gas turbine tooltip
-rw-r--r--src/main/java/common/tileentities/GTMTE_SOFuelCellMK1.java2
-rw-r--r--src/main/java/common/tileentities/GTMTE_SOFuelCellMK2.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/common/tileentities/GTMTE_SOFuelCellMK1.java b/src/main/java/common/tileentities/GTMTE_SOFuelCellMK1.java
index 66157b5665..888f2c71e6 100644
--- a/src/main/java/common/tileentities/GTMTE_SOFuelCellMK1.java
+++ b/src/main/java/common/tileentities/GTMTE_SOFuelCellMK1.java
@@ -81,7 +81,7 @@ public class GTMTE_SOFuelCellMK1 extends GT_MetaTileEntity_EnhancedMultiBlockBas
tt.addMachineType("Gas Turbine")
.addInfo("Oxidizes gas fuels to generate electricity without polluting the environment")
.addInfo(
- "Consumes up to " + (EU_PER_TICK * 20)
+ "Consumes up to " + GT_Utility.formatNumbers(EU_PER_TICK * 20)
+ "EU worth of fuel with up to 100% efficiency each second")
.addInfo("Steam production requires the SOFC to heat up completely first")
.addInfo("Outputs " + EU_PER_TICK + "EU/t and " + STEAM_PER_SEC + "L/s Steam")
diff --git a/src/main/java/common/tileentities/GTMTE_SOFuelCellMK2.java b/src/main/java/common/tileentities/GTMTE_SOFuelCellMK2.java
index 9cf68eb13c..56986228ae 100644
--- a/src/main/java/common/tileentities/GTMTE_SOFuelCellMK2.java
+++ b/src/main/java/common/tileentities/GTMTE_SOFuelCellMK2.java
@@ -83,7 +83,7 @@ public class GTMTE_SOFuelCellMK2 extends GT_MetaTileEntity_EnhancedMultiBlockBas
tt.addMachineType("Gas Turbine")
.addInfo("Oxidizes gas fuels to generate electricity without polluting the environment")
.addInfo(
- "Consumes up to " + (EU_PER_TICK * 20)
+ "Consumes up to " + GT_Utility.formatNumbers(EU_PER_TICK * 20)
+ "EU worth of fuel with up to 100% efficiency each second")
.addInfo("Nitrobenzene and other gas fuels above 1M EU/bucket are more efficient")
.addInfo("Steam production requires the SOFC to heat up completely first")