]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/mob/items.lua
overhaul mob jumping to use raycasting and moveresult
[Crafter.git] / mods / mob / items.lua
index 386b45509a5883d0d3540041cd459baa95aac355..a184fd01b922fc63b3b4b86a1dbe575dd2de62e3 100644 (file)
@@ -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},
 })