1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2024-11-14 22:30:35 +01:00

Support for ferns (plantlife_modpack)

This commit is contained in:
mgl 2014-12-01 17:39:51 +01:00
parent 169e4d44bf
commit b6dfd8dce9
2 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,7 @@ dwarves?
ethereal?
farming?
farming_plus?
ferns?
fishing?
fruit?
glooptest?

View File

@ -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