]> git.lizzy.rs Git - Crafter.git/blob - mods/mob/items.lua
Add in simple eating animation
[Crafter.git] / mods / mob / items.lua
1 --items
2 minetest.register_craftitem("mob:raw_porkchop", {
3         description = "Raw Porkchop",
4         inventory_image = "raw_porkchop.png",
5         health = 2,
6 })
7 minetest.register_craftitem("mob:cooked_porkchop", {
8         description = "Cooked Porkchop",
9         inventory_image = "cooked_porkchop.png",
10         health = 4,
11 })
12
13 --cooking
14 minetest.register_craft({
15         type = "cooking",
16         output = "mob:cooked_porkchop",
17         recipe = "mob:raw_porkchop",
18         cooktime = 3,
19 })