aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchochem <40274384+chochem@users.noreply.github.com>2024-04-22 22:11:27 +0100
committerGitHub <noreply@github.com>2024-04-22 23:11:27 +0200
commita3d30b9b5b4d55e07029f3543de490148813e2d3 (patch)
tree20eace5d4e415b6e5cc7787c5bc1eb54f79ce8a6
parentb44543db61abbf7fbeb460ce1a2a0fabb2568815 (diff)
downloadGT5-Unofficial-a3d30b9b5b4d55e07029f3543de490148813e2d3.tar.gz
GT5-Unofficial-a3d30b9b5b4d55e07029f3543de490148813e2d3.tar.bz2
GT5-Unofficial-a3d30b9b5b4d55e07029f3543de490148813e2d3.zip
Fix steam multi bonuses and document them (#875)
fix steam multi bonusses and documentation
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamCompressor.java7
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamMacerator.java7
2 files changed, 10 insertions, 4 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamCompressor.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamCompressor.java
index 6393dd49bc..b3b15ca5f7 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamCompressor.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamCompressor.java
@@ -70,7 +70,9 @@ public class GregtechMetaTileEntity_SteamCompressor
protected GT_Multiblock_Tooltip_Builder createTooltip() {
GT_Multiblock_Tooltip_Builder tt = new GT_Multiblock_Tooltip_Builder();
tt.addMachineType(getMachineType()).addInfo("Controller Block for the Steam Compressor")
- .addInfo("Compresses " + getMaxParallelRecipes() + " things at a time").addSeparator()
+ .addInfo("33.3% faster than using a single block Steam Compressor.")
+ .addInfo("Uses only 66.6% of the steam/s compared to a single block Steam Compressor.")
+ .addInfo("Compresses up to " + getMaxParallelRecipes() + " things at a time").addSeparator()
.beginStructureBlock(3, 3, 4, true).addController("Front center")
.addCasingInfoMin(mCasingName, 28, false).addOtherStructurePart(TT_steaminputbus, "Any casing", 1)
.addOtherStructurePart(TT_steamoutputbus, "Any casing", 1)
@@ -127,6 +129,7 @@ public class GregtechMetaTileEntity_SteamCompressor
return RecipeMaps.compressorRecipes;
}
+ // note that a basic steam machine has .setEUtDiscount(2F).setSpeedBoost(2F). So these are bonuses.
@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic() {
@@ -134,7 +137,7 @@ public class GregtechMetaTileEntity_SteamCompressor
@Override
@Nonnull
protected GT_OverclockCalculator createOverclockCalculator(@NotNull GT_Recipe recipe) {
- return GT_OverclockCalculator.ofNoOverclock(recipe);
+ return GT_OverclockCalculator.ofNoOverclock(recipe).setEUtDiscount(1.33F).setSpeedBoost(1.5F);
}
}.setMaxParallel(getMaxParallelRecipes());
}
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamMacerator.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamMacerator.java
index 4448b8fb0b..e1c4fec434 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamMacerator.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/GregtechMetaTileEntity_SteamMacerator.java
@@ -74,7 +74,9 @@ public class GregtechMetaTileEntity_SteamMacerator
}
GT_Multiblock_Tooltip_Builder tt = new GT_Multiblock_Tooltip_Builder();
tt.addMachineType(getMachineType()).addInfo("Controller Block for the Steam Macerator")
- .addInfo("Macerates " + getMaxParallelRecipes() + " ores at a time").addSeparator()
+ .addInfo("33.3% faster than using a single block Steam Macerator.")
+ .addInfo("Uses only 66.6% of the steam/s required compared to a single block Steam Macerator.")
+ .addInfo("Macerates up to " + getMaxParallelRecipes() + " things at a time").addSeparator()
.beginStructureBlock(3, 3, 3, true).addController("Front center")
.addCasingInfoMin(mCasingName, 14, false).addOtherStructurePart(TT_steaminputbus, "Any casing", 1)
.addOtherStructurePart(TT_steamoutputbus, "Any casing", 1)
@@ -131,6 +133,7 @@ public class GregtechMetaTileEntity_SteamMacerator
return RecipeMaps.maceratorRecipes;
}
+ // note that a basic steam machine has .setEUtDiscount(2F).setSpeedBoost(2F). So these are bonuses.
@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic() {
@@ -138,7 +141,7 @@ public class GregtechMetaTileEntity_SteamMacerator
@Override
@Nonnull
protected GT_OverclockCalculator createOverclockCalculator(@NotNull GT_Recipe recipe) {
- return GT_OverclockCalculator.ofNoOverclock(recipe);
+ return GT_OverclockCalculator.ofNoOverclock(recipe).setEUtDiscount(1.33F).setSpeedBoost(1.5F);
}
}.setMaxParallel(getMaxParallelRecipes());