#modloaded thermalexpansion

###################### 
#      Machines      #
######################

# Hardened Cell Frame
recipes.addShapedMirrored(<thermalexpansion:frame:129>, 
[
    [<ore:gearInvar>, <ore:circuitBasic>, <ore:gearInvar>], 
    [<thermalfoundation:material:514>, <thermalexpansion:frame:128>, <thermalfoundation:material:514>], 
    [<ore:gearInvar>, <ore:circuitBasic>, <ore:gearInvar>]
]);

# Reinforced Cell Frames
recipes.addShapedMirrored(<thermalexpansion:frame:130>, 
[
    [<ore:gearInvar>, <ore:circuitAdvanced>, <ore:gearInvar>], 
    [<thermalfoundation:material:513>, <thermalexpansion:frame:129>, <thermalfoundation:material:513>], 
    [<ore:gearInvar>, <ore:circuitAdvanced>, <ore:gearInvar>]
]);
mods.forestry.Carpenter.addRecipe(<thermalexpansion:frame:146>, 
    [
        [null, <ore:gearInvar>, null],
        [<ore:gearElectrum>, <thermalexpansion:frame:130>, <ore:gearElectrum>],
        [<ore:dustPyrotheum>, <thermalfoundation:material:515>, <ore:dustPyrotheum>]
    ], 
    40, <liquid:redstone> * 2000
);
mods.extendedcrafting.CombinationCrafting.addRecipe(<thermalexpansion:cell>.withTag({Level: 2 as byte}), 2000000, 100000, <thermalexpansion:frame:146>, [<ore:circuitAdvanced>]);
mods.jei.JEI.addItem(<thermalexpansion:cell>.withTag({Level: 2 as byte}));

# Signalum Cell Frames
mods.forestry.ThermionicFabricator.addCast(<thermalexpansion:frame:131>, 
    [
        [<ore:gearSignalum>, <ore:circuitElite>, <ore:gearSignalum>],
        [<thermalfoundation:material:515>, <thermalexpansion:frame:130>, <thermalfoundation:material:515>],
        [<ore:gearSignalum>, <ore:circuitElite>, <ore:gearSignalum>]
    ], <liquid:glass> * 4000
);
mods.forestry.Carpenter.addRecipe(<thermalexpansion:frame:147>, 
    [
        [null, <ore:gearElectrum>, null],
        [<ore:gearSignalum>, <thermalexpansion:frame:131>, <ore:gearSignalum>],
        [<ore:dustCryotheum>, <thermalfoundation:material:515>, <ore:dustCryotheum>]
    ], 
    40, <liquid:redstone> * 2000
);
mods.extendedcrafting.CombinationCrafting.addRecipe(<thermalexpansion:cell>.withTag({Level: 3 as byte}), 4000000, 200000, <thermalexpansion:frame:147>, [<ore:circuitElite>]);
mods.jei.JEI.addItem(<thermalexpansion:cell>.withTag({Level: 3 as byte}));

# Resonant Cell Frames
mods.forestry.ThermionicFabricator.addCast(<thermalexpansion:frame:132>, 
    [
        [<ore:gearEnderium>, <ore:circuitUltimate>, <ore:gearEnderium>],
        [<thermalfoundation:material:1028>, <thermalexpansion:frame:131>, <thermalfoundation:material:1028>],
        [<ore:gearEnderium>, <ore:circuitUltimate>, <ore:gearEnderium>]
    ], <liquid:glass> * 4000
);
mods.forestry.Carpenter.addRecipe(<thermalexpansion:frame:148>, 
    [
        [null, <ore:gearLumium>, null],
        [<ore:gearEnderium>, <thermalexpansion:frame:132>, <ore:gearEnderium>],
        [<ore:dustMana>, <thermalfoundation:material:515>, <ore:dustMana>]
    ], 
    40, <liquid:redstone> * 2000
);
mods.extendedcrafting.CombinationCrafting.addRecipe(<thermalexpansion:cell>.withTag({Level: 4 as byte}), 8000000, 400000, <thermalexpansion:frame:148>, [<ore:circuitUltimate>]);
mods.jei.JEI.addItem(<thermalexpansion:cell>.withTag({Level: 4 as byte}));

###################### 
#      Materials     #
######################

# Mana Dust
recipes.addShaped(0, <thermalfoundation:material:1028> * 2, 
[
    [<ore:powderMana>, <ore:dustPyrotheum>, <ore:powderMana>], 
    [<ore:dustPetrotheum>, <ore:dustMithril>, <ore:dustCryotheum>], 
    [<ore:powderMana>, <ore:dustAerotheum>, <ore:powderMana>]
]);

# Mana Infused Ingot & Block
mods.mekanism.compressor.addRecipe(<ore:ingotManasteel>, <gas:liquidosmium> * 20, <thermalfoundation:material:136>);
mods.mekanism.compressor.addRecipe(<botania:storage>, <gas:liquidosmium> * 180, <thermalfoundation:storage:8>);

# Gears
recipes.remove(<ore:gearDiamond>);
recipes.remove(<ore:gearEmerald>);
recipes.remove(<ore:gearPlatinum>);
recipes.remove(<ore:gearIridium>);
recipes.remove(<ore:gearMithril>);
recipes.remove(<ore:gearSteel>);
recipes.remove(<ore:gearInvar>);
recipes.remove(<ore:gearElectrum>);
recipes.remove(<ore:gearBronze>);
recipes.remove(<ore:gearConstantan>);
recipes.remove(<ore:gearSignalum>);
recipes.remove(<ore:gearLumium>);
recipes.remove(<ore:gearEnderium>);

###################### 
#      Liquids       #
######################

# Primal Mana
mods.tconstruct.Alloy.addRecipe(<liquid:mana> * 128, [<liquid:manasteel> * 18, <liquid:starmetal> * 18, <liquid:osgloglas> * 18, <liquid:astralsorcery.liquidstarlight> * 128, <liquid:experience> * 128]);
mods.tconstruct.Alloy.addRecipe(<liquid:mana> * 128, [<liquid:manasteel> * 18, <liquid:starmetal> * 18, <liquid:osgloglas> * 18, <liquid:astralsorcery.liquidstarlight> * 128, <liquid:essence> * 128]);

/*
mods.mekanism.sawmill.addRecipe(inputIngr0, outputItem0);
mods.mekanism.crusher.addRecipe(IIngredient inputStack, IItemStack outputStack);
mods.mekanism.crusher.removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack);
if (strict) { mods.mekanism.crusher.removeRecipe(outputItem0); }
mods.mekanism.crusher.addRecipe(inputIngr0, outputItem0);
mods.mekanism.crusher.addRecipe(ingot, <nuclearcraft:dust:8>);

mods.mekanism.compressor.addRecipe(IIngredient inputStack, @Optional IGasStack inputGas, IItemStack outputStack);
 */

// mods.mekanism.infuser.addRecipe("DIAMOND", 160, <botania:storage>, <thermalfoundation:storage:8>);

/*
for ironOre in oreDict.oreIron.items {
    mods.thermalexpansion.Pulverizer.addRecipe(<thermalfoundation:material> * 2, ironOre, 4000, <thermalfoundation:material:69>, 10);
}
*/

# Thermal Expansion Examples
# Induction Smelter
/*
for steelIngot in oreDict.ingotSteel.items {
    mods.thermalexpansion.InductionSmelter.addRecipe(<extendedcrafting:material>, steelIngot, <minecraft:coal> * 3, 15000);
    mods.thermalexpansion.InductionSmelter.addRecipe(<extendedcrafting:material> * 3, steelIngot * 3, <minecraft:coal_block>, 15000);
}
 */