From 2e3de7c177b3a216af42b726e75c1776d4cedb8c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 12 Mar 2018 17:17:49 +0000 Subject: added food groups for better recipe crafting --- bunny.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bunny.lua') diff --git a/bunny.lua b/bunny.lua index cbde3e7..24947b6 100644 --- a/bunny.lua +++ b/bunny.lua @@ -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({ -- cgit v1.2.3