summaryrefslogtreecommitdiff
path: root/baking.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-31 15:37:02 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-31 15:37:02 +0100
commitd662f3b9ab3f41cc27df385ddd7e89d470553221 (patch)
treefcffb809dbeb3db3a531747d0e03b39d175b2564 /baking.lua
parent6bd71003a2fbd3a1820eb3e37ffb7c5db7b12325 (diff)
Change mod name from rubenfood to food
Diffstat (limited to 'baking.lua')
-rw-r--r--baking.lua30
1 files changed, 5 insertions, 25 deletions
diff --git a/baking.lua b/baking.lua
index 98da7ad..3e12f92 100644
--- a/baking.lua
+++ b/baking.lua
@@ -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