X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=mods%2Fmob%2Fitems.lua;h=a184fd01b922fc63b3b4b86a1dbe575dd2de62e3;hb=79440bd8605c708541ced2d63bb2da683977d2c6;hp=386b45509a5883d0d3540041cd459baa95aac355;hpb=a3e34823471cf3963720a7a0bcd4fee0bd59bb75;p=Crafter.git diff --git a/mods/mob/items.lua b/mods/mob/items.lua index 386b455..a184fd0 100644 --- a/mods/mob/items.lua +++ b/mods/mob/items.lua @@ -1,19 +1,23 @@ --items minetest.register_craftitem("mob:raw_porkchop", { - description = "Raw Porkchop", - inventory_image = "raw_porkchop.png", - health = 2, + 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, + description = "Cooked Porkchop", + inventory_image = "cooked_porkchop.png", + groups = {satiation=3,hunger=5}, }) +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, + type = "cooking", + output = "mob:cooked_porkchop", + recipe = "mob:raw_porkchop", + groups = {satiation=6,hunger=7}, })