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 | |
parent | a954f869bf32bede8dfa4f435d710498c3e1ea6e (diff) |
Added Food Group
Diffstat (limited to 'snacks')
-rw-r--r-- | snacks/cakes.lua | 3 | ||||
-rw-r--r-- | snacks/crumbles.lua | 1 | ||||
-rw-r--r-- | snacks/tarts.lua | 1 |
3 files changed, 5 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},
})
diff --git a/snacks/crumbles.lua b/snacks/crumbles.lua index 4a1ab9c..f46de48 100644 --- a/snacks/crumbles.lua +++ b/snacks/crumbles.lua @@ -14,6 +14,7 @@ minetest.register_craftitem("food:crumble_rhubarb", { description = "Rhubarb Crumble",
inventory_image = "food_crumble_rhubarb.png",
on_use = minetest.item_eat(30),
+ groups={food=3},
})
minetest.register_craftitem("food:crumble_rhubarb_raw", {
diff --git a/snacks/tarts.lua b/snacks/tarts.lua index b985e03..da5bd33 100644 --- a/snacks/tarts.lua +++ b/snacks/tarts.lua @@ -14,6 +14,7 @@ minetest.register_craftitem("food:tart_strawberry", { description = "Strawberry Tart",
inventory_image = "food_tart_strawberry.png",
on_use = minetest.item_eat(30),
+ groups={food=3},
})
minetest.register_craftitem("food:tart_base", {
|