From af3b07ead351d4e8e11f63da6c7dea05536059bc Mon Sep 17 00:00:00 2001 From: Le_Docteur Date: Wed, 3 Dec 2014 00:50:25 +0100 Subject: [PATCH 1/3] Support Ferns. Update Farming Redo and Mobs Redo --- mods/hud/depends.txt | 1 + mods/hud/hunger.lua | 14 ++++++++++++++ 2 files changed, 15 insertions(+) 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..1e2d360c 100644 --- a/mods/hud/hunger.lua +++ b/mods/hud/hunger.lua @@ -280,6 +280,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 @@ -295,12 +297,16 @@ if minetest.get_modpath("mobs") ~= nil then 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 +337,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 From e08936158ace6db85654622a0ba8491bd37219a0 Mon Sep 17 00:00:00 2001 From: Le_Docteur Date: Wed, 3 Dec 2014 08:11:33 +0100 Subject: [PATCH 2/3] Added mobs:cheese --- mods/hud/hunger.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/hud/hunger.lua b/mods/hud/hunger.lua index 1e2d360c..6e65a72c 100644 --- a/mods/hud/hunger.lua +++ b/mods/hud/hunger.lua @@ -294,6 +294,7 @@ 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) From 93ce800e60b22deab0a622bb957b630d358a7bc1 Mon Sep 17 00:00:00 2001 From: Le_Docteur Date: Wed, 3 Dec 2014 17:55:12 +0100 Subject: [PATCH 3/3] Added plantlife_modpack/mushroom potions. --- mods/hud/hunger.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mods/hud/hunger.lua b/mods/hud/hunger.lua index 6e65a72c..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