summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-04-06 18:07:56 +0200
committerBlockMen <nmuelll@web.de>2014-04-06 18:07:56 +0200
commit4010af5de407d076a40d8e9a8dc2d00ca96ed49c (patch)
treed8a3c60da9fc651ed2546c49d9eabe2d19968b4b
parentff9a290810dbd845cdebd0f1c6fe4e978904e7b4 (diff)
Add support for mods: fruit and mush45
-rw-r--r--depends.txt2
-rw-r--r--hunger.lua11
2 files changed, 13 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
index 744d7a4..7785bef 100644
--- a/depends.txt
+++ b/depends.txt
@@ -11,3 +11,5 @@ farmingplus?
mtfoods?
bushes_classic?
mushroom?
+fruit?
+mush45?
diff --git a/hunger.lua b/hunger.lua
index f1cfb39..7fef5d1 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -187,3 +187,14 @@ if minetest.get_modpath("mtfoods") ~= nil then
overwrite("mtfoods:apple_cider", 2)
overwrite("mtfoods:cider_rack", 2)
end
+
+if minetest.get_modpath("fruit") ~= nil then
+ overwrite("fruit:apple", 2)
+ overwrite("fruit:pear", 2)
+ overwrite("fruit:bananna", 3)
+ overwrite("fruit:orange", 2)
+end
+
+if minetest.get_modpath("mush45") ~= nil then
+ overwrite("mush45:meal", 4)
+end