summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2013-07-02 17:09:35 +0200
committerBlockMen <nmuelll@web.de>2013-07-02 17:09:35 +0200
commit74889570ef662430ec0e2fa35d2980b7befc1d9b (patch)
tree88ef81e533b62c1dbdeea86e6f5c7354b3906828
parent7b2484ca2a50bbfd8365418a97ce11dbf152acc1 (diff)
Add support for animalmaterials and fishing
-rw-r--r--hunger.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/hunger.lua b/hunger.lua
index 94528a9..43a167c 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -49,4 +49,25 @@ if minetest.get_modpath("dwarves") ~= nil then
overwrite("dwarves:tequila_with_lime", 2)
overwrite("dwarves:sake", 2)
end
+
+if minetest.get_modpath("animalmaterials") ~= nil then
+ overwrite("animalmaterials:milk", 2)
+ overwrite("animalmaterials:meat_raw", 3)
+ overwrite("animalmaterials:meat_pork", 3)
+ overwrite("animalmaterials:meat_beef", 3)
+ overwrite("animalmaterials:meat_chicken", 3)
+ overwrite("animalmaterials:meat_lamb", 3)
+ overwrite("animalmaterials:meat_venison", 3)
+ --overwrite("animalmaterials:meat_undead", 3)-- -3 damage
+ --overwrite("animalmaterials:meat_toxic", 3)-- -5 damage
+ overwrite("animalmaterials:meat_ostrich", 3)
+ overwrite("animalmaterials:fish_bluewhite", 2)
+ overwrite("animalmaterials:fish_clownfish", 2)
+end
+
+if minetest.get_modpath("fishing") ~= nil then
+ overwrite("fishing:fish_raw", 2)
+ overwrite("fishing:fish", 4)
+ overwrite("fishing:sushi", 6)
+end
end)