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:
parent
169e4d44bf
commit
b6dfd8dce9
|
@ -10,6 +10,7 @@ dwarves?
|
||||||
ethereal?
|
ethereal?
|
||||||
farming?
|
farming?
|
||||||
farming_plus?
|
farming_plus?
|
||||||
|
ferns?
|
||||||
fishing?
|
fishing?
|
||||||
fruit?
|
fruit?
|
||||||
glooptest?
|
glooptest?
|
||||||
|
|
|
@ -329,6 +329,14 @@ if minetest.get_modpath("cooking") ~= nil then
|
||||||
overwrite("cooking:meat_undead_cooked", 1)
|
overwrite("cooking:meat_undead_cooked", 1)
|
||||||
end
|
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
|
-- player-action based hunger changes
|
||||||
function hud.handle_node_actions(pos, oldnode, player, ext)
|
function hud.handle_node_actions(pos, oldnode, player, ext)
|
||||||
if not player or not player:is_player() then
|
if not player or not player:is_player() then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user