From b6dfd8dce922beaaf7086cce1e3882b58e80bb64 Mon Sep 17 00:00:00 2001 From: mgl Date: Mon, 1 Dec 2014 17:39:51 +0100 Subject: Support for ferns (plantlife_modpack) --- hunger.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hunger.lua') diff --git a/hunger.lua b/hunger.lua index 8c4e787..96dc72c 100644 --- a/hunger.lua +++ b/hunger.lua @@ -329,6 +329,14 @@ if minetest.get_modpath("cooking") ~= nil then overwrite("cooking:meat_undead_cooked", 1) end +-- ferns mod of plantlife_modpack +if minetest.get_modpath("ferns") ~= nil then + overwrite("ferns:fiddlehead", 1, "", 1) + overwrite("ferns:fiddlehead_roasted", 3) + overwrite("ferns:ferntuber_roasted", 3) + overwrite("ferns:horsetail_01", 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 -- cgit v1.2.3