summaryrefslogtreecommitdiff
path: root/hunger.lua
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@ciarang.com>2014-03-24 13:11:54 +0000
committerCiaran Gultnieks <ciaran@ciarang.com>2014-03-24 13:11:54 +0000
commitc544da116111c176c464aaf630463188bf46fe25 (patch)
treeda36e2b04e95030805b1b69bef59dcf33aceb96c /hunger.lua
parent4eff5b785027801cf121a250519803be62def8d2 (diff)
Add support for mushroom mod food/poison
Diffstat (limited to 'hunger.lua')
-rw-r--r--hunger.lua5
1 files changed, 5 insertions, 0 deletions
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)