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 /support.lua | |
parent | a954f869bf32bede8dfa4f435d710498c3e1ea6e (diff) |
Added Food Group
Diffstat (limited to 'support.lua')
-rw-r--r-- | support.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/support.lua b/support.lua index ad95a5f..4f3e095 100644 --- a/support.lua +++ b/support.lua @@ -39,19 +39,20 @@ minetest.register_craftitem("food:bread", { description = "Bread",
inventory_image = "food_bread.png",
stack_max = 1,
- on_use = minetest.item_eat(10)
+ on_use = minetest.item_eat(10),
+ groups={food=2},
})
minetest.register_craft({
output = "food:dough",
type = "shapeless",
recipe = {"food:flour", "food:flour", "food:flour", "food:flour", "bucket:bucket_water"},
- replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
+ replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}},
})
minetest.register_craft({
type = "cooking",
output = "food:bread",
recipe = "food:dough",
- cooktime = 10
+ cooktime = 10,
})
|