diff --git a/mods/hud/depends.txt b/mods/hud/depends.txt index 98f29d14..9da4c966 100644 --- a/mods/hud/depends.txt +++ b/mods/hud/depends.txt @@ -9,6 +9,7 @@ dwarves? ethereal? farming? farming_plus? +ferns? fishing? fruit? glooptest? diff --git a/mods/hud/hunger.lua b/mods/hud/hunger.lua index edc32462..277632ea 100644 --- a/mods/hud/hunger.lua +++ b/mods/hud/hunger.lua @@ -142,6 +142,11 @@ end if minetest.get_modpath("mushroom") ~= nil then overwrite("mushroom:brown", 1) overwrite("mushroom:red", 1, "", 3) + -- mushroom potions: red = strong poison, brown = light restorative + if minetest.get_modpath("vessels") then + overwrite("mushroom:brown_essence", 1, "vessels:glass_bottle", nil, 2) + overwrite("mushroom:poison", 1, "vessels:glass_bottle", 10) + end end if minetest.get_modpath("docfarming") ~= nil then @@ -280,6 +285,8 @@ if minetest.get_modpath("farming") and farming.mod == "redo" then overwrite("farming:donut_chocolate", 6) overwrite("farming:donut_apple", 6) overwrite("farming:raspberries", 1) + overwrite("farming:blueberries", 1) + overwrite("farming:muffin_blueberry", 4) if minetest.get_modpath("vessels") then overwrite("farming:smoothie_raspberry", 2, "vessels:drinking_glass") end @@ -292,15 +299,20 @@ if minetest.get_modpath("maptools") then end if minetest.get_modpath("mobs") ~= nil then + overwrite("mobs:cheese", 4) overwrite("mobs:meat", 6) overwrite("mobs:meat_raw", 3) overwrite("mobs:rat_cooked", 5) + overwrite("mobs:honey", 2) overwrite("mobs:pork_raw", 4) overwrite("mobs:pork_cooked", 8) overwrite("mobs:chicken_raw", 2) overwrite("mobs:chicken_cooked", 4) overwrite("mobs:egg", 1) overwrite("mobs:chicken_egg_fried", 2) + if minetest.get_modpath("bucket") then + overwrite("mobs:bucket_milk", 3, "bucket:bucket_empty") + end end --- mes modifs /fin --- @@ -331,6 +343,14 @@ if minetest.get_modpath("jkwine") ~= nil then overwrite("jkwine:winebottle", 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