minetest.register_craft({
  output = "pyutest_tools:wooden_pickaxe 1",
  recipe = {
    {"group:wooden_planks", "group:wooden_planks", "group:wooden_planks"},
    {"", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:wooden_axe 1",
  recipe = {
    {"group:wooden_planks", "group:wooden_planks", ""},
    {"group:wooden_planks", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:wooden_sword 1",
  recipe = {
    {"", "group:wooden_planks", ""},
    {"", "group:wooden_planks", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:stone_pickaxe",
  recipe = {
    {"group:stone", "group:stone", "group:stone"},
    {"", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:stone_axe",
  recipe = {
    {"group:stone", "group:stone", ""},
    {"group:stone", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:stone_sword",
  recipe = {
    {"", "group:stone", ""},
    {"", "group:stone", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:iron_pickaxe",
  recipe = {
    {"pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot"},
    {"", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:iron_axe",
  recipe = {
    {"pyutest_ores:iron_ingot", "pyutest_ores:iron_ingot", ""},
    {"pyutest_ores:iron_ingot", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:iron_sword",
  recipe = {
    {"pyutest_ores:iron_ingot"},
    {"pyutest_ores:iron_ingot"},
    {"pyutest_tools:stick"}
  }
})

minetest.register_craft({
  output = "pyutest_tools:diamond_pickaxe",
  recipe = {
    {"pyutest_ores:diamond_shard", "pyutest_ores:diamond_shard", "pyutest_ores:diamond_shard"},
    {"", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:diamond_axe",
  recipe = {
    {"pyutest_ores:diamond_shard", "pyutest_ores:diamond_shard", ""},
    {"pyutest_ores:diamond_shard", "pyutest_tools:stick", ""},
    {"", "pyutest_tools:stick", ""}
  }
})

minetest.register_craft({
  output = "pyutest_tools:diamond_sword",
  recipe = {
    {"pyutest_ores:diamond_shard"},
    {"pyutest_ores:diamond_shard"},
    {"pyutest_tools:stick"}
  }
})

minetest.register_craft({
  output = "pyutest_tools:flint_and_steel",
  recipe = {
    "pyutest_tools:flint", "pyutest_ores:iron_ingot"
  },
  type = "shapeless"
})

-- not tools
minetest.register_craft({
  output = "pyutest_blocks:crate",
  recipe = {
    {"group:wooden_planks", "group:wooden_planks", "group:wooden_planks"},
    {"group:wooden_planks", "", "group:wooden_planks"},
    {"group:wooden_planks", "group:wooden_planks", "group:wooden_planks"}
  }
})

minetest.register_craft({
  output = "pyutest_blocks:brick_block 4",
  recipe = {
    {"pyutest_tools:brick", "pyutest_tools:brick"},
    {"pyutest_tools:brick", "pyutest_tools:brick"}
  }
})

minetest.register_craft({
  output = "pyutest_furnace:furnace",
  recipe = {
    {"group:stone", "group:stone", "group:stone"},
    {"group:stone", "",            "group:stone"},
    {"group:stone", "group:stone", "group:stone"}
  }
})

minetest.register_craft({
  output = "pyutest_blocks:slime_block",
  type = "shapeless",
  recipe = {
    "pyutest_blocks:clay_block",
    "pyutest_blocks:swampy_grass_block"
  }
})

minetest.register_craft({
  output = "pyutest_tools:sugar 3",
  type = "shapeless",
  recipe = {
    "pyutest_flowers:sugarcane"
  }
})

minetest.register_craft({
  output = "pyutest_blocks:clay_block 4",
  recipe = {
    {"pyutest_tools:clay", "pyutest_tools:clay"},
    {"pyutest_tools:clay", "pyutest_tools:clay"}
  }
})

minetest.register_craft({
  output = "pyutest_blocks:bone_block 4",
  recipe = {
    {"pyutest_tools:bone", "pyutest_tools:bone"},
    {"pyutest_tools:bone", "pyutest_tools:bone"}
  }
})

minetest.register_craft({
  output = "pyutest_tools:stick 4",
  recipe = {
    {"group:wooden_planks"},
    {"group:wooden_planks"}
  }
})

minetest.register_craft({
  output = "pyutest_tools:coin",
  recipe = {
    {"pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot"},
    {"pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot"},
    {"pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot", "pyutest_ores:gold_ingot"}
  }
})

minetest.register_craft({
  output = "pyutest_ores:gold_ingot 9",
  recipe = {
    {"pyutest_tools:coin"}
  }
})

-- this recipe makes no sense, but who cares?
minetest.register_craft({
  output = "pyutest_blocks:contagious_acid 3",
  recipe = {
    "pyutest_blocks:mushroom_block",
    "pyutest_blocks:mushroom_stem_block",
    "pyutest_blocks:dirt_block",
    "pyutest_blocks:swampy_grass_block"
  },
  type = "shapeless"
})

minetest.register_craft({
  output = "pyutest_blocks:light 4",
  recipe = {
    {"pyutest_blocks:torch", "pyutest_blocks:torch"},
    {"pyutest_blocks:torch", "pyutest_blocks:torch"}
  }
})

minetest.register_craft({
  output = "pyutest_blocks:tnt 4",
  recipe = {
    {"pyutest_blocks:sand_block", "pyutest_blocks:gunpowder"},
    {"pyutest_blocks:gunpowder", "pyutest_blocks:sand_block"}
  }
})

minetest.register_craft({
  output = "pyutest_blocks:torch 4",
  recipe = {
    {"pyutest_ores:coal_lump"},
    {"pyutest_tools:stick"}
  }
})

minetest.register_craft({
  output = "pyutest_tools:wheat 4",
  recipe = {
    "pyutest_blocks:haybale_block"
  },
  type = "shapeless"
})

minetest.register_craft({
  output = "pyutest_blocks:haybale_block",
  recipe = {
    {"pyutest_tools:wheat", "pyutest_tools:wheat"},
    {"pyutest_tools:wheat", "pyutest_tools:wheat"}
  }
})

minetest.register_craft({
  output = "pyutest_tools:bread 3",
  recipe = {
    {"pyutest_tools:wheat", "pyutest_tools:wheat", "pyutest_tools:wheat"}
  }
})

minetest.register_craft({
  type = "cooking",
  output = "pyutest_blocks:glass",
  recipe = "pyutest_blocks:sand_block"
})

minetest.register_craft({
  type = "cooking",
  output = "pyutest_blocks:brick",
  recipe = "pyutest_tools:clay",
})
