diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-10-02 17:38:10 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-10-02 17:38:10 +0100 |
commit | b4feb52c498a18b68df961945aa414ee3243c482 (patch) | |
tree | c26aebdc8f3f05038cc3e0a576a73c1458d298b9 /snacks/cakes.lua | |
parent | a954f869bf32bede8dfa4f435d710498c3e1ea6e (diff) |
Added Food Group
Diffstat (limited to 'snacks/cakes.lua')
-rw-r--r-- | snacks/cakes.lua | 3 |
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},
})
|