diff --git a/init.lua b/init.lua index b609a5c..35effc4 100644 --- a/init.lua +++ b/init.lua @@ -397,14 +397,26 @@ minetest.register_craft({ }) --teeth from sand, maybe fossilised? -minetest.register_craft({ - output = 'witchcraft:tooth 1', - recipe = { - {'default:desert_sand'}, - }, +minetest.override_item("default:sand", { + drop = { + max_items = 1, + items = { + { + items = {"witchcraft:tooth"}, + rarity = 30, + }, + { + items = {"default:sand"}, + } + } + }, }) - +minetest.register_craft({ + type = "shapeless", + output = "default:sand", + recipe = {"witchcraft:tooth"}, +}) --splash potions crafting