/* SevTech: Ages Actually Additions Recipe Script This script handles the recipes for Actually Additions. Note: These scripts are created and for the usage in SevTech: Ages and other modpacks curated by DarkPacks. You can use these scripts for reference and for learning but not for copying and pasting and claiming as your own. */ import crafttweaker.item.IItemStack; import crafttweaker.item.IIngredient; import mods.zenstages.Utils; import scripts.crafttweaker.utils; import scripts.crafttweaker.craftingUtils; import scripts.crafttweaker.stages.stageZero; import scripts.crafttweaker.stages.stageOne; import scripts.crafttweaker.stages.stageTwo; import scripts.crafttweaker.stages.stageThree; import scripts.crafttweaker.stages.stageFour; import scripts.crafttweaker.stages.stageFive; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { : [ [ [, null, ], [, null, ], [, , ] ] ], : [ [ [null, , null], [, craftingUtils.getBucketAndTankIngredientFromName("xpjuice"), ], [null, , null] ] ], : [ [ [, null, ], [, null, ], [, , ] ] ], // This is not a real pizze (And just because someone gave me a hard time on how I spell pizze (assumptions about my spelling were made) // I'm going to leave it in here and people are going to have to deal with it) just FYI. It does not have olives on it but chat bullied me // and now it has meatballs and chili peppers instead. Thanks Obama. I'm also not sorry. : [ [[, , ], [, , ], [, , ]] ], // Ant Anne's Best Chocolate cookies! * 3 : [ [ [], [] ] ], // I didn't have red ants to put on top since the item has little red dots on. : [ [ [craftingUtils.getBucketAndTankIngredientFromName("milk"), craftingUtils.getBucketAndTankIngredientFromName("milk"), craftingUtils.getBucketAndTankIngredientFromName("milk")], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [metals.compressedIron.plate, , metals.compressedIron.plate], [, , ], [metals.compressedIron.ingot, metals.compressedIron.plate, metals.compressedIron.ingot] ] ], : [ [ [metals.compressedIron.plate, , metals.compressedIron.plate], [, , ], [metals.compressedIron.plate, , metals.compressedIron.plate] ] ], : [ [ [metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate], [, , ], [metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate] ] ], : [ [ [metals.compressedIron.plate, , metals.compressedIron.plate], [, , ], [metals.compressedIron.ingot, , metals.compressedIron.ingot] ] ], : [ [ [metals.compressedIron.ingot, , metals.compressedIron.ingot], [metals.compressedIron.gear, , metals.compressedIron.gear], [metals.compressedIron.ingot, , metals.compressedIron.ingot] ] ], : [ [ [null, , ], [, metals.iron.rod, ], [, , null] ] ], : [ [ [null, , ], [, metals.compressedIron.rod, ], [, , null] ] ], : [ [ [null, , null], [metals.nickel.plate, , metals.nickel.plate], [metals.nickel.plate, metals.nickel.plate, metals.nickel.plate] ] ], : [ [ [null, , null], [metals.nickel.plate, , metals.nickel.plate], [metals.nickel.plate, metals.nickel.plate, metals.nickel.plate] ] ], : [ [ [null, , null], [metals.invar.plate, , metals.invar.plate], [metals.invar.plate, metals.invar.plate, metals.invar.plate] ] ], : [ [ [null, , null], [metals.invar.plate, , metals.invar.plate], [metals.invar.plate, metals.invar.plate, metals.invar.plate] ] ], : [ [ [null, , null], [metals.silver.plate, , metals.silver.plate], [metals.silver.plate, metals.silver.plate, metals.silver.plate] ] ], : [ [ [metals.iron.plate, .firstItem, metals.iron.plate], [.firstItem, , .firstItem], [metals.iron.plate, .firstItem, metals.iron.plate] ] ], : [ [ [metals.modularium.plate, , metals.modularium.plate], [metals.modularium.plate, , metals.modularium.plate], [metals.modularium.plate, , metals.modularium.plate] ] ], : [ [ [, metals.iron.plate, ], [, , ], [, , ] ] ], : [ [ [, metals.iron.plate, ], [, , ], [, , ] ] ], : [ [ [, metals.modularium.plate, ], [metals.modularium.plate, , metals.modularium.plate], [, metals.modularium.plate, ] ] ], : [ [ [, , ], [metals.nickel.plate, null, metals.nickel.plate], [, , ] ] ], : [ [ [, , ], [metals.modularium.plate, null, metals.modularium.plate], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [null, , null] ] ], : [ [ [metals.nickel.plate, , metals.nickel.plate], [, metals.redstoneAlloy.plate, ], [metals.nickel.plate, , metals.nickel.plate] ] ], : [ [ [metals.nickel.plate, , metals.nickel.plate], [, , ], [metals.nickel.plate, , metals.nickel.plate] ] ], : [ [ [metals.modularium.plate, , metals.modularium.plate], [, , ], [metals.modularium.plate, , metals.modularium.plate] ] ], : [ [ [, metals.platinum.plate, ], [metals.platinum.plate, , metals.platinum.plate], [, metals.platinum.plate, ] ] ], : [ [ [, , ], [, .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(1)).ench}), ], [, , ] ] ], : [ [ [, metals.redstoneAlloy.plate, ], [metals.redstoneAlloy.plate, .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(3)).ench}), metals.redstoneAlloy.plate], [, metals.redstoneAlloy.plate, ] ] ], : [ [ [metals.platinum.plate, , metals.platinum.plate], [metals.nickel.plate, , metals.nickel.plate], [metals.platinum.plate, , metals.platinum.plate] ] ], : [ [ [metals.platinum.plate, , metals.platinum.plate], [, , ], [metals.platinum.plate, , metals.platinum.plate] ] ], : [ [ [, , ], [metals.nickel.plate, , metals.nickel.plate], [, , ] ] ], : [ [ [, null, null], [null, metals.nickel.rod, null], [null, null, metals.nickel.rod] ] ], : [ [ [, , ], [, , ], [, , ] ] ], * 2: [ [ [, , ], [, , ], [, , ] ] ], : [ [ [null, , null], [null, , null], [, metals.nickel.plate, ] ] ], : [ [ [, , ], [, .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(1)).ench}), ], [, , ] ] ], : [ [ [, , ], [, metals.nickel.plate, ], [, , ] ] ], : [ [ [null, , ], [, , ], [, , null] ] ], : [ [ [null, , ], [, , ], [, , null] ] ], : [ [ [, , ], [null, null, ], [metals.compressedIron.ingot, , metals.compressedIron.ingot] ] ], : [ [ [null, , null], [, .withTag({Fluid: {FluidName: "water", Amount: 1000}}), ], [null, , null] ], [ [null, , null], [, craftingUtils.getBucketAndTankIngredient(), ], [null, , null] ] ], : [ [ [, ], [, ] ] ] }; static namedShapedRecipes as IIngredient[][][][string][IItemStack] = { }; /* Mirrored Recipes */ static mirroredRecipes as IIngredient[][][][IItemStack] = { }; static namedMirroredRecipes as IIngredient[][][][string][IItemStack] = { }; /* Shapeless Recipes */ static shapelessRecipes as IIngredient[][][IItemStack] = { : [ [, ] ], : [ [] ], : [ [, , .transformReplace()], [, , craftingUtils.getBucketAndTankIngredient()], [, , .withTag({Fluid: {FluidName: "water", Amount: 1000}})] ] }; static namedShapelessRecipes as IIngredient[][][string][IItemStack] = { }; /* Furnace Recipes */ static furnaceRecipes as IIngredient[][IItemStack] = { : [] }; /* Recipe Removals */ static removeRecipes as IItemStack[] = [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]; static removeFurnace as IIngredient[] = [ , ]; function initDrillRecipe() { recipes.addShapeless("colored_drill", , [.marked("drill"), .marked("plastic")], function(out, ins, cInfo) { var drillMeta = 15 - ins.plastic.metadata; return out.definition.makeStack(drillMeta).withTag(ins.drill.tag); }, null ); } function init() { // Un-named recipes recipeUtil.process(shapedRecipes, false); recipeUtil.process(mirroredRecipes, true); recipeUtil.process(shapelessRecipes); // Named recipes recipeUtil.processNamed(namedShapedRecipes, false); recipeUtil.processNamed(namedMirroredRecipes, true); recipeUtil.processNamed(namedShapelessRecipes); // Furnace recipes recipeUtil.processFurnace(furnaceRecipes); recipeUtil.removeRecipes(removeRecipes); recipeUtil.removeFurnace(removeFurnace); // Init the drill recipe scripts.crafttweaker.recipes.mods.actuallyadditions.initDrillRecipe(); }