La dent s'obtient aléatoirement en ramassant du sable

This commit is contained in:
sys4-fr 2018-11-03 14:52:41 +01:00
parent 8bf04f444e
commit c515b58ca1
1 changed files with 18 additions and 6 deletions

View File

@ -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