diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 17:17:49 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 17:17:49 +0000 |
commit | 2e3de7c177b3a216af42b726e75c1776d4cedb8c (patch) | |
tree | 794a37532994736594ea4de16839bcec492ca1ac /bunny.lua | |
parent | cbac52f407614e1ba99b40f3feec5dcfe35ad0b7 (diff) |
added food groups for better recipe crafting
Diffstat (limited to 'bunny.lua')
-rw-r--r-- | bunny.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -135,6 +135,7 @@ minetest.register_craftitem(":mobs:rabbit_raw", { description = S("Raw Rabbit"), inventory_image = "mobs_rabbit_raw.png", on_use = minetest.item_eat(3), + groups = {food_meat_raw = 1, food_rabbit_raw = 1, flammable = 2}, }) -- cooked rabbit @@ -142,6 +143,7 @@ minetest.register_craftitem(":mobs:rabbit_cooked", { description = S("Cooked Rabbit"), inventory_image = "mobs_rabbit_cooked.png", on_use = minetest.item_eat(5), + groups = {food_meat = 1, food_rabbit = 1, flammable = 2}, }) minetest.register_craft({ @@ -155,6 +157,7 @@ minetest.register_craft({ minetest.register_craftitem(":mobs:rabbit_hide", { description = S("Rabbit Hide"), inventory_image = "mobs_rabbit_hide.png", + groups = {flammable = 2}, }) minetest.register_craft({ |