Added support for animals modpack (cooking)

Checking to see if I'm doing this right.
This commit is contained in:
Nathan Salapat 2014-10-11 11:31:53 -05:00 committed by BlockMen
parent 06207b44cd
commit 169e4d44bf
2 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,7 @@ animalmaterials?
bucket? bucket?
bushes? bushes?
bushes_classic? bushes_classic?
cooking?
creatures? creatures?
docfarming? docfarming?
dwarves? dwarves?

View File

@ -317,6 +317,18 @@ if minetest.get_modpath("jkwine") ~= nil then
overwrite("jkwine:winebottle", 1) overwrite("jkwine:winebottle", 1)
end 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 -- player-action based hunger changes
function hud.handle_node_actions(pos, oldnode, player, ext) function hud.handle_node_actions(pos, oldnode, player, ext)
if not player or not player:is_player() then if not player or not player:is_player() then