/* SevTech: Ages Table Hydraulic Press Recipes Script This script handles custom integration control to a mod. 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.IIngredient; import crafttweaker.item.IItemStack; import crafttweaker.liquid.ILiquidStack; import crafttweaker.data.IData; import mods.modularmachinery.RecipeBuilder; import mods.modularmachinery.RecipePrimer; import scripts.crafttweaker.utils; // The machine name. static machineName as string = "hydraulic_press"; static machineRecipes as IItemStack[][IItemStack] = { * 4: [ * 4 ], // Compressed Steel * 4: [ metals.copper.ingot.firstItem * 4 ], // Compressed Copper * 4: [ metals.tin.ingot.firstItem * 4 ], // Compressed Tin * 4: [ metals.aluminum.ingot.firstItem * 4 ], // Compressed Aluminum * 4: [ metals.bronze.ingot.firstItem * 4 ], // Compressed Bronze * 4: [ metals.iron.ingot.firstItem * 4 ], // Compressed Iron * 4: [ * 2 ], // Compressed Meteoric Iron * 4: [ * 2 ], // Compressed Desh * 4: [ metals.titanium.ingot.firstItem * 4 ], // Compressed Titanium * 4: [ * 4 ], // Compressed Reinfored Crystal * 2: [ * 2 ], // Compressed Mercury * 2: [ * 2 ], // Compressed Carbon * 2: [ * 2 ], // Compressed Palladium * 2: [ metals.nickel.ingot.firstItem * 2 ], // Compressed Nickel * 2: [ * 2 ], // Compressed Magnesium * 2: [ * 2 ], // Compressed Crystal * 2: [ * 2 ], // Compressed Zinc * 2: [ * 2 ], // Compressed Tungsten * 2: [ * 2 ], // Compressed Dark Iron * 3: [ * 6 ], // Compressed Space Platinum * 2: [ * 2, * 2, * 2 ], // Heavy Duty Plate Tier 1 : [ , ], // Heavy Duty Plate Tier 2 : [ , ], // Heavy Duty Plate Tier 3 : [ , , * 4 ], // Heavy Duty Plate Tier 4 : [ , * 5 ], // Heavy Duty Plate Tier 5 : [ , * 5 ], // Heavy Duty Plate Tier 6 : [ , * 5], // Heavy Duty Plate Tier 7 : [ , * 5 ], // Heavy Duty Plate Tier 8 : [ , * 5 ], // Heavy Duty Plate Tier 9 : [ , * 5 ], // Heavy Duty Plate Tier 10 : [ * 3] // Iron Bucket }; function init() { for output, inputs in machineRecipes { var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, output.definition.id ~ "_" ~ output.metadata), machineName, 50) .addEnergyPerTickInput(100) .addFluidInput( * 50) .addItemOutput(output); for input in inputs { primer .addItemInput(input); } primer.build(); } }