/* SevTech: Ages Extra Planets Recipe Script This script handles the recipes for Extra Planets. 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.stages.stageFour; import scripts.crafttweaker.stages.stageFive; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { : [ [ [, null, ], [, null, ], [, null, ] ] ], : [ [ [metals.lead.plate, , metals.lead.plate], [metals.lead.plate, null, metals.lead.plate], [metals.lead.plate, , metals.lead.plate] ] ], : [ [ [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, null, metals.aluminum.plate] ] ], : [ [ [metals.aluminum.plate, null, metals.aluminum.plate], [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, metals.aluminum.plate, metals.aluminum.plate] ] ], : [ [ [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, null, metals.aluminum.plate], [metals.aluminum.plate, null, metals.aluminum.plate] ] ], : [ [ [, null, ], [metals.aluminum.plate, null, metals.aluminum.plate] ] ], : [ [ [metals.nickel.ingot, metals.nickel.ingot, metals.nickel.ingot], [metals.nickel.ingot, , metals.nickel.ingot], [, , ] ] ], : [ [ [metals.uranium.ingot, , metals.uranium.ingot], [, , ], [metals.uranium.ingot, , metals.uranium.ingot] ] ], : [ [ [, , ], [, metals.uranium.ingot, ], [, , ] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ] }; static namedShapedRecipes as IIngredient[][][][string][IItemStack] = { // ================================== // Stage Four // ================================== .withTag({electricity: 50000.0f}): { Utils.genRecipeName(stageFour, ): [ [ [null, , null], [, , ], [null, , null] ] ] }, .withTag({electricity: 50000.0f}): { Utils.genRecipeName(stageFour, ): [ [ [null, , null], [, , ], [null, , null] ] ] }, .withTag({electricity: 50000.0f}): { Utils.genRecipeName(stageFour, ): [ [ [null, , null], [, , ], [null, , null] ] ] }, .withTag({electricity: 50000.0f}): { Utils.genRecipeName(stageFour, ): [ [ [null, , null], [, , ], [null, , null] ] ] } }; /* Mirrored Recipes */ static mirroredRecipes as IIngredient[][][][IItemStack] = { }; static namedMirroredRecipes as IIngredient[][][][string][IItemStack] = { }; /* Shapeless Recipes */ static shapelessRecipes as IIngredient[][][IItemStack] = { }; static namedShapelessRecipes as IIngredient[][][string][IItemStack] = { }; /* Recipe Removals */ static removeRecipes as IItemStack[] = [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]; static removeRegex as string[] = [ "extraplanets:chest", "extraplanets:chest_alt.*" ]; static removeFurnace as IIngredient[] = [ , , , , , , , , , , , , , , , , ]; static removeFurnaceInput as IIngredient[IIngredient] = { : }; 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); // Removals recipeUtil.removeRecipes(removeRecipes); recipeUtil.removeRecipes(removeRegex); recipeUtil.removeFurnace(removeFurnace); recipeUtil.removeFurnace(removeFurnaceInput); }