summaryrefslogtreecommitdiff
path: root/snacks/cakes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'snacks/cakes.lua')
-rw-r--r--snacks/cakes.lua3
1 files changed, 3 insertions, 0 deletions
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},
})