#Name: GT Compat.zs
#Author: TechnoParadox
print("Initializing 'GT Compat.zs'...");


#Restore ore dict to plates
val copper = <ore:plateCopper>;
val lead = <ore:plateLead>;
val tin = <ore:plateLead>;

copper.add(<Railcraft:part.plate:3>);
lead.add(<Railcraft:part.plate:4>);
tin.add(<Railcraft:part.plate:2>);



#Rolling Machine
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17327>*4, [[<ore:ingotRefinedObsidian>, <ore:ingotRefinedObsidian>, null], [<ore:ingotRefinedObsidian>, <ore:ingotRefinedObsidian>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17326>*4, [[<ore:ingotRefinedGlowstone>, <ore:ingotRefinedGlowstone>, null], [<ore:ingotRefinedGlowstone>, <ore:ingotRefinedGlowstone>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17085>*4, [[<ore:ingotPlatinum>, <ore:ingotPlatinum>, null], [<ore:ingotPlatinum>, <ore:ingotPlatinum>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17331>*4, [[<ore:ingotMithril>, <ore:ingotMithril>, null], [<ore:ingotMithril>, <ore:ingotMithril>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17302>*4, [[<ore:ingotInvar>, <ore:ingotInvar>, null], [<ore:ingotInvar>, <ore:ingotInvar>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17054>*4, [[<ore:ingotSilver>, <ore:ingotSilver>, null], [<ore:ingotSilver>, <ore:ingotSilver>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17300>*4, [[<ore:ingotBronze>, <ore:ingotBronze>, null], [<ore:ingotBronze>, <ore:ingotBronze>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17321>*4, [[<ore:ingotEnderium>, <ore:ingotEnderium>, null], [<ore:ingotEnderium>, <ore:ingotEnderium>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17034>*4, [[<ore:ingotNickel>, <ore:ingotNickel>, null], [<ore:ingotNickel>, <ore:ingotNickel>, null], [null, null, null]]);
mods.railcraft.Rolling.addShaped(<gregtech_addon:metaitem_1:17086>*4, [[<ore:ingotGold>, <ore:ingotGold>, null], [<ore:ingotGold>, <ore:ingotGold>, null], [null, null, null]]);

#Early Gears
recipes.remove(<ThermalFoundation:material:12>);
recipes.remove(<ThermalFoundation:material:13>);
recipes.remove(<ThermalFoundation:material:128>);
recipes.remove(<ThermalFoundation:material:129>);
recipes.remove(<ThermalFoundation:material:131>);
recipes.remove(<ThermalFoundation:material:132>);
recipes.remove(<ThermalFoundation:material:135>);
recipes.remove(<ThermalFoundation:material:136>);
recipes.remove(<ThermalFoundation:material:137>);

recipes.addShaped(<ThermalFoundation:material:12>, [[null, <ore:ingotIron>, null], [<ore:ingotIron>, <ore:gearStone>, <ore:ingotIron>], [null, <ore:ingotIron>, null]]);
recipes.addShaped(<ThermalFoundation:material:13>, [[null, <ore:ingotGold>, null], [<ore:ingotGold>, <ore:gearStone>, <ore:ingotGold>], [null, <ore:ingotGold>, null]]);
recipes.addShaped(<ThermalFoundation:material:128>, [[null, <ore:ingotCopper>, null], [<ore:ingotCopper>, <ore:gearStone>, <ore:ingotCopper>], [null, <ore:ingotCopper>, null]]);
recipes.addShaped(<ThermalFoundation:material:129>, [[null, <ore:ingotTin>, null], [<ore:ingotTin>, <ore:gearStone>, <ore:ingotTin>], [null, <ore:ingotTin>, null]]);
recipes.addShaped(<ThermalFoundation:material:131>, [[null, <ore:ingotLead>, null], [<ore:ingotLead>, <ore:gearStone>, <ore:ingotLead>], [null, <ore:ingotLead>, null]]);
recipes.addShaped(<ThermalFoundation:material:132>, [[null, <ore:ingotNickel>, null], [<ore:ingotNickel>, <ore:gearStone>, <ore:ingotNickel>], [null, <ore:ingotNickel>, null]]);
recipes.addShaped(<ThermalFoundation:material:135>, [[null, <ore:ingotElectrum>, null], [<ore:ingotElectrum>, <ore:gearStone>, <ore:ingotElectrum>], [null, <ore:ingotElectrum>, null]]);
recipes.addShaped(<ThermalFoundation:material:136>, [[null, <ore:ingotInvar>, null], [<ore:ingotInvar>, <ore:gearStone>, <ore:ingotInvar>], [null, <ore:ingotInvar>, null]]);
recipes.addShaped(<ThermalFoundation:material:137>, [[null, <ore:ingotBronze>, null], [<ore:ingotBronze>, <ore:gearStone>, <ore:ingotBronze>], [null, <ore:ingotBronze>, null]]);

#Advanced Gear
recipes.remove(<ThermalFoundation:material:134>);
recipes.remove(<ThermalFoundation:material:130>);
recipes.remove(<ThermalFoundation:material:133>);
recipes.remove(<ThermalFoundation:material:138>);
recipes.remove(<ThermalFoundation:material:139>);
recipes.remove(<ThermalFoundation:material:140>);


recipes.addShaped(<ThermalFoundation:material:134>, [[null, <ore:ingotMithril>, null], [<ore:ingotMithril>, <ore:gearIron>, <ore:ingotMithril>], [null, <ore:ingotMithril>, null]]);
recipes.addShaped(<ThermalFoundation:material:130>, [[null, <ore:ingotSilver>, null], [<ore:ingotSilver>, <ore:gearIron>, <ore:ingotSilver>], [null, <ore:ingotSilver>, null]]);
recipes.addShaped(<ThermalFoundation:material:133>, [[null, <ore:ingotPlatinum>, null], [<ore:ingotPlatinum>, <ore:gearIron>, <ore:ingotPlatinum>], [null, <ore:ingotPlatinum>, null]]);
recipes.addShaped(<ThermalFoundation:material:138>, [[null, <ore:ingotSignalum>, null], [<ore:ingotSignalum>, <ore:gearIron>, <ore:ingotSignalum>], [null, <ore:ingotSignalum>, null]]);
recipes.addShaped(<ThermalFoundation:material:139>, [[null, <ore:ingotLumium>, null], [<ore:ingotLumium>, <ore:gearIron>, <ore:ingotLumium>], [null, <ore:ingotLumium>, null]]);
recipes.addShaped(<ThermalFoundation:material:140>, [[null, <ore:ingotEnderium>, null], [<ore:ingotEnderium>, <ore:gearIron>, <ore:ingotEnderium>], [null, <ore:ingotEnderium>, null]]);

print("Initialized 'GT Compat.zs'");