From 7dff0c2053536b70032c64e0f514f8d20af5f0f0 Mon Sep 17 00:00:00 2001 From: PlayfulPiano Date: Wed, 11 Sep 2024 11:11:53 -0400 Subject: [PATCH] Steam Machine Fixes & Improvements (#3143) Co-authored-by: Martin Robertz --- .../implementations/MTEBasicMachine.java | 8 ++--- .../implementations/MTEBasicMachineSteel.java | 2 ++ .../preload/LoaderMetaTileEntities.java | 26 ++++++++-------- .../base/MTESteamMultiBase.java | 3 +- .../processing/steam/MTESteamCentrifuge.java | 30 ++++++++++++------- .../processing/steam/MTESteamCompressor.java | 30 ++++++++++++------- .../processing/steam/MTESteamForgeHammer.java | 30 ++++++++++++------- .../processing/steam/MTESteamMacerator.java | 30 ++++++++++++------- .../multi/processing/steam/MTESteamMixer.java | 30 ++++++++++++------- .../processing/steam/MTESteamWasher.java | 30 ++++++++++++------- .../processing/steam/MTESteamWaterPump.java | 14 +++++++-- .../gregtech/GregtechSteamMultis.java | 8 ++--- .../resources/assets/gregtech/lang/en_US.lang | 6 ++-- 13 files changed, 161 insertions(+), 86 deletions(-) diff --git a/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachine.java b/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachine.java index 0bfff978954..de0c78d1050 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachine.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachine.java @@ -1208,14 +1208,14 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat if (mEUt > 0) { currenttip.add( StatCollector.translateToLocalFormatted( - "GT5U.waila.energy.use", - GTUtility.formatNumbers(mEUt), + "GTPP.waila.steam.use", + GTUtility.formatNumbers(mEUt * 40), GTUtility.getColoredTierNameFromVoltage(mEUt))); } else if (mEUt < 0) { currenttip.add( StatCollector.translateToLocalFormatted( - "GT5U.waila.energy.produce", - GTUtility.formatNumbers(-mEUt), + "GTPP.waila.steam.use", + GTUtility.formatNumbers(-mEUt * 40), GTUtility.getColoredTierNameFromVoltage(-mEUt))); } } diff --git a/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachineSteel.java b/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachineSteel.java index 8d6f5568d5a..ea2c347d15f 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachineSteel.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/MTEBasicMachineSteel.java @@ -24,6 +24,8 @@ */ public abstract class MTEBasicMachineSteel extends MTEBasicMachineBronze implements IGetTitleColor { + private static final String HPTOOLTIP = "Processing Speed & Steam Consumption is doubled under High Pressure"; + public MTEBasicMachineSteel(int aID, String aName, String aNameRegional, String aDescription, int aInputSlotCount, int aOutputSlotCount, boolean aHighPressure) { super(aID, aName, aNameRegional, aDescription, aInputSlotCount, aOutputSlotCount, aHighPressure); diff --git a/src/main/java/gregtech/loaders/preload/LoaderMetaTileEntities.java b/src/main/java/gregtech/loaders/preload/LoaderMetaTileEntities.java index 9f171207971..9bc320998c9 100644 --- a/src/main/java/gregtech/loaders/preload/LoaderMetaTileEntities.java +++ b/src/main/java/gregtech/loaders/preload/LoaderMetaTileEntities.java @@ -2367,20 +2367,24 @@ private static void registerAlloySmelter() { private static void registerHPSteamMachines() { ItemList.Machine_HP_Extractor.set( - new MTESteamExtractorSteel(HP_STEAM_EXTRACTOR.ID, "hpmachine.extractor", "High Pressure Extractor") + new MTESteamExtractorSteel(HP_STEAM_EXTRACTOR.ID, "hpmachine.extractor", "High Pressure Steam Extractor") .getStackForm(1L)); ItemList.Machine_HP_Furnace.set( - new MTESteamFurnaceSteel(HP_STEAM_FURNACE.ID, "hpmachine.furnace", "High Pressure Furnace") + new MTESteamFurnaceSteel(HP_STEAM_FURNACE.ID, "hpmachine.furnace", "High Pressure Steam Furnace") .getStackForm(1L)); ItemList.Machine_HP_Macerator.set( - new MTESteamMaceratorSteel(HP_STEAM_MACERATOR.ID, "hpmachine.macerator", "High Pressure Macerator") + new MTESteamMaceratorSteel(HP_STEAM_MACERATOR.ID, "hpmachine.macerator", "High Pressure Steam Macerator") .getStackForm(1L)); ItemList.Machine_HP_Hammer.set( - new MTESteamForgeHammerSteel(HP_STEAM_FORGE_HAMMER.ID, "hpmachine.hammer", "High Pressure Forge Hammer") - .getStackForm(1L)); + new MTESteamForgeHammerSteel( + HP_STEAM_FORGE_HAMMER.ID, + "hpmachine.hammer", + "High Pressure Steam Forge Hammer").getStackForm(1L)); ItemList.Machine_HP_Compressor.set( - new MTESteamCompressorSteel(HP_STEAM_COMPRESSOR.ID, "hpmachine.compressor", "High Pressure Compressor") - .getStackForm(1L)); + new MTESteamCompressorSteel( + HP_STEAM_COMPRESSOR.ID, + "hpmachine.compressor", + "High Pressure Steam Compressor").getStackForm(1L)); ItemList.Machine_HP_AlloySmelter.set( new MTESteamAlloySmelterSteel( HP_STEAM_ALLOY_SMELTER.ID, @@ -10850,15 +10854,13 @@ private static void registerBoiler() { ItemList.Machine_Bronze_Boiler .set(new MTEBoilerBronze(SMALL_COAL_BOILER.ID, "boiler.bronze", "Small Coal Boiler").getStackForm(1L)); ItemList.Machine_Steel_Boiler.set( - new MTEBoilerSteel(HIGH_PRESSURE_COAL_BOILER.ID, "boiler.steel", "High Pressure Coal Boiler") - .getStackForm(1L)); + new MTEBoilerSteel(HIGH_PRESSURE_COAL_BOILER.ID, "boiler.steel", "Large Coal Boiler").getStackForm(1L)); ItemList.Machine_Steel_Boiler_Lava.set( - new MTEBoilerLava(HIGH_PRESSURE_LAVA_BOILER.ID, "boiler.lava", "High Pressure Lava Boiler") - .getStackForm(1L)); + new MTEBoilerLava(HIGH_PRESSURE_LAVA_BOILER.ID, "boiler.lava", "Reinforced Lava Boiler").getStackForm(1L)); ItemList.Machine_Bronze_Boiler_Solar .set(new MTEBoilerSolar(SIMPLE_SOLAR_BOILER.ID, "boiler.solar", "Simple Solar Boiler").getStackForm(1L)); ItemList.Machine_HP_Solar.set( - new MTEBoilerSolarSteel(HIGH_PRESSURE_SOLAR_BOILER.ID, "boiler.steel.solar", "High Pressure Solar Boiler") + new MTEBoilerSolarSteel(HIGH_PRESSURE_SOLAR_BOILER.ID, "boiler.steel.solar", "Advanced Solar Boiler") .getStackForm(1L)); } diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/MTESteamMultiBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/MTESteamMultiBase.java index 9730b551d84..352ce85c122 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/MTESteamMultiBase.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/MTESteamMultiBase.java @@ -388,7 +388,8 @@ public void getWailaBody(ItemStack itemStack, List currentTip, IWailaDat long actualEnergyUsage = tag.getLong("energyUsage"); if (actualEnergyUsage > 0) { currentTip.add( - StatCollector.translateToLocalFormatted("GTPP.waila.steam.use", formatNumbers(actualEnergyUsage))); + StatCollector + .translateToLocalFormatted("GTPP.waila.steam.use", formatNumbers(actualEnergyUsage * 20))); } } currentTip diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCentrifuge.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCentrifuge.java index 51f8504144a..29b1aec3b6d 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCentrifuge.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCentrifuge.java @@ -312,8 +312,8 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) { @Nonnull protected OverclockCalculator createOverclockCalculator(@NotNull GTRecipe recipe) { return OverclockCalculator.ofNoOverclock(recipe) - .setEUtDiscount(1.33 * tierMachine) - .setSpeedBoost(1.5 / tierMachine); + .setEUtDiscount(1.25 * tierMachine) + .setSpeedBoost(1.6 / tierMachine); } }.setMaxParallelSupplier(this::getMaxParallelRecipes); } @@ -327,11 +327,11 @@ public int getTierRecipes() { protected MultiblockTooltipBuilder createTooltip() { MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder(); tt.addMachineType(getMachineType()) - .addInfo("Controller Block for the Steam Centrifuge") - .addInfo("33.3% faster than a single block steam machine would run") - .addInfo("Uses only 66.6% of the steam/s that a single block steam machine would use") - .addInfo("Processes 8x parallel") - .addInfo("Steel tier produces at twice the speed but with twice the steam consumption") + .addInfo("Controller Block for the Steam Separator") + .addInfo("25% faster than using single block steam machines of the same pressure") + .addInfo("Only consumes steam at 62.5% of the L/s normally required") + .addInfo("Processes up to 8 items at once") + .addInfo("Processing Speed & Steam Consumption is doubled under High Pressure") .addSeparator() .beginStructureBlock(5, 5, 5, false) .addInputBus(EnumChatFormatting.GOLD + "1" + EnumChatFormatting.GRAY + " Any casing", 1) @@ -344,13 +344,13 @@ protected MultiblockTooltipBuilder createTooltip() { + EnumChatFormatting.GRAY + " Any casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 1) + .addStructureInfo(EnumChatFormatting.BLUE + "Basic " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo(EnumChatFormatting.GOLD + "60-65x" + EnumChatFormatting.GRAY + " Bronze Plated Bricks") .addStructureInfo(EnumChatFormatting.GOLD + "8x" + EnumChatFormatting.GRAY + " Bronze Gear Box Casing") .addStructureInfo(EnumChatFormatting.GOLD + "3x" + EnumChatFormatting.GRAY + " Bronze Firebox Casing") .addStructureInfo(EnumChatFormatting.GOLD + "4x" + EnumChatFormatting.GRAY + " Bronze Pipe Casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 2) + .addStructureInfo(EnumChatFormatting.BLUE + "High Pressure " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo( EnumChatFormatting.GOLD + "60-65x" + EnumChatFormatting.GRAY + " Solid Steel Machine Casing") .addStructureInfo(EnumChatFormatting.GOLD + "8x" + EnumChatFormatting.GRAY + " Steel Gear Box Casing") @@ -375,10 +375,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("tierMachine"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Basic"; + } else if (tierMachine == 2) { + tierMachineText = "High Pressure"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.YELLOW - + tag.getInteger("tierMachine") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.multiblock.curparallelism") + ": " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCompressor.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCompressor.java index 8ca445622a1..3d5add51319 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCompressor.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamCompressor.java @@ -256,8 +256,8 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) { @Nonnull protected OverclockCalculator createOverclockCalculator(@NotNull GTRecipe recipe) { return OverclockCalculator.ofNoOverclock(recipe) - .setEUtDiscount(1.33 * tierMachine) - .setSpeedBoost(1.5 / tierMachine); + .setEUtDiscount(1.25 * tierMachine) + .setSpeedBoost(1.6 / tierMachine); } }.setMaxParallelSupplier(this::getMaxParallelRecipes); } @@ -271,11 +271,11 @@ public int getTierRecipes() { protected MultiblockTooltipBuilder createTooltip() { MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder(); tt.addMachineType(getMachineType()) - .addInfo("Controller Block for the Steam Compressor") - .addInfo("33.3% faster than the single block Steam Compressor") - .addInfo("Uses only 66.6% of the steam/s that the single block Steam Compressor uses") - .addInfo("Processes 8x parallel") - .addInfo("Steel tier produces at twice the speed but with twice the steam consumption") + .addInfo("Controller Block for the Steam Squasher") + .addInfo("25% faster than using single block steam machines of the same pressure") + .addInfo("Only consumes steam at 62.5% of the L/s normally required") + .addInfo("Processes up to 8 items at once") + .addInfo("Processing Speed & Steam Consumption is doubled under High Pressure") .addSeparator() .beginStructureBlock(3, 3, 4, false) .addInputBus(EnumChatFormatting.GOLD + "1" + EnumChatFormatting.GRAY + " Any casing", 1) @@ -287,10 +287,10 @@ protected MultiblockTooltipBuilder createTooltip() { + EnumChatFormatting.GRAY + " Any casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 1) + .addStructureInfo(EnumChatFormatting.BLUE + "Basic " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo(EnumChatFormatting.GOLD + "25-30x" + EnumChatFormatting.GRAY + " Bronze Plated Bricks") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 2) + .addStructureInfo(EnumChatFormatting.BLUE + "High Pressure " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo( EnumChatFormatting.GOLD + "25-30x" + EnumChatFormatting.GRAY + " Solid Steel Machine Casing") .addStructureInfo("") @@ -312,10 +312,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("tierMachine"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Basic"; + } else if (tierMachine == 2) { + tierMachineText = "High Pressure"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.YELLOW - + tag.getInteger("tierMachine") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.multiblock.curparallelism") + ": " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamForgeHammer.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamForgeHammer.java index 1209b9c0bcd..fe27dd947b4 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamForgeHammer.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamForgeHammer.java @@ -306,8 +306,8 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) { @Nonnull protected OverclockCalculator createOverclockCalculator(@NotNull GTRecipe recipe) { return OverclockCalculator.ofNoOverclock(recipe) - .setEUtDiscount(1.33 * tierMachine) - .setSpeedBoost(1.5 / tierMachine); + .setEUtDiscount(1.25 * tierMachine) + .setSpeedBoost(1.6 / tierMachine); } }.setMaxParallelSupplier(this::getMaxParallelRecipes); } @@ -321,11 +321,11 @@ public int getTierRecipes() { protected MultiblockTooltipBuilder createTooltip() { MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder(); tt.addMachineType(getMachineType()) - .addInfo("Controller Block for the Steam Forge Hammer") - .addInfo("33.3% faster than the single block Steam Forge Hammer") - .addInfo("Uses only 66.6% of the steam/s that the single block Forge Hammer uses") - .addInfo("Processes 8x parallel") - .addInfo("Steel tier produces at twice the speed but with twice the steam consumption") + .addInfo("Controller Block for the Steam Presser") + .addInfo("25% faster than using single block steam machines of the same pressure") + .addInfo("Only consumes steam at 62.5% of the L/s normally required") + .addInfo("Processes up to 8 items at once") + .addInfo("Processing Speed & Steam Consumption is doubled under High Pressure") .addSeparator() .beginStructureBlock(6, 5, 5, false) .addInputBus(EnumChatFormatting.GOLD + "1" + EnumChatFormatting.GRAY + " Any casing", 1) @@ -337,12 +337,12 @@ protected MultiblockTooltipBuilder createTooltip() { + EnumChatFormatting.GRAY + " Any casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 1) + .addStructureInfo(EnumChatFormatting.BLUE + "Basic " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo(EnumChatFormatting.GOLD + "35-39x" + EnumChatFormatting.GRAY + " Bronze Plated Bricks") .addStructureInfo(EnumChatFormatting.GOLD + "2x" + EnumChatFormatting.GRAY + " Bronze Pipe Casing") .addStructureInfo(EnumChatFormatting.GOLD + "2x" + EnumChatFormatting.GRAY + " Iron Block") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 2) + .addStructureInfo(EnumChatFormatting.BLUE + "High Pressure " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo( EnumChatFormatting.GOLD + "35-39x" + EnumChatFormatting.GRAY + " Solid Steel Machine Casing") .addStructureInfo(EnumChatFormatting.GOLD + "2x" + EnumChatFormatting.GRAY + " Steel Pipe Casing") @@ -371,10 +371,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("tierMachine"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Basic"; + } else if (tierMachine == 2) { + tierMachineText = "High Pressure"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.YELLOW - + tag.getInteger("tierMachine") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.multiblock.curparallelism") + ": " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMacerator.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMacerator.java index 5478dc303c9..bc1a86dae1f 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMacerator.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMacerator.java @@ -255,8 +255,8 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) { @Nonnull protected OverclockCalculator createOverclockCalculator(@NotNull GTRecipe recipe) { return OverclockCalculator.ofNoOverclock(recipe) - .setEUtDiscount(1.33 * tierMachine) - .setSpeedBoost(1.5 / tierMachine); + .setEUtDiscount(1.25 * tierMachine) + .setSpeedBoost(1.6 / tierMachine); } }.setMaxParallelSupplier(this::getMaxParallelRecipes); } @@ -270,11 +270,11 @@ public int getTierRecipes() { protected MultiblockTooltipBuilder createTooltip() { MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder(); tt.addMachineType(getMachineType()) - .addInfo("Controller Block for the Steam Macerator") - .addInfo("33.3% faster than the single block Steam Macerator") - .addInfo("Uses only 66.6% of the steam/s that the single block Steam Macerator uses") - .addInfo("Processes 8x parallel") - .addInfo("Steel tier produces at twice the speed but with twice the steam consumption") + .addInfo("Controller Block for the Steam Grinder") + .addInfo("25% faster than using single block steam machines of the same pressure") + .addInfo("Only consumes steam at 62.5% of the L/s normally required") + .addInfo("Processes up to 8 items at once") + .addInfo("Processing Speed & Steam Consumption is doubled under High Pressure") .addSeparator() .beginStructureBlock(3, 3, 3, false) .addInputBus(EnumChatFormatting.GOLD + "1" + EnumChatFormatting.GRAY + " Any casing", 1) @@ -286,10 +286,10 @@ protected MultiblockTooltipBuilder createTooltip() { + EnumChatFormatting.GRAY + " Any casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 1) + .addStructureInfo(EnumChatFormatting.BLUE + "Basic " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo(EnumChatFormatting.GOLD + "14-22x" + EnumChatFormatting.GRAY + " Bronze Plated Bricks") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 2) + .addStructureInfo(EnumChatFormatting.BLUE + "High Pressure " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo( EnumChatFormatting.GOLD + "14-22x" + EnumChatFormatting.GRAY + " Solid Steel Machine Casing") .addStructureInfo("") @@ -311,10 +311,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("tierMachine"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Basic"; + } else if (tierMachine == 2) { + tierMachineText = "High Pressure"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.YELLOW - + tag.getInteger("tierMachine") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.multiblock.curparallelism") + ": " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java index 6429d556c55..fbd9828abad 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java @@ -310,8 +310,8 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) { @Nonnull protected OverclockCalculator createOverclockCalculator(@NotNull GTRecipe recipe) { return OverclockCalculator.ofNoOverclock(recipe) - .setEUtDiscount(1.33 * tierMachine) - .setSpeedBoost(1.5 / tierMachine); + .setEUtDiscount(1.25 * tierMachine) + .setSpeedBoost(1.6 / tierMachine); } }.setMaxParallelSupplier(this::getMaxParallelRecipes); } @@ -325,11 +325,11 @@ public int getTierRecipes() { protected MultiblockTooltipBuilder createTooltip() { MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder(); tt.addMachineType(getMachineType()) - .addInfo("Controller Block for the Steam Mixer") - .addInfo("33.3% faster than a single block steam machine would run") - .addInfo("Uses only 66.6% of the steam/s that a single block steam machine would use") - .addInfo("Processes 8x parallel") - .addInfo("Steel tier produces at twice the speed but with twice the steam consumption") + .addInfo("Controller Block for the Steam Blender") + .addInfo("25% faster than using single block steam machines of the same pressure") + .addInfo("Only consumes steam at 62.5% of the L/s normally required") + .addInfo("Processes up to 8 items at once") + .addInfo("Processing Speed & Steam Consumption is doubled under High Pressure") .addSeparator() .beginStructureBlock(7, 6, 7, false) .addInputBus(EnumChatFormatting.GOLD + "1" + EnumChatFormatting.GRAY + " Any casing", 1) @@ -343,13 +343,13 @@ protected MultiblockTooltipBuilder createTooltip() { + EnumChatFormatting.GRAY + " Any casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 1) + .addStructureInfo(EnumChatFormatting.BLUE + "Basic " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo(EnumChatFormatting.GOLD + "90-100x" + EnumChatFormatting.GRAY + " Bronze Plated Bricks") .addStructureInfo(EnumChatFormatting.GOLD + "2x" + EnumChatFormatting.GRAY + " Bronze Gear Box Casing") .addStructureInfo(EnumChatFormatting.GOLD + "2x" + EnumChatFormatting.GRAY + " Bronze Pipe Casing") .addStructureInfo(EnumChatFormatting.GOLD + "8x" + EnumChatFormatting.GRAY + " Block of Iron") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 2) + .addStructureInfo(EnumChatFormatting.BLUE + "High Pressure " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo( EnumChatFormatting.GOLD + "90-100x" + EnumChatFormatting.GRAY + " Solid Steel Machine Casing") .addStructureInfo(EnumChatFormatting.GOLD + "2x" + EnumChatFormatting.GRAY + " Steel Gear Box Casing") @@ -374,10 +374,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("tierMachine"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Basic"; + } else if (tierMachine == 2) { + tierMachineText = "High Pressure"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.YELLOW - + tag.getInteger("tierMachine") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.multiblock.curparallelism") + ": " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWasher.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWasher.java index 6b6bc4ca62a..947ea299478 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWasher.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWasher.java @@ -331,8 +331,8 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) { @Nonnull protected OverclockCalculator createOverclockCalculator(@NotNull GTRecipe recipe) { return OverclockCalculator.ofNoOverclock(recipe) - .setEUtDiscount(1.33 * tierMachine) - .setSpeedBoost(1.5 / tierMachine); + .setEUtDiscount(1.25 * tierMachine) + .setSpeedBoost(1.6 / tierMachine); } }.setMaxParallelSupplier(this::getMaxParallelRecipes); } @@ -346,11 +346,11 @@ public int getTierRecipes() { protected MultiblockTooltipBuilder createTooltip() { MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder(); tt.addMachineType(getMachineType()) - .addInfo("Controller Block for the Steam Washer") - .addInfo("33.3% faster than a single block steam machine would run") - .addInfo("Uses only 66.6% of the steam/s that a single block steam machine would use") - .addInfo("Processes 8x parallel") - .addInfo("Steel tier produces at twice the speed but with twice the steam consumption") + .addInfo("Controller Block for the Steam Purifier") + .addInfo("25% faster than using single block steam machines of the same pressure") + .addInfo("Only consumes steam at 62.5% of the L/s normally required") + .addInfo("Processes up to 8 items at once") + .addInfo("Processing Speed & Steam Consumption is doubled under High Pressure") .addSeparator() .beginStructureBlock(5, 5, 5, false) .addInputBus(EnumChatFormatting.GOLD + "1" + EnumChatFormatting.GRAY + " Any casing", 1) @@ -363,13 +363,13 @@ protected MultiblockTooltipBuilder createTooltip() { + EnumChatFormatting.GRAY + " Any casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 1) + .addStructureInfo(EnumChatFormatting.BLUE + "Basic " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo(EnumChatFormatting.GOLD + "55-59x" + EnumChatFormatting.GRAY + " Bronze Plated Bricks") .addStructureInfo(EnumChatFormatting.GOLD + "24x" + EnumChatFormatting.GRAY + " Any Glass") .addStructureInfo(EnumChatFormatting.GOLD + "12x" + EnumChatFormatting.GRAY + " Bronze Pipe Casing") .addStructureInfo(EnumChatFormatting.GOLD + "8x" + EnumChatFormatting.GRAY + " Bronze Gear Box Casing") .addStructureInfo("") - .addStructureInfo(EnumChatFormatting.BLUE + "Tier " + EnumChatFormatting.DARK_PURPLE + 2) + .addStructureInfo(EnumChatFormatting.BLUE + "High Pressure " + EnumChatFormatting.DARK_PURPLE + "Tier") .addStructureInfo( EnumChatFormatting.GOLD + "55-59x" + EnumChatFormatting.GRAY + " Solid Steel Machine Casing") .addStructureInfo(EnumChatFormatting.GOLD + "24x" + EnumChatFormatting.GRAY + " Any Glass") @@ -394,10 +394,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("tierMachine"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Basic"; + } else if (tierMachine == 2) { + tierMachineText = "High Pressure"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.YELLOW - + tag.getInteger("tierMachine") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.multiblock.curparallelism") + ": " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWaterPump.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWaterPump.java index a397a80974e..e29cc81baf5 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWaterPump.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamWaterPump.java @@ -321,10 +321,20 @@ public void getWailaBody(ItemStack itemStack, List currenttip, IWailaDat super.getWailaBody(itemStack, currenttip, accessor, config); NBTTagCompound tag = accessor.getNBTData(); + int tierMachine = tag.getInteger("mSetTier"); + String tierMachineText; + if (tierMachine == 1) { + tierMachineText = "Bronze"; + } else if (tierMachine == 2) { + tierMachineText = "Steel"; + } else { + tierMachineText = String.valueOf(tierMachine); + } + currenttip.add( - StatCollector.translateToLocal("GT5U.machines.tier") + ": " + StatCollector.translateToLocal("GTPP.machines.tier") + ": " + EnumChatFormatting.BLUE - + tag.getInteger("mSetTier") + + tierMachineText + EnumChatFormatting.RESET); currenttip.add( StatCollector.translateToLocal("GT5U.biomes.humidity") + " " diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamMultis.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamMultis.java index 3808b6683d3..465ca37b387 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamMultis.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechSteamMultis.java @@ -40,17 +40,17 @@ public static void run() { new MTESteamCentrifuge( Controller_SteamCentrifugeMulti.ID, "gtpp.multimachine.steam.centrifuge", - "Steam Centrifuge").getStackForm(1)); + "Steam Separator").getStackForm(1)); GregtechItemList.Controller_SteamWasherMulti.set( - new MTESteamWasher(Controller_SteamWasherMulti.ID, "gtpp.multimachine.steam.washer", "Steam Washer") + new MTESteamWasher(Controller_SteamWasherMulti.ID, "gtpp.multimachine.steam.washer", "Steam Purifier") .getStackForm(1)); GregtechItemList.Controller_SteamForgeHammerMulti.set( new MTESteamForgeHammer( Controller_SteamForgeHammer.ID, "gtpp.multimachine.steam.forge.hammer", - "Steam Forge Hammer").getStackForm(1)); + "Steam Presser").getStackForm(1)); GregtechItemList.Controller_SteamMixerMulti.set( - new MTESteamMixer(Controller_SteamMixerMulti.ID, "gtpp.multimachine.steam.mixer", "Steam Mixer") + new MTESteamMixer(Controller_SteamMixerMulti.ID, "gtpp.multimachine.steam.mixer", "Steam Blender") .getStackForm(1)); GregtechItemList.Hatch_Input_Bus_Steam.set( diff --git a/src/main/resources/assets/gregtech/lang/en_US.lang b/src/main/resources/assets/gregtech/lang/en_US.lang index e4609fd52de..d4f74573b84 100644 --- a/src/main/resources/assets/gregtech/lang/en_US.lang +++ b/src/main/resources/assets/gregtech/lang/en_US.lang @@ -617,8 +617,8 @@ GT5U.multiblock.problems=Problems GT5U.multiblock.mei=Max Energy Income GT5U.multiblock.maxtier=Max Tier GT5U.multiblock.usage=Probably uses -GT5U.multiblock.parallelism=Max Parallels -GT5U.multiblock.curparallelism=Current Parallels +GT5U.multiblock.parallelism=Max Parallel +GT5U.multiblock.curparallelism=Current Parallel GT5U.multiblock.euModifier=EU Modifier GT5U.multiblock.speed=Speed GT5U.multiblock.fluidPipeTier=Fluid Pipe Tier @@ -1647,7 +1647,7 @@ GTPP.multiblock.multimachine.fluid=Fluid Mode. Does fermenter (circuit 20), flui GTPP.multiblock.multimachine.misc=Misc. Mode. Does precision laser engraver (circuit 20), autoclave (circuit 21) and fluid solidifier (circuit 22). -GTPP.waila.steam.use=Probably uses: §e%s§r L/t Steam +GTPP.waila.steam.use=Probably uses: §e%s§r L/s Steam GTPP.CC.machinetier=Control Core Tier GTPP.CC.discount=EU Discount