# Author: Atricos
print("STARTING OpenBlocks.zs");

# Sponge
recipes.remove(<OpenBlocks:sponge>);
recipes.addShaped(<OpenBlocks:sponge>, [[<EnderIO:itemMaterial:4>,<EnderIO:itemMaterial:4>,<EnderIO:itemMaterial:4>],[<EnderIO:itemAlloy:2>,<ThermalExpansion:Sponge:1>,<EnderIO:itemAlloy:2>],[<EnderIO:itemMaterial:4>,<EnderIO:itemMaterial:4>,<EnderIO:itemMaterial:4>]]);

# XP Manipulating Machines
recipes.remove(<OpenBlocks:autoenchantmenttable>);
recipes.addShaped(<OpenBlocks:autoenchantmenttable>, [[<ore:ingotInvar>,<minecraft:enchanting_table>,<ore:ingotInvar>],[<minecraft:enchanted_book>,<MineFactoryReloaded:machineblock:0>,<minecraft:enchanted_book>],[<minecraft:obsidian>,<EnderIO:itemFrankenSkull:1>,<minecraft:obsidian>]]);
recipes.remove(<OpenBlocks:autoanvil>);
recipes.addShaped(<OpenBlocks:autoanvil>, [[<EnderIO:itemAlloy:0>,<EnderIO:blockExperienceObelisk>,<EnderIO:itemAlloy:0>],[<EnderIO:itemAlloy:0>,<EnderIO:blockDarkSteelAnvil:0>,<EnderIO:itemAlloy:0>],[null,<OpenBlocks:xpbottler>,null]]);
recipes.remove(<OpenBlocks:xpbottler>);
recipes.addShaped(<OpenBlocks:xpbottler>, [[<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>],[<EnderIO:itemAlloy:0>,<minecraft:glass_bottle>,<EnderIO:itemAlloy:0>],[<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>]]);
recipes.remove(<OpenBlocks:xpshower>);
recipes.addShaped(<OpenBlocks:xpshower>, [[<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>],[null,null,<OpenBlocks:xpdrain>]]);

# Block Placer/Breaker
recipes.remove(<OpenBlocks:blockbreaker>);
recipes.addShaped(<OpenBlocks:blockbreaker>, [[<EnderIO:itemAlloy:6>,<minecraft:stone>,<EnderIO:itemAlloy:6>],[<minecraft:stone>,<MineFactoryReloaded:machine.0:7>,<minecraft:diamond_pickaxe>],[<EnderIO:itemAlloy:6>,<minecraft:stone>,<EnderIO:itemAlloy:6>]]);
recipes.remove(<OpenBlocks:blockPlacer>);
recipes.addShaped(<OpenBlocks:blockPlacer>, [[<EnderIO:itemAlloy:6>,<minecraft:stone>,<EnderIO:itemAlloy:6>],[<minecraft:stone>,<MineFactoryReloaded:machine.2:7>,<minecraft:piston>],[<EnderIO:itemAlloy:6>,<minecraft:stone>,<EnderIO:itemAlloy:6>]]);

# Item Manipulators
recipes.remove(<OpenBlocks:itemDropper>);
recipes.addShaped(<OpenBlocks:itemDropper>, [[<ore:cobblestone>,<ore:cobblestone>,<ore:cobblestone>],[<minecraft:hopper>,<minecraft:dropper>,<ore:cobblestone>],[<ore:cobblestone>,<ore:cobblestone>,<ore:cobblestone>]]);
recipes.remove(<OpenBlocks:vacuumhopper>);
recipes.addShaped(<OpenBlocks:vacuumhopper>, [[null,<minecraft:obsidian>,null],[<minecraft:hopper>,<minecraft:ender_eye>,<minecraft:hopper>],[null,<minecraft:obsidian>,null]]);

# Other Functional Blocks
recipes.remove(<OpenBlocks:sprinkler>);
recipes.addShaped(<OpenBlocks:sprinkler>, [[<minecraft:gold_nugget>,<minecraft:iron_bars>,<minecraft:gold_nugget>],[<minecraft:gold_nugget>,<minecraft:iron_bars>,<minecraft:gold_nugget>],[<minecraft:gold_nugget>,<minecraft:iron_bars>,<minecraft:gold_nugget>]]);
recipes.remove(<OpenBlocks:fan>);
recipes.addShaped(<OpenBlocks:fan>, [[<minecraft:iron_ingot>,<ore:blockGlass>,<minecraft:iron_ingot>],[null,<EnderIO:blockDarkIronBars>,null],[<minecraft:iron_ingot>,<ore:blockGlass>,<minecraft:iron_ingot>]]);

# Hang Glider
recipes.remove(<OpenBlocks:generic:0>);
recipes.addShaped(<OpenBlocks:generic:0> * 2, [[null,<minecraft:stick>,<ironbackpacks:treatedLeather>],[<minecraft:stick>,<ironbackpacks:treatedLeather>,<ironbackpacks:treatedLeather>],[<ironbackpacks:treatedLeather>,<ironbackpacks:treatedLeather>,<ironbackpacks:treatedLeather>]]);
recipes.addShaped(<OpenBlocks:generic:0> * 2, [[<ironbackpacks:treatedLeather>,<minecraft:stick>,null],[<ironbackpacks:treatedLeather>,<ironbackpacks:treatedLeather>,<minecraft:stick>],[<ironbackpacks:treatedLeather>,<ironbackpacks:treatedLeather>,<ironbackpacks:treatedLeather>]]);

# Other items
recipes.remove(<OpenBlocks:luggage>);
recipes.addShaped(<OpenBlocks:luggage>, [[<ore:plankWood>,<ore:logWood>,<ore:plankWood>],[<ore:logWood>,<IronChest:BlockIronChest:0>,<ore:logWood>],[<ore:plankWood>,<minecraft:leather_leggings>,<ore:plankWood>]]);
recipes.remove(<OpenBlocks:slimalyzer>);
recipes.addShaped(<OpenBlocks:slimalyzer>, [[<EnderIO:itemAlloy:0>,<ore:paneGlassBlack>,<EnderIO:itemAlloy:0>],[<EnderIO:itemAlloy:0>,<TConstruct:slime.gel:1>,<EnderIO:itemAlloy:0>],[<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>,<EnderIO:itemAlloy:0>]]);
recipes.remove(<OpenBlocks:sleepingBag>);
recipes.addShaped(<OpenBlocks:sleepingBag>, [[<minecraft:carpet:*>,<minecraft:carpet:*>,<minecraft:carpet:*>],[<minecraft:wool:*>,<minecraft:bed>,<minecraft:wool:*>],[<minecraft:wool:*>,<minecraft:wool:*>,<minecraft:wool:*>]]);

# Healer Block
val orb = <ore:CreativeOrbs>;
orb.add(<AWWayofTime:creativeFiller>);
orb.add(<Avaritia:Orb_Armok>);
recipes.addShaped(<OpenBlocks:heal>, [[<customthings:item:13>,<customthings:block0:3>,<customthings:item:13>],[<customthings:block0:3>,orb,<customthings:block0:3>],[<customthings:item:13>,<customthings:block0:3>,<customthings:item:13>]]);

print("ENDING OpenBlocks.zs");