diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2016-12-20 22:14:10 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-12-20 22:14:10 +1000 |
commit | e95b35542d8de340835c00d4d21b527350d0cd6c (patch) | |
tree | f3fea67e2634676ea21c423103286ba7bb017e7e /src/Java/gregtech/api/util | |
parent | e4e40d86c0c868846cf20098dc1481f3ee3703b5 (diff) | |
download | GT5-Unofficial-e95b35542d8de340835c00d4d21b527350d0cd6c.tar.gz GT5-Unofficial-e95b35542d8de340835c00d4d21b527350d0cd6c.tar.bz2 GT5-Unofficial-e95b35542d8de340835c00d4d21b527350d0cd6c.zip |
+ Added a TESR for the Fire Pit, it's off-centre, but otherwise renders fine.
Diffstat (limited to 'src/Java/gregtech/api/util')
-rw-r--r-- | src/Java/gregtech/api/util/Recipe_GT.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Java/gregtech/api/util/Recipe_GT.java b/src/Java/gregtech/api/util/Recipe_GT.java index 402f355f88..5d74130f16 100644 --- a/src/Java/gregtech/api/util/Recipe_GT.java +++ b/src/Java/gregtech/api/util/Recipe_GT.java @@ -118,6 +118,13 @@ public class Recipe_GT extends GT_Recipe{ } } + public Recipe_GT(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int aDuration, int aEUt, int aSpecialValue) { + this(true, null, null, null, null, new FluidStack[]{aInput1, aInput2}, new FluidStack[]{aOutput1}, Math.max(aDuration, 1), aEUt, Math.max(Math.min(aSpecialValue, 160000000), 0)); + if (mInputs.length > 1) { + Gregtech_Recipe_Map.sLiquidFluorineThoriumReactorRecipes.addRecipe(this); + } + } + /*public GregtechRecipe(ItemStack aInput, FluidStack aFluid, ItemStack[] aOutput, int aDuration, int aEUt) { this(true, new ItemStack[]{aInput}, aOutput.clone(), null, null, new FluidStack[]{aFluid}, null, aDuration, aEUt, 0); if (mInputs.length > 0 && mOutputs[0] != null) { @@ -231,6 +238,9 @@ public class Recipe_GT extends GT_Recipe{ public static final GT_Recipe_Map sChemicalDehydratorRecipes = new GT_Recipe_Map(new HashSet<GT_Recipe>(200), "gt.recipe.chemicaldehydrator", "Chemical Dehydrator", null, RES_PATH_GUI + "basicmachines/Dehydrator", 2, 9, 0, 0, 1, E, 1, E, true, true); public static final GT_Recipe_Map sAlloyBlastSmelterRecipes = new GT_Recipe_Map(new HashSet<GT_Recipe>(200), "gt.recipe.alloyblastsmelter", "Alloy Blast Smelter", null, RES_PATH_GUI + "basicmachines/BlastSmelter", 9, 1, 1, 0, 1, E, 1, E, true, true); + //LFTR recipes + public static final GT_Recipe_Map sLiquidFluorineThoriumReactorRecipes = new GT_Recipe_Map(new HashSet<GT_Recipe>(50), "gt.recipe.lftr", "Liquid Fluorine Thorium Reactor", null, RES_PATH_GUI + "basicmachines/Default", 0, 0, 0, 2, 1, "Start: ", 1, " EU", true, true); + /** * HashMap of Recipes based on their Items */ |