//Basic tweaks for Beyond The Skies 
//By Migmag789
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.oredict.IOreDict;
import crafttweaker.oredict.IOreDictEntry;

#packmode normal

//Steel Casing
recipes.remove(<mekanism:basicblock:8>);
recipes.addShaped(<mekanism:basicblock:8>, 
	[[<ore:ingotSteel>, <ore:gemDiamond>, <ore:ingotSteel>], 
	[<ore:blockGlass>, <ore:ingotOsmium>, <ore:blockGlass>], 
	[<ore:ingotSteel>, <ore:gemDiamond>, <ore:ingotSteel>]
	]);

//Metallurgic Infuser
recipes.remove(<mekanism:machineblock:8>);
recipes.addShaped(<mekanism:machineblock:8>, 
	[[<ore:ingotOsmium>, <forestry:chipsets>, <ore:ingotOsmium>], 
	[<actuallyadditions:item_crystal:5>, <actuallyadditions:block_misc:9>, <actuallyadditions:item_crystal:5>], 
	[<ore:gearCopper>, <thermalfoundation:material:513>, <ore:gearCopper>]
	]);

//Sturdy Casing
recipes.remove(<forestry:sturdy_machine>);
recipes.addShaped(<forestry:sturdy_machine>, 
	[[<ore:reinforcedStone>, <ore:ingotBronze>, <ore:reinforcedStone>], 
	[<ore:ingotBronze>, null, <ore:ingotBronze>], 
	[<ore:reinforcedStone>, <ore:ingotBronze>, <ore:reinforcedStone>]
	]);

//Machine Frame
mods.jei.JEI.addDescription(<teslacorelib:machine_case>,"Used for MekGens's generators and Industrial Foregoing.");
recipes.removeShaped(<teslacorelib:machine_case>);
recipes.addShaped(<teslacorelib:machine_case>, 
	[[<actuallyadditions:item_crystal:4>, <actuallyadditions:item_crystal>, <actuallyadditions:item_crystal:4>], 
	[<ore:dustQuartz>, <ore:circuitBasic>, <ore:dustQuartz>], 
	[<ore:ingotAdvancedAlloy>, <techreborn:machine_casing>, <ore:ingotAdvancedAlloy>]
	]);

//Wind Generators
recipes.remove(<mekanismgenerators:generator:6>);
recipes.addShaped(<mekanismgenerators:generator:6>, 
	[[<ore:gearSteel>, <ore:circuitElite>, <ore:gearSteel>], 
	[<forestry:chipsets:1>, <actuallyadditions:item_misc:8>, <forestry:chipsets:1>], 
	[<teslacorelib:machine_case>, <techreborn:energycrystal>, <mekanism:basicblock:8>]
	]);

//AE2 Var
//Nothing actually

//Actually Additions var
var restonia = <actuallyadditions:item_crystal>;
var coil = <actuallyadditions:item_misc:7>;
var acoil = <actuallyadditions:item_misc:8>;
var eec = <actuallyadditions:item_crystal_empowered:4>;

//Other vars
var crook = <exnihilocreatio:crook_wood>;
var endstone = <minecraft:end_stone>;
var lavastone = <chisel:lavastone:*>;
var estitgc = <mysticalagriculture:titanium_essence>; //es = essence | tit = titanium | gc = galacticraft
var esziep = <mysticalagriculture:zinc_essence>; //es = essence | zi = zinc | ep = extraplanets
var estunep = <mysticalagriculture:tungsten_essence>; //es = essence | tun = tungsten | ep = extraplanets
var galg = <stevescarts:modulecomponents:49>;

//Energizer
recipes.remove(<actuallyadditions:block_energizer>);
recipes.addShaped(<actuallyadditions:block_energizer>, 
	[[restonia, null, restonia], 
	[acoil, <thermalexpansion:machine:9>, acoil], 
	[restonia, null, restonia]
	]);

//Solar Panel
recipes.remove(<mekanismgenerators:generator:1>);
recipes.addShaped(<mekanismgenerators:generator:1>, 
	[[null, <actuallyadditions:block_furnace_solar>, null], 
	[<mekanism:energytablet>, <mekanism:basicblock:8>, <mekanism:energytablet>], 
	[<teslacorelib:machine_case>, acoil, <techreborn:solar_panel>]
	]);

//Osmium Compressor
recipes.removeShaped(<mekanism:machineblock:1>);
recipes.addShaped(<mekanism:machineblock:1>, 
	[[<thermalfoundation:material:514>, <thermalfoundation:material:512>, <thermalexpansion:tank>], 
	[<techreborn:plates:2>, <mekanism:basicblock:8>, <techreborn:plates:2>], 
	[<ore:gearGold>, restonia, <ore:gearGold>]
	]);

//AE2 Inscriber
recipes.remove(<appliedenergistics2:inscriber>);
recipes.addShaped(<appliedenergistics2:inscriber>, 
	[[<ore:ingotRefinedIron>, <ore:craftingPiston>, <ore:plateSteel>], 
	[<ore:crystalFluix>, null, <ore:plateSteel>], 
	[<ore:ingotRefinedIron>, <ore:craftingPiston>, <ore:plateSteel>]
	]);

//RFTools Machine Frame
recipes.remove(<rftools:machine_frame>);
recipes.addShaped(<rftools:machine_frame>, 
	[[<ore:plateGold>, <ore:gearTin>, <ore:plateGold>], 
	[<ore:blockGlass>, <ore:blockRedstone>, <ore:blockGlass>], 
	[<ore:plateGold>, <ore:gearCopper>, <ore:plateGold>]
	]);

//End Stone Casing
recipes.remove(<skyresources:casing:10>);
recipes.addShaped(<skyresources:casing:10>, 
	[[endstone, lavastone, endstone], 
	[lavastone, endstone, lavastone], 
	[endstone, lavastone, endstone]
	]);

//Boiler casing
recipes.remove(<mekanism:basicblock2:7>);
recipes.addShaped(<mekanism:basicblock2:7>, 
	[[null, <ore:ingotIron>, null], 
	[<ore:ingotIron>, <ore:ingotSteel>, <ore:ingotIron>], 
	[null, <ore:ingotIron>, null]
	]);

//Flawless Calculator aka Philosopher Stone 2
recipes.remove(<calculator:flawlesscalculator>);
recipes.addShaped(<calculator:flawlesscalculator>, 
	[[<ore:circuitUltimate>, <calculator:calculatorscreen>, <ore:circuitUltimate>], 
	[<ore:gemDiamond>, <calculator:flawlessassembly>, <ore:gemDiamond>], 
	[<ore:circuitUltimate>, <calculator:material:8>, <ore:circuitUltimate>]
	]);

//ExtraPlanets Armor Tweaks
recipes.remove(<extraplanets:tier1_pressure_layer>);
recipes.addShaped(<extraplanets:tier1_pressure_layer>, 
	[[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>], 
	[<galacticraftcore:air_vent>, null, <galacticraftcore:air_vent>], 
	[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>]
	]);

recipes.remove(<extraplanets:tier2_pressure_layer>);
recipes.addShaped(<extraplanets:tier2_pressure_layer>, 
	[[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>], 
	[<galacticraftcore:air_vent>, <extraplanets:tier1_pressure_layer>, <galacticraftcore:air_vent>], 
	[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>]
	]);

recipes.remove(<extraplanets:tier3_pressure_layer>);
recipes.addShaped(<extraplanets:tier3_pressure_layer>, 
	[[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>], 
	[<galacticraftcore:air_vent>, <extraplanets:tier2_pressure_layer>, <galacticraftcore:air_vent>], 
	[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>]
	]);

recipes.remove(<extraplanets:tier4_pressure_layer>);
recipes.addShaped(<extraplanets:tier4_pressure_layer>, 
	[[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>], 
	[<galacticraftcore:air_vent>, <extraplanets:tier3_pressure_layer>, <galacticraftcore:air_vent>], 
	[<extraplanets:cloth>, <extraplanets:cloth>, <extraplanets:cloth>]
	]);

//Tweaking Draconic Core Recipe
recipes.remove(<draconicevolution:draconic_core>);
recipes.addShaped(<draconicevolution:draconic_core>, 
	[[<ore:ingotDraconium>, <ore:ingotTungsten>, <ore:ingotDraconium>], 
	[<ore:ingotTungsten>, <ore:ingotPlatinum>, <ore:ingotTungsten>], 
	[<ore:ingotDraconium>, <ore:ingotTungsten>, <ore:ingotDraconium>]
	]);

//End Cake
recipes.remove(<exnihilocreatio:block_end_cake>);
recipes.addShaped(<exnihilocreatio:block_end_cake>, 
	[[<minecraft:ender_eye>, galg, <minecraft:ender_eye>], 
	[galg, <actuallyadditions:item_food:8>, galg], 
	[<minecraft:ender_eye>, galg, <minecraft:ender_eye>]
	]);

//Universal Remote Craft
recipes.remove(<universalremote:item_universal_remote>);
recipes.addShaped(<universalremote:item_universal_remote>, 
	[[<ore:obsidian>, <fluxnetworks:fluxcore>, <ore:obsidian>], 
	[<fluxnetworks:fluxcore>, <ore:blockRedstone>, <fluxnetworks:fluxcore>], 
	[<ore:obsidian>, <fluxnetworks:fluxcore>, <ore:obsidian>]
	]);
