84 lines
2.5 KiB
Plaintext
84 lines
2.5 KiB
Plaintext
/*
|
|
SevTech: Ages RFTools Recipe Script
|
|
|
|
This script handles the recipes for RFTools.
|
|
|
|
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;
|
|
|
|
/*
|
|
Shaped Recipes
|
|
*/
|
|
static shapedRecipes as IIngredient[][][][IItemStack] = {
|
|
<rftools:machine_base:0>: [
|
|
[
|
|
[<pneumaticcraft:plastic:8>, metals.invar.plate, <pneumaticcraft:plastic:8>]
|
|
]
|
|
],
|
|
<rftools:matter_transmitter:0>: [
|
|
[
|
|
[<galacticraftplanets:item_basic_mars:5>, <mekanism:teleportationcore:0>, <galacticraftplanets:item_basic_mars:5>],
|
|
[<galacticraftcore:cheese_curd:0>, <rftools:machine_frame:0>, <galacticraftcore:cheese_curd:0>],
|
|
[metals.platinum.plate, metals.platinum.plate, metals.platinum.plate]
|
|
]
|
|
],
|
|
<rftools:matter_receiver:0>: [
|
|
[
|
|
[metals.platinum.plate, metals.platinum.plate, metals.platinum.plate],
|
|
[<galacticraftcore:cheese_curd:0>, <rftools:machine_frame:0>, <galacticraftcore:cheese_curd:0>],
|
|
[<galacticraftplanets:item_basic_mars:5>, <mekanism:teleportationcore:0>, <galacticraftplanets:item_basic_mars:5>]
|
|
]
|
|
],
|
|
<rftools:machine_frame:0>: [
|
|
[
|
|
[metals.invar.rod, <pneumaticcraft:plastic:8>, metals.invar.rod],
|
|
[<pneumaticcraft:plastic:8>, null, <pneumaticcraft:plastic:8>],
|
|
[metals.invar.rod, <pneumaticcraft:plastic:8>, metals.invar.rod]
|
|
]
|
|
]
|
|
};
|
|
|
|
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] = {};
|
|
|
|
static namedShapelessRecipes as IIngredient[][][string][IItemStack] = {};
|
|
|
|
/*
|
|
Recipe Removals
|
|
*/
|
|
static removeRecipes as IItemStack[] = [
|
|
<rftools:machine_base:0>,
|
|
<rftools:machine_frame:0>,
|
|
<rftools:matter_receiver:0>,
|
|
<rftools:matter_transmitter:0>
|
|
];
|
|
|
|
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);
|
|
}
|