Conflicts:
	README.txt
This commit is contained in:
Wuzzy 2015-02-27 07:10:18 +01:00
commit 46965d9afe
3 changed files with 36 additions and 4 deletions

View File

@ -66,7 +66,7 @@ hunger_icon.png - PilzAdam (WTFPL), modified by BlockMen
hunger_bar.png - Wuzzy (WTFPL) hunger_bar.png - Wuzzy (WTFPL)
everything else is WTFPL: everything else is WTFPL:
(c) Copyright BlockMen (2013-2014) (c) Copyright BlockMen (2013-2015)
This program is free software. It comes without any warranty, to This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it the extent permitted by applicable law. You can redistribute it

View File

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

View File

@ -68,9 +68,25 @@ if minetest.get_modpath("farming") ~= nil then
end end
if minetest.get_modpath("mobs") ~= nil then if minetest.get_modpath("mobs") ~= nil then
overwrite("mobs:meat", 6) if mobs.mod ~= nil and mobs.mod == "redo" then
overwrite("mobs:meat_raw", 3) overwrite("mobs:cheese", 4)
overwrite("mobs:rat_cooked", 5) overwrite("mobs:meat", 8)
overwrite("mobs:meat_raw", 4)
overwrite("mobs:rat_cooked", 4)
overwrite("mobs:honey", 2)
overwrite("mobs:pork_raw", 3, "", 3)
overwrite("mobs:pork_cooked", 8)
overwrite("mobs:chicken_cooked", 6)
overwrite("mobs:chicken_raw", 2, "", 3)
overwrite("mobs:chicken_egg_fried", 2)
if minetest.get_modpath("bucket") then
overwrite("mobs:bucket_milk", 3, "bucket:bucket_empty")
end
else
overwrite("mobs:meat", 6)
overwrite("mobs:meat_raw", 3)
overwrite("mobs:rat_cooked", 5)
end
end end
if minetest.get_modpath("moretrees") ~= nil then if minetest.get_modpath("moretrees") ~= nil then
@ -150,6 +166,11 @@ end
if minetest.get_modpath("mushroom") ~= nil then if minetest.get_modpath("mushroom") ~= nil then
overwrite("mushroom:brown", 1) overwrite("mushroom:brown", 1)
overwrite("mushroom:red", 1, "", 3) 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, 4)
overwrite("mushroom:poison", 1, "vessels:glass_bottle", 10)
end
end end
if minetest.get_modpath("docfarming") ~= nil then if minetest.get_modpath("docfarming") ~= nil then
@ -286,6 +307,8 @@ if minetest.get_modpath("farming") and farming.mod == "redo" then
overwrite("farming:donut_chocolate", 6) overwrite("farming:donut_chocolate", 6)
overwrite("farming:donut_apple", 6) overwrite("farming:donut_apple", 6)
overwrite("farming:raspberries", 1) overwrite("farming:raspberries", 1)
overwrite("farming:blueberries", 1)
overwrite("farming:muffin_blueberry", 4)
if minetest.get_modpath("vessels") then if minetest.get_modpath("vessels") then
overwrite("farming:smoothie_raspberry", 2, "vessels:drinking_glass") overwrite("farming:smoothie_raspberry", 2, "vessels:drinking_glass")
end end
@ -331,6 +354,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 hunger.handle_node_actions(pos, oldnode, player, ext) function hunger.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