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 --- cow.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cow.lua') diff --git a/cow.lua b/cow.lua index e5ae7c7..8427037 100644 --- a/cow.lua +++ b/cow.lua @@ -125,6 +125,7 @@ minetest.register_craftitem(":mobs:bucket_milk", { inventory_image = "mobs_bucket_milk.png", stack_max = 1, on_use = minetest.item_eat(8, 'bucket:bucket_empty'), + groups = {food_milk = 1, flammable = 3}, }) -- cheese wedge @@ -132,6 +133,7 @@ minetest.register_craftitem(":mobs:cheese", { description = S("Cheese"), inventory_image = "mobs_cheese.png", on_use = minetest.item_eat(4), + groups = {food_cheese = 1, flammable = 2}, }) minetest.register_craft({ -- cgit v1.2.3