aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech
diff options
context:
space:
mode:
authorBlood-Asp <bloodasphendrik@gmail.com>2015-12-21 22:08:13 +0100
committerBlood-Asp <bloodasphendrik@gmail.com>2015-12-21 22:08:13 +0100
commita448be8d4a118b85a64e68f53309c4ea38893b91 (patch)
tree49b9f857564658387cff0c79d05370934b57c9f9 /src/main/java/gregtech
parenta9aac6ff58cb7321528e67f6179667ae72a437c9 (diff)
downloadGT5-Unofficial-a448be8d4a118b85a64e68f53309c4ea38893b91.tar.gz
GT5-Unofficial-a448be8d4a118b85a64e68f53309c4ea38893b91.tar.bz2
GT5-Unofficial-a448be8d4a118b85a64e68f53309c4ea38893b91.zip
increase hot coolant energy output 4x
Diffstat (limited to 'src/main/java/gregtech')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_HeatExchanger.java2
-rw-r--r--src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java33
2 files changed, 34 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_HeatExchanger.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_HeatExchanger.java
index 80e0d32137..a1d94e4241 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_HeatExchanger.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_HeatExchanger.java
@@ -110,7 +110,7 @@ public class GT_MetaTileEntity_HeatExchanger extends GT_MetaTileEntity_MultiBloc
superheated_threshold /= 4;
do_lava = true;
} else if (mInputHotFluidHatch.getFluid().isFluidEqual(FluidRegistry.getFluidStack("ic2hotcoolant", 1))) {
- steam_output_multiplier = 0.5f;
+ steam_output_multiplier = 2f;
} else {
// If we're working with neither, fail out
return false;
diff --git a/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java b/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java
index 827f4740e4..d225aaa0a5 100644
--- a/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java
+++ b/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java
@@ -15,8 +15,16 @@ import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;
+import ic2.api.recipe.IRecipeInput;
+import ic2.api.recipe.RecipeOutput;
+import ic2.api.recipe.ILiquidHeatExchangerManager.HeatExchangeProperty;
+import ic2.api.recipe.Recipes;
+import ic2.core.block.machine.tileentity.TileEntityLiquidHeatExchanger;
import java.util.Arrays;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
public class GT_MachineRecipeLoader
implements Runnable {
@@ -1527,6 +1535,31 @@ public class GT_MachineRecipeLoader
}
}
+
+ try {
+ Map<String, HeatExchangeProperty> tLiqExchange = ic2.api.recipe.Recipes.liquidCooldownManager.getHeatExchangeProperties();
+ Iterator<Map.Entry<String, HeatExchangeProperty>> tIterator = tLiqExchange.entrySet().iterator();
+ while (tIterator.hasNext()) {
+ Map.Entry<String, HeatExchangeProperty> tEntry = tIterator.next();
+ if(tEntry.getKey().equals("ic2hotcoolant")){
+ tIterator.remove();
+ Recipes.liquidCooldownManager.addFluid("ic2hotcoolant", "ic2coolant", 80);
+ }
+ }
+ } catch (Throwable e) {/*Do nothing*/}
+
+ try {
+ Map<String, HeatExchangeProperty> tLiqExchange = ic2.api.recipe.Recipes.liquidHeatupManager.getHeatExchangeProperties();
+ Iterator<Map.Entry<String, HeatExchangeProperty>> tIterator = tLiqExchange.entrySet().iterator();
+ while (tIterator.hasNext()) {
+ Map.Entry<String, HeatExchangeProperty> tEntry = tIterator.next();
+ if(tEntry.getKey().equals("ic2coolant")){
+ tIterator.remove();
+ Recipes.liquidHeatupManager.addFluid("ic2coolant", "ic2hotcoolant", 80);
+ }
+ }
+ } catch (Throwable e) {/*Do nothing*/}
+
GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_BobsYerUncleRanks.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null);
GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_Ferru.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null);
GT_Utility.removeSimpleIC2MachineRecipe(ItemList.Crop_Drop_Aurelia.get(1L, new Object[0]), GT_ModHandler.getExtractorRecipeList(), null);