From b4feb52c498a18b68df961945aa414ee3243c482 Mon Sep 17 00:00:00 2001 From: Rubenwardy Date: Tue, 2 Oct 2012 17:38:10 +0100 Subject: Added Food Group --- snacks/cakes.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'snacks/cakes.lua') diff --git a/snacks/cakes.lua b/snacks/cakes.lua index 549bbab..4b517dc 100644 --- a/snacks/cakes.lua +++ b/snacks/cakes.lua @@ -55,18 +55,21 @@ minetest.register_craftitem("food:cake", { description = "Cake", inventory_image = "food_cake.png", on_use = minetest.item_eat(30), + groups={food=3}, }) minetest.register_craftitem("food:cake_chocolate", { description = "Chocolate Cake", inventory_image = "food_cake_choco.png", on_use = minetest.item_eat(40), + groups={food=3}, }) minetest.register_craftitem("food:cake_carrot", { description = "Carrot Cake", inventory_image = "food_cake_carrot.png", on_use = minetest.item_eat(40), + groups={food=3}, }) -- cgit v1.2.3