summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--depends.txt1
-rw-r--r--hunger.lua5
2 files changed, 6 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
index 7d8d136..744d7a4 100644
--- a/depends.txt
+++ b/depends.txt
@@ -10,3 +10,4 @@ docfarming?
farmingplus?
mtfoods?
bushes_classic?
+mushroom?
diff --git a/hunger.lua b/hunger.lua
index 30e7a21..f1cfb39 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -135,6 +135,11 @@ if minetest.get_modpath("bushes_classic") then
end
end
+if minetest.get_modpath("mushroom") ~= nil then
+ overwrite("mushroom:brown", 1)
+ overwrite("mushroom:red", 1, "", 3)
+end
+
if minetest.get_modpath("docfarming") ~= nil then
overwrite("docfarming:carrot", 2)
overwrite("docfarming:cucumber", 2)