diff options
author | Nathan Salapat <rendertracer@gmail.com> | 2014-10-11 11:31:53 -0500 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2014-10-13 08:35:59 +0200 |
commit | 169e4d44bf31e8077f65ab63876fdea777fc595d (patch) | |
tree | 87f4509818998c1de2ad01ff8a25b2d45584a004 | |
parent | 06207b44cdba2ca7ec93e27590ae84ad13f60996 (diff) |
Added support for animals modpack (cooking)
Checking to see if I'm doing this right.
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | hunger.lua | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt index 98f29d1..3f49583 100644 --- a/depends.txt +++ b/depends.txt @@ -3,6 +3,7 @@ animalmaterials? bucket? bushes? bushes_classic? +cooking? creatures? docfarming? dwarves? @@ -317,6 +317,18 @@ if minetest.get_modpath("jkwine") ~= nil then overwrite("jkwine:winebottle", 1) end +if minetest.get_modpath("cooking") ~= nil then + overwrite("cooking:meat_beef_cooked", 4) + overwrite("cooking:fish_bluewhite_cooked", 3) + overwrite("cooking:fish_clownfish_cooked", 1) + overwrite("cooking:meat_chicken_cooked", 2) + overwrite("cooking:meat_cooked", 2) + overwrite("cooking:meat_pork_cooked", 3) + overwrite("cooking:meat_toxic_cooked", -3) + overwrite("cooking:meat_venison_cooked", 3) + overwrite("cooking:meat_undead_cooked", 1) +end + -- player-action based hunger changes function hud.handle_node_actions(pos, oldnode, player, ext) if not player or not player:is_player() then |