Add apple pie. Allow digging bombs.

This commit is contained in:
Duane 2016-07-10 05:57:36 -05:00
parent 186abc20f3
commit 4cfa301cea
5 changed files with 64 additions and 3 deletions

View file

@ -229,3 +229,45 @@ minetest.register_craft({
{'fun_caves:dry_fiber', '', 'fun_caves:dry_fiber'},
}
})
minetest.register_craftitem("fun_caves:apple_pie_slice", {
description = "Apple Pie",
inventory_image = "fun_caves_apple_pie_slice.png",
on_use = minetest.item_eat(5),
})
minetest.register_craft({
output = 'fun_caves:apple_pie_slice 6',
type = 'shapeless',
recipe = {
'fun_caves:apple_pie',
}
})
minetest.register_craftitem("fun_caves:apple_pie", {
description = "Apple Pie",
inventory_image = "fun_caves_apple_pie.png",
})
minetest.register_craftitem("fun_caves:apple_pie_uncooked", {
description = "Uncooked Apple Pie",
inventory_image = "fun_caves_apple_pie_uncooked.png",
})
minetest.register_craft({
output = 'fun_caves:apple_pie_uncooked',
type = 'shapeless',
recipe = {
'default:apple',
'default:apple',
'farming:flour',
'mobs:honey',
}
})
minetest.register_craft({
type = "cooking",
cooktime = 15,
output = "fun_caves:apple_pie",
recipe = "fun_caves:apple_pie_uncooked"
})