1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Support Ferns. Update Farming Redo and Mobs Redo

This commit is contained in:
Le_Docteur 2014-12-03 00:50:25 +01:00
parent 0440ca1933
commit af3b07ead3
2 changed files with 15 additions and 0 deletions

View File

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

View File

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