Fixed IC2 steam compatibility for cracking
This commit is contained in:
parent
4c02055503
commit
407c7e3ac3
2 changed files with 8 additions and 1 deletions
|
@ -1477,6 +1477,9 @@ public class GT_Recipe implements Comparable<GT_Recipe> {
|
|||
FluidStack inputFluidContent = FluidContainerRegistry.getFluidForFilledItem(input);
|
||||
if (inputFluidContent != null) {
|
||||
inputFluidContent.amount *= input.stackSize;
|
||||
if (inputFluidContent.getFluid().getName().equals("ic2steam")) {
|
||||
inputFluidContent = GT_ModHandler.getSteam(inputFluidContent.amount);
|
||||
}
|
||||
adjustedFluidInputs.add(inputFluidContent);
|
||||
} else {
|
||||
ItemData itemData = GT_OreDictUnificator.getItemData(input);
|
||||
|
@ -1506,6 +1509,9 @@ public class GT_Recipe implements Comparable<GT_Recipe> {
|
|||
FluidStack outputFluidContent = FluidContainerRegistry.getFluidForFilledItem(output);
|
||||
if (outputFluidContent != null) {
|
||||
outputFluidContent.amount *= output.stackSize;
|
||||
if (outputFluidContent.getFluid().getName().equals("ic2steam")) {
|
||||
outputFluidContent = GT_ModHandler.getSteam(outputFluidContent.amount);
|
||||
}
|
||||
adjustedFluidOutputs.add(outputFluidContent);
|
||||
} else {
|
||||
ItemData itemData = GT_OreDictUnificator.getItemData(output);
|
||||
|
|
|
@ -402,7 +402,8 @@ public class GT_Loader_Item_Block_And_Fluid
|
|||
GT_Mod.gregtechproxy.addFluid("Methane", "Methane", Materials.Methane, 2, 295, GT_OreDictUnificator.get(OrePrefixes.cell, Materials.Methane, 1L), ItemList.Cell_Empty.get(1L, new Object[0]), 1000);
|
||||
GT_Mod.gregtechproxy.addFluid("Nitrogen", "Nitrogen", Materials.Nitrogen, 2, 295, GT_OreDictUnificator.get(OrePrefixes.cell, Materials.Nitrogen, 1L), ItemList.Cell_Empty.get(1L, new Object[0]), 1000);
|
||||
GT_Mod.gregtechproxy.addFluid("NitrogenDioxide", "Nitrogen Dioxide", Materials.NitrogenDioxide, 2, 295, GT_OreDictUnificator.get(OrePrefixes.cell, Materials.NitrogenDioxide, 1L), ItemList.Cell_Empty.get(1L, new Object[0]), 1000);
|
||||
GT_Mod.gregtechproxy.addFluid("Steam", "Steam", Materials.Water, 2, 375);
|
||||
GT_Mod.gregtechproxy.addFluid("Steam", "Steam", Materials.Water, 2, 375, GT_ModHandler.getIC2Item("steamCell", 1), Materials.Empty.getCells(1), 1000);
|
||||
GT_Values.RA.addFluidCannerRecipe(Materials.Empty.getCells(1), GT_ModHandler.getIC2Item("steamCell", 1), GT_ModHandler.getSteam(1000), null);
|
||||
Materials.Ice.mGas = Materials.Water.mGas;
|
||||
Materials.Water.mGas.setTemperature(375).setGaseous(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue