Crafter/mods/mob/items.lua

32 lines
799 B
Lua
Raw Normal View History

--items
minetest.register_craftitem("mob:raw_porkchop", {
2020-03-10 23:56:27 -07:00
description = "Raw Porkchop",
inventory_image = "raw_porkchop.png",
health = 2,
})
minetest.register_craftitem("mob:cooked_porkchop", {
2020-03-10 23:56:27 -07:00
description = "Cooked Porkchop",
inventory_image = "cooked_porkchop.png",
2020-05-05 01:07:02 -04:00
groups = {satiation=3,hunger=5},
})
2020-04-11 20:31:36 -04:00
minetest.register_craftitem("mob:slimeball", {
description = "Slimeball",
inventory_image = "slimeball.png",
})
minetest.register_craftitem("mob:gunpowder", {
description = "Gunpowder",
inventory_image = "gunpowder.png",
})
minetest.register_craftitem("mob:string", {
description = "String",
inventory_image = "string.png",
})
--cooking
minetest.register_craft({
2020-03-10 23:56:27 -07:00
type = "cooking",
output = "mob:cooked_porkchop",
recipe = "mob:raw_porkchop",
2020-05-05 01:07:02 -04:00
groups = {satiation=6,hunger=7},
})