aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-06-07 20:16:39 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-06-07 20:16:39 +1000
commit31f14b94088f13024cf9fc2304b837b826eebe01 (patch)
tree426829af7f542e9b061c93f6f8e1c4b3be8bec81
parent1cb08313232fe112ceaa4036da8b057d7ee9209f (diff)
downloadGT5-Unofficial-31f14b94088f13024cf9fc2304b837b826eebe01.tar.gz
GT5-Unofficial-31f14b94088f13024cf9fc2304b837b826eebe01.tar.bz2
GT5-Unofficial-31f14b94088f13024cf9fc2304b837b826eebe01.zip
$ Fixed alloy mixes below HV not having a shapeless crafting recipe.
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java
index 6c93ef58a7..9f6310a8b7 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java
@@ -157,24 +157,35 @@ public class RecipeGen_DustGeneration implements Runnable{
}
}
-
+
+ //Add mixer Recipe
if (GT_Values.RA.addMixerRecipe(
- input1, input2,
- input3, input4,
- oxygen,
- null,
- outputStacks,
- (int) Math.max(material.getMass() * 2L * 1, 1),
- 6 * material.vVoltageMultiplier))
+ input1, input2,
+ input3, input4,
+ oxygen,
+ null,
+ outputStacks,
+ (int) Math.max(material.getMass() * 2L * 1, 1),
+ 2 * material.vVoltageMultiplier)) //Was 6, but let's try 2. This makes Potin LV, for example.
{
Utils.LOG_INFO("Dust Mixer Recipe: "+material.getLocalizedName()+" - Success");
}
else {
Utils.LOG_INFO("Dust Mixer Recipe: "+material.getLocalizedName()+" - Failed");
}
+
+ //Add Shapeless recipe for low tier alloys.
+ if (tVoltageMultiplier <= 30){
+ if (RecipeUtils.addShapedGregtechRecipe(inputStacks, outputStacks)){
+ Utils.LOG_INFO("Dust Shapeless Recipe: "+material.getLocalizedName()+" - Success");
+ }
+ else {
+ Utils.LOG_INFO("Dust Shapeless Recipe: "+material.getLocalizedName()+" - Failed");
+ }
+ }
+ }
+ }
}
- }
- }