# Script to fix duplicate trap door recipes in Builder's Custom
#
# NOTE: This works by shifting quark recipes to use the top 6 for their recipes
# and quark using the bottom 6. Also adjust all recipes to produce two
# trap doors.
#
#Values
val OakPlank = <minecraft:planks>;
val SprucePlank = <minecraft:planks:1>;
val BirchPlank = <minecraft:planks:2>;
val JunglePlank = <minecraft:planks:3>;
val AcaciaPlank = <minecraft:planks:4>;
val DarkOakPlank = <minecraft:planks:5>;
#
#remove the oak trapdoor and replace it with one that doesn't use ore dict.
recipes.remove(<minecraft:trapdoor>);
recipes.addShaped(<minecraft:trapdoor> * 2,
[[null, null, null],
[OakPlank, OakPlank, OakPlank],
[OakPlank, OakPlank, OakPlank]]);
#
#Spruce trap doors
recipes.remove(<quark:spruce_trapdoor>);
recipes.addShaped(<quark:spruce_trapdoor> * 2,
[[SprucePlank, SprucePlank, SprucePlank],
[SprucePlank, SprucePlank, SprucePlank],
[null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_spruce>);
recipes.addShaped(<malisisdoors:trapdoor_spruce> * 2,
[[null, null, null],
[SprucePlank, SprucePlank, SprucePlank],
[SprucePlank, SprucePlank, SprucePlank]]);
#
#Birch trap doors
recipes.remove(<quark:birch_trapdoor>);
recipes.addShaped(<quark:birch_trapdoor> * 2,
[[BirchPlank, BirchPlank, BirchPlank],
[BirchPlank, BirchPlank, BirchPlank],
[null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_birch>);
recipes.addShaped(<malisisdoors:trapdoor_birch> * 2,
[[null, null, null],
[BirchPlank, BirchPlank, BirchPlank],
[BirchPlank, BirchPlank, BirchPlank]]);
#
#Jungle trap doors
recipes.remove(<quark:jungle_trapdoor>);
recipes.addShaped(<quark:jungle_trapdoor> * 2,
[[JunglePlank, JunglePlank, JunglePlank],
[JunglePlank, JunglePlank, JunglePlank],
[null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_jungle>);
recipes.addShaped(<malisisdoors:trapdoor_jungle> * 2,
[[null, null, null],
[JunglePlank, JunglePlank, JunglePlank],
[JunglePlank, JunglePlank, JunglePlank]]);
#
#Acacia trap doors
recipes.remove(<quark:acacia_trapdoor>);
recipes.addShaped(<quark:acacia_trapdoor> * 2,
[[AcaciaPlank, AcaciaPlank, AcaciaPlank],
[AcaciaPlank, AcaciaPlank, AcaciaPlank],
[null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_acacia>);
recipes.addShaped(<malisisdoors:trapdoor_acacia> * 2,
[[null, null, null],
[AcaciaPlank, AcaciaPlank, AcaciaPlank],
[AcaciaPlank, AcaciaPlank, AcaciaPlank]]);
#
#Dark Oak trap doors
recipes.remove(<quark:dark_oak_trapdoor>);
recipes.addShaped(<quark:dark_oak_trapdoor> * 2,
[[DarkOakPlank, DarkOakPlank, DarkOakPlank],
[DarkOakPlank, DarkOakPlank, DarkOakPlank],
[null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_dark_oak>);
recipes.addShaped(<malisisdoors:trapdoor_dark_oak> * 2,
[[null, null, null],
[DarkOakPlank, DarkOakPlank, DarkOakPlank],
[DarkOakPlank, DarkOakPlank, DarkOakPlank]]);