Skip to content

Instantly share code, notes, and snippets.

@KAfable
Created June 30, 2019 21:22
Show Gist options
  • Save KAfable/b00805b8e8f40dfc101b41f34327bfb9 to your computer and use it in GitHub Desktop.
Save KAfable/b00805b8e8f40dfc101b41f34327bfb9 to your computer and use it in GitHub Desktop.
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
print("--- CraftingCoreUpgrade.zs initialized ---");
#Crafting Core Recipes
recipes.remove(<extendedcrafting:crafting_core>);
recipes.addShaped(<extendedcrafting:crafting_core>, [
[<ore:plateBlackSteel>, <extendedcrafting:material:10>, <ore:plateBlackSteel>],
[<extendedcrafting:material:16>, <actuallyadditions:block_empowerer>, <extendedcrafting:material:16>],
[<ore:plateBlackSteel>, <enderio:item_endergy_conduit:10>, <ore:plateBlackSteel>]]);
var outputInputMap as IIngredient[][IItemStack] = {
#Empowered Canola Seed
<actuallyadditions:item_misc:24> : [
<actuallyadditions:item_misc:23>, //crystallized canola seed
<actuallyadditions:item_canola_seed>,
<actuallyadditions:item_canola_seed>,
<actuallyadditions:item_canola_seed>,
<actuallyadditions:item_canola_seed>
],
#Empowered Restonia
<actuallyadditions:block_crystal_empowered> : [
<actuallyadditions:block_crystal>,
<ore:ingotRedAlloy>,
<ore:gemAlmandine>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "sulfuric_acid", Amount: 1000}}),
<extendedcrafting:material:19> //conflux component
],
#Empowered Restonia Gear
<moreplates:empowered_restonia_gear> : [
<moreplates:restonia_gear>, //input
<ore:blockAlmandine>,
<ore:blockRedAlloy>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "tritium", Amount: 1000}}),
<extendedcrafting:material:13>
],
#Empowered Palis
<actuallyadditions:block_crystal_empowered:1> : [
<actuallyadditions:block_crystal:1>,
<ore:gemSapphire>,
<ore:ingotMithril>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "water", Amount: 1000}}),
<extendedcrafting:material:16>
],
#Empowered Palis Gear
<moreplates:empowered_palis_gear>: [
<moreplates:palis_gear>,
<ore:blockSapphire>,
<ore:blockMithril>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "osmiridium", Amount: 1000}}),
<extendedcrafting:material:10>
],
#Empowered Diamatine
<actuallyadditions:block_crystal_empowered:2> : [
<actuallyadditions:block_crystal:2>,
<extendedcrafting:material:40>,
<extendedcrafting:material:24>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "nitrogen_dioxide", Amount: 1000}}),
<extendedcrafting:material:18>
],
#Empowered Diamatine Gear
<moreplates:empowered_diamatine_gear> : [
<moreplates:diamatine_gear>,
<extendedcrafting:storage:6>,
<extendedcrafting:storage:3>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "noble_gases", Amount: 1000}}),
<extendedcrafting:material:12>
],
#Empowered Void Crystal
<actuallyadditions:block_crystal_empowered:3> : [
<actuallyadditions:block_crystal:3>,
<ore:gemQuartzBlack>,
<ore:ingotDarkSteel>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "carbon", Amount: 1000}}),
<extendedcrafting:material:15>
],
#Empowered Void Crystal Gear
<moreplates:empowered_void_gear> : [
<moreplates:void_gear>,
<ore:blockQuartzBlack>,
<ore:blockDarkSteel>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "naquadria", Amount: 1000}}),
<extendedcrafting:material:9>
],
#Empowered Emeradic
<actuallyadditions:block_crystal_empowered:4> : [
<actuallyadditions:block_crystal:4>,
<contenttweaker:stabilizeduranium>,
<ore:ingotVibrantAlloy>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "argon", Amount: 1000}}),
<extendedcrafting:material:17>
],
#Empowered Emerald Gear
<moreplates:empowered_emeradic_gear>: [
<moreplates:emeradic_gear>,
<ore:blockUranium>,
<ore:blockVibrantAlloy>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "krypton", Amount: 1000}}),
<extendedcrafting:material:11>
],
#Empowered Enori
<actuallyadditions:block_crystal_empowered:5> : [
<actuallyadditions:block_crystal:5>,
<ore:gemApatite>,
<ore:ingotEndSteel>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "helium", Amount: 1000}}),
<extendedcrafting:material:14>
],
#Empowered Enori Gear
<moreplates:empowered_enori_gear> : [
<moreplates:enori_gear>,
<ore:blockApatite>,
<ore:blockEndSteel>,
<metaitem:fluid_cell>.withTag({Fluid: {FluidName: "helium3", Amount: 1000}}),
<extendedcrafting:material:8>
]
};
for output, inputArray in outputInputMap {
var input as IItemStack = inputArray[0];
mods.extendedcrafting.CombinationCrafting.addRecipe(
output,
4000000,
400000,
input, [
inputArray[1],
inputArray[2],
inputArray[3],
inputArray[4]
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment