diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-08-31 15:37:02 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-08-31 15:37:02 +0100 |
commit | d662f3b9ab3f41cc27df385ddd7e89d470553221 (patch) | |
tree | fcffb809dbeb3db3a531747d0e03b39d175b2564 /baking.lua | |
parent | 6bd71003a2fbd3a1820eb3e37ffb7c5db7b12325 (diff) |
Change mod name from rubenfood to food
Diffstat (limited to 'baking.lua')
-rw-r--r-- | baking.lua | 30 |
1 files changed, 5 insertions, 25 deletions
@@ -11,31 +11,11 @@ -- doughs
-minetest.register_craftitem("rubenfood:dough", {
+if not minetest.get_modpath("farming") then
+
+else
+minetest.register_craftitem(":farming:cake_mix", {
description = "Dough",
inventory_image = "farming_cake_mix.png",
})
-
-if add_bread_craft then
-minetest.register_craft({
- output = "rubenfood:dough",
- type = "shapeless",
- recipe = {"rubenfood:flour","rubenfood:flour", "bucket:bucket_water"},
- replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
-})
-
-minetest.register_craft({
- type = "cooking",
- output = "rubenfood:bread",
- recipe = "rubenfood:dough",
- cooktime = 10
-})
-
-end
-
-minetest.register_craftitem("rubenfood:bread", {
- description = "Bread",
- inventory_image = "ruben_bread.png",
- stack_max = 1,
- on_use = minetest.item_eat(10)
-})
\ No newline at end of file +end
\ No newline at end of file |