--	[ selfcare ]

minetest.register_craft({
	type = "shapeless",
	recipe = {"farming:cotton", "farming:cotton", "farming:cotton"},
	output = "self_care:cottonpad",
    })
minetest.register_craft({
	recipe = {
		{"", "farming:string", ""},
		{"self_care:cottonpad", "wool:white", "self_care:cottonpad"},
		{"", "self_care:cottonpad", ""}
	},
	output = "self_care:white_loofah",
    })

minetest.register_craft({
	recipe = {
		{"farming:cotton", "", ""},
		{"", "wool:white", ""},
		{"", "", "default:stick"}
	},
	output = "self_care:toothbrush",
    })

minetest.register_craft({
	recipe = {
		{"farming:cotton", "", ""},
		{"", "default:stick", ""},
		{"", "", "default:stick"}
	},
	output = "self_care:wooden_toothbrush",
    })

minetest.register_craft({
	recipe = {
		{"group:wood", "default:steel_ingot", "group:wood"},
		{"default:stick", "default:glass", "default:stick"},
		{"group:wood", "default:steel_ingot", "group:wood"}
	},
	output = "self_care:mirror",
    })

minetest.register_craft({
	recipe = {
		{"", "ethereal:olive_oil", ""},
		{"", "group:food_egg", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:egg_hairmask",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "self_care:coconut_oil", ""},
		{"", "group:food_egg", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:egg_hairmask",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "self_care:coconut_oil", ""},
		{"", "ethereal:banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_hairmask",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "self_care:coconut_oil", ""},
		{"", "xo_food:blended_banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_hairmask",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "ethereal:olive_oil", ""},
		{"", "ethereal:banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_hairmask",
    })

minetest.register_craft({
	recipe = {
		{"", "ethereal:olive_oil", ""},
		{"", "xo_food:blended_banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_hairmask",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

--floss
minetest.register_craft({
	recipe = {
		{"", "ethereal:palm_wax", ""},
		{"ethereal:palm_wax", "farming:string", "ethereal:palm_wax"},
		{"", "", ""}
	},
	output = "self_care:floss",
    })


minetest.register_craft({
	recipe = {
		{"", "group:wax", ""},
		{"group:wax", "farming:string", "group:wax"},
		{"", "", ""}
	},
	output = "self_care:floss",
    })

minetest.register_craft({
	recipe = {
		{"", "xo_food:sugar_brown", ""},
		{"", "xo_food:blended_banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_bodyscrub",
	replacements = {
	    {"xo_food:blended_banana", "xo_food:blender"},
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "farming:salt", ""},
		{"", "ethereal:banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_bodyscrub",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "farming:sugar", ""},
		{"", "ethereal:banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_bodyscrub",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "x_farming:sugar", ""},
		{"", "ethereal:banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_bodyscrub",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "x_farming:sugar", ""},
		{"", "ethereal:banana", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:banana_bodyscrub",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "xo_food:sugar", ""},
		{"", "xo_food:blended_strawberries", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:strawberry_bodyscrub",
	replacements = {
	    {"xo_food:blended_strawberries", "xo_food:blender"},
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "xo_food:sugar_brown", ""},
		{"", "xo_food:oil_coconut", ""},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:sugar_bodyscrub",
	replacements = {
	    {"xo_food:oil_coconut", "xo_food:jar"},
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "xo_food:sugar_brown", ""},
		{"xo_food:juice_orange", "xo_food:butter_coconut", "xo_food:blended_mango"},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:tropical_bodyscrub",
	replacements = {
	    {"xo_food:juice_orange", "xo_food:glass"},
	    {"xo_food:blended_mango", "xo_food:blender"},
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "xo_food:sugar", ""},
		{"xo_food:butter_coconut", "xo_food:vanilla", "xo_food:butter_coconut"},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:vanilla_bodyscrub",
	replacements = {
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "xo_food:sugar", ""},
		{"xo_food:butter_coconut", "xo_food:milk_coconut", "xo_food:butter_coconut"},
		{"", "group:food_bowl", ""}
	},
	output = "self_care:coconut_bodyscrub",
	replacements = {
	    {"xo_food:milk_coconut", "xo_food:milk_carton"},
	    {"group:food_bowl", "xo_food:bowl"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "dye:magenta", ""},
		{"xo_food:oil_coconut", "xo_food:rosemary", "self_care:soap"},
		{"", "self_care:bottle", ""}
	},
	output = "self_care:rosemary_shampoo",
	replacements = {
	    {"xo_food:oil_coconut", "xo_food:jar"},
	}
    })

minetest.register_craft({
	recipe = {
		{"", "dye:brown", ""},
		{"xo_food:coffee", "xo_food:coffee", "self_care:soap"},
		{"", "self_care:bottle", ""}
	},
	output = "self_care:coffee_shampoo",
    })