minetest.register_tool("heal:bandage", {
	description = ("Bandage"),
	inventory_image = "bandage.png",
	tool_capabilities = {
		full_punch_interval = 1.0,
		max_drop_level=0,
		groupcaps={
			cracky = {times={[0]=0}, uses=35, maxlevel=3},
		},
		damage_groups = {fleshy=-1},
	},
	sound = {breaks = "default_tool_breaks"},
})

minetest.register_craftitem("heal:heal_orb", {
	description = ("Healing Orb"),
	inventory_image = "healing_orb.png"
})

minetest.register_tool("heal:wand", {
	description = ("Healing Wand"),
	inventory_image = "healing_wand.png",
	tool_capabilities = {
		full_punch_interval = 2.5,
		max_drop_level=0,
		groupcaps={
			cracky = {times={[0]=0}, uses=45, maxlevel=3},
		},
		damage_groups = {fleshy=-3},
	},
	sound = {breaks = "default_tool_breaks"},
})

minetest.register_craft({
	output = "heal:bandage",
	recipe = {
		{"group:leaves", "group:leaves", "group:leaves"},
		{"group:leaves", "default:apple", "group:leaves"},
		{"group:leaves", "group:leaves", "group:leaves"},
	}
})

minetest.register_craft({
	output = "heal:heal_orb",
	recipe = {
		{"default:mese_crystal", "group:leaves", "default:mese_crystal"},
		{"group:leaves", "default:apple", "group:leaves"},
		{"default:diamond", "default:gold_ingot", "default:diamond"},
	}
})

minetest.register_craft({
	output = "heal:wand",
	recipe = {
		{"", "", "heal:heal_orb"},
		{"", "group:stick", ""},
		{"group:stick", "", ""},
	}
})
