]> git.lizzy.rs Git - Crafter.git/blob - mods/mob/items.lua
Fix a bunch of mob stuff
[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         groups = {satiation=3,hunger=5},
11 })
12
13 minetest.register_craftitem("mob:slimeball", {
14         description = "Slimeball",
15         inventory_image = "slimeball.png",
16 })
17 --cooking
18 minetest.register_craft({
19         type = "cooking",
20         output = "mob:cooked_porkchop",
21         recipe = "mob:raw_porkchop",
22         groups = {satiation=6,hunger=7},
23 })