diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-12 12:55:27 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-12 12:55:27 +1000 |
commit | d0dd7513435c54f17d800ec48cf50f75d1b8628b (patch) | |
tree | 26c1902d0b39966039358b9dba6e524b90293865 /src/Java/gtPlusPlus/xmod/gregtech/loaders | |
parent | 051a002d043d9e307dda4d92732f5ef2832cf146 (diff) | |
download | GT5-Unofficial-d0dd7513435c54f17d800ec48cf50f75d1b8628b.tar.gz GT5-Unofficial-d0dd7513435c54f17d800ec48cf50f75d1b8628b.tar.bz2 GT5-Unofficial-d0dd7513435c54f17d800ec48cf50f75d1b8628b.zip |
+ Added Strontium processing chains.
+ Added cutting machine recipes for Blocks -> Plates for GT++ materials.
% Adjusted Rare Earth Sifting to no longer give Gd, Yb, Sm instead now provides small ore dust, which can be processed for Yb, Sm and Sr.
% Adjusted Strontium RGB and texture set slightly.
% Arceus Alloy 2B now requires Strontium as a component.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java index f705ac9673..007f390112 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java @@ -41,7 +41,9 @@ public class RecipeGen_Plates extends RecipeGen_Base { final ItemStack shape_Mold = ItemList.Shape_Mold_Plate.get(0); final ItemStack plate_Single = material.getPlate(1); final ItemStack plate_SingleTwo = material.getPlate(2); + final ItemStack plate_SingleNine = material.getPlate(9); final ItemStack plate_Double = material.getPlateDouble(1); + final ItemStack block = material.getBlock(1); Logger.WARNING("Generating Plate recipes for "+material.getLocalizedName()); @@ -82,6 +84,19 @@ public class RecipeGen_Plates extends RecipeGen_Base { else { Logger.WARNING("Alloy Smelter Recipe: "+material.getLocalizedName()+" - Failed"); } + //Cutting Machine + if (ItemUtils.checkForInvalidItems(block) && ItemUtils.checkForInvalidItems(plate_Single)) + if (GT_Values.RA.addCutterRecipe( + block, + null, + plate_SingleNine, + (int) Math.max(material.getMass() * 10L, 1L), + material.vVoltageMultiplier)){ + Logger.WARNING("Cutting Machine Recipe: "+material.getLocalizedName()+" - Success"); + } + else { + Logger.WARNING("ACutting Machine Recipe: "+material.getLocalizedName()+" - Failed"); + } //Making Double Plates |