diff options
author | Ciaran Gultnieks <ciaran@ciarang.com> | 2014-03-24 13:11:54 +0000 |
---|---|---|
committer | Ciaran Gultnieks <ciaran@ciarang.com> | 2014-03-24 13:11:54 +0000 |
commit | c544da116111c176c464aaf630463188bf46fe25 (patch) | |
tree | da36e2b04e95030805b1b69bef59dcf33aceb96c | |
parent | 4eff5b785027801cf121a250519803be62def8d2 (diff) |
Add support for mushroom mod food/poison
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | hunger.lua | 5 |
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? @@ -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) |