Crafter/mods/mob/items.lua
2020-04-11 20:31:36 -04:00

24 lines
540 B
Lua

--items
minetest.register_craftitem("mob:raw_porkchop", {
description = "Raw Porkchop",
inventory_image = "raw_porkchop.png",
health = 2,
})
minetest.register_craftitem("mob:cooked_porkchop", {
description = "Cooked Porkchop",
inventory_image = "cooked_porkchop.png",
health = 4,
})
minetest.register_craftitem("mob:slimeball", {
description = "Slimeball",
inventory_image = "slimeball.png",
})
--cooking
minetest.register_craft({
type = "cooking",
output = "mob:cooked_porkchop",
recipe = "mob:raw_porkchop",
cooktime = 3,
})