summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--depends.txt1
-rw-r--r--hunger.lua8
2 files changed, 9 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
index 3f49583..2f91ba6 100644
--- a/depends.txt
+++ b/depends.txt
@@ -10,6 +10,7 @@ dwarves?
ethereal?
farming?
farming_plus?
+ferns?
fishing?
fruit?
glooptest?
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