summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2015-09-24 15:50:28 +0200
committerBlockMen <nmuelll@web.de>2015-09-24 15:50:28 +0200
commit7915de8e13b92415921c25e2783bf24103584d09 (patch)
tree6de4f5138a494403b78d2a683754ffef79347fc0
parent4a0f1d03c569148768041fbe4c209e290cb797a0 (diff)
Add support for mtg mushrooms
-rw-r--r--food.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/food.lua b/food.lua
index b8f2a9d..7ad9a28 100644
--- a/food.lua
+++ b/food.lua
@@ -6,6 +6,11 @@ if minetest.get_modpath("farming") ~= nil then
register_food("farming:bread", 4)
end
+if minetest.get_modpath("flowers") ~= nil then
+ register_food("flowers:mushroom_brown", 1)
+ register_food("flowers:mushroom_red", 1, "", 3)
+end
+
if minetest.get_modpath("mobs") ~= nil then
if mobs.mod ~= nil and mobs.mod == "redo" then
register_food("mobs:cheese", 4)
@@ -18,7 +23,7 @@ if minetest.get_modpath("mobs") ~= nil then
register_food("mobs:chicken_cooked", 6)
register_food("mobs:chicken_raw", 2, "", 3)
register_food("mobs:chicken_egg_fried", 2)
- if minetest.get_modpath("bucket") then
+ if minetest.get_modpath("bucket") then
register_food("mobs:bucket_milk", 3, "bucket:bucket_empty")
end
else