/* SevTech: Ages Natura Recipe Script This script handles the recipes for Natura. 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.betterwithmods.MiniBlocks; import mods.zenstages.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] = { * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], : [ [ [.firstItem, , .firstItem], [.firstItem, , .firstItem] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, .firstItem, ], [, .firstItem, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], * 3 : [ [ [, ], [, ], [, ] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ], * 3 : [ [ [, , ] ] ] }; static namedShapedRecipes as IIngredient[][][][string][IItemStack] = { }; /* Mirrored Recipes */ static mirroredRecipes as IIngredient[][][][IItemStack] = { * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], * 4: [ [ [null, null, ], [null, , ], [, , ] ] ], : [ [ [null, null, ], [null, , ], [, , ] ] ], : [ [ [null, null, ], [null, , ], [, , ] ] ], : [ [ [null, null, ], [null, , ], [, , ] ] ] }; 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[] = [ "natura:common/glass_bottle" ]; 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); recipeUtil.removeRecipes(removeRecipes); recipeUtil.removeRecipes(removeRegex); }