summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2013-08-06 10:45:55 +0200
committerBlockMen <nmuelll@web.de>2013-08-06 10:45:55 +0200
commit9f15940aaf6a9ffb04689e35cc5dede83892c3b4 (patch)
tree4489c0b85e46f57b2544c4c96305376eff8fb0a8
parent5effdfca1a7e74e107bd3eff7228784aeac1cde5 (diff)
Add support for docfarming and farming_plus
-rw-r--r--hunger.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/hunger.lua b/hunger.lua
index cbd0357..81f9965 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -82,4 +82,23 @@ if minetest.get_modpath("bushes") ~= nil then
overwrite("bushes:berry_pie_cooked", 4)
overwrite("bushes:basket_pies", 15)
end
+
+if minetest.get_modpath("docfarming") ~= nil then
+ overwrite("docfarming:carrot", 2)
+ overwrite("docfarming:cucumber", 2)
+ overwrite("docfarming:corn", 2)
+ overwrite("docfarming:potato", 4)
+ overwrite("docfarming:bakedpotato", 5)
+ overwrite("docfarming:raspberry", 3)
+end
+
+if minetest.get_modpath("farming_plus") ~= nil then
+ overwrite("farming_plus:carrot_item", 3)
+ overwrite("farming_plus:banana", 2)
+ overwrite("farming_plus:orange_item", 2)
+ overwrite("farming_plus:pumpkin_bread", 4)
+ overwrite("farming_plus:strawberry_item", 2)
+ overwrite("farming_plus:tomato_item", 2)
+ overwrite("farming_plus:potatoe_item", 4)
+end
end)