summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-08-05 04:49:05 +0200
committerBlockMen <nmuelll@web.de>2014-08-05 04:49:05 +0200
commitbce8036dd42acd944f66ce8e54685be6e9b342a3 (patch)
tree6192866a87be7c20f82467660bd003dd3b510d6d
parent0f83ef95431a259afb597cdb23d3b3c21aa33e13 (diff)
Add support for creatures
-rw-r--r--depends.txt19
-rw-r--r--hunger.lua6
2 files changed, 16 insertions, 9 deletions
diff --git a/depends.txt b/depends.txt
index 98c99c5..33364c4 100644
--- a/depends.txt
+++ b/depends.txt
@@ -1,18 +1,19 @@
default
-mobs?
-moretrees?
-dwarves?
animalmaterials?
-fishing?
-glooptest?
bushes?
+bushes_classic?
+creatures?
docfarming?
+dwarves?
farming?
farming_plus?
-mtfoods?
-bushes_classic?
-mushroom?
+fishing?
fruit?
+glooptest?
+mobfcooking?
+mobs?
+moretrees?
+mtfoods?
mush45?
+mushroom?
seaplants?
-mobfcooking?
diff --git a/hunger.lua b/hunger.lua
index 238ba90..329769f 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -215,3 +215,9 @@ if minetest.get_modpath("mobfcooking") ~= nil then
overwrite("mobfcooking:cooked_venison", 6)
overwrite("mobfcooking:cooked_fish", 6)
end
+
+if minetest.get_modpath("creatures") ~= nil then
+ overwrite("creatures:meat", 6)
+ overwrite("creatures:flesh", 3)
+ overwrite("creatures:rotten_flesh", 3, "", 3)
+end