From bce8036dd42acd944f66ce8e54685be6e9b342a3 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Tue, 5 Aug 2014 04:49:05 +0200 Subject: [PATCH] Add support for creatures --- depends.txt | 21 +++++++++++---------- hunger.lua | 6 ++++++ 2 files changed, 17 insertions(+), 10 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? -mush45? -seaplants? +glooptest? mobfcooking? +mobs? +moretrees? +mtfoods? +mush45? +mushroom? +seaplants? 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