summaryrefslogtreecommitdiff
path: root/hunger.lua
diff options
context:
space:
mode:
authormgl <mgl4096@gmail.com>2014-12-01 17:39:51 +0100
committermgl <mgl4096@gmail.com>2014-12-01 17:39:51 +0100
commitb6dfd8dce922beaaf7086cce1e3882b58e80bb64 (patch)
treeeb8b9e7e36be6666bae14a688c4dffd6909d0ac3 /hunger.lua
parent169e4d44bf31e8077f65ab63876fdea777fc595d (diff)
Support for ferns (plantlife_modpack)
Diffstat (limited to 'hunger.lua')
-rw-r--r--hunger.lua8
1 files changed, 8 insertions, 0 deletions
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