summaryrefslogtreecommitdiff
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
parent169e4d44bf31e8077f65ab63876fdea777fc595d (diff)
Support for ferns (plantlife_modpack)
-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