Support de nourriture supplémentaire

This commit is contained in:
Sys Quatre 2019-04-21 00:15:53 +02:00
parent a05ee52a7f
commit 8cfdf48cfc

View File

@ -185,6 +185,7 @@ end
diet.__init()
overwrite("default:apple", 2)
overwrite("default:blueberries", 2)
if minetest.get_modpath("farming") ~= nil then
overwrite("farming:bread", 4)
end
@ -357,10 +358,10 @@ if minetest.get_modpath("mush45") ~= nil then
end
if minetest.get_modpath("seaplants") ~= nil then
overwrite("seaplants:kelpgreen", 1)
overwrite("seaplants:kelpbrown", 1)
overwrite("seaplants:seagrassgreen", 1)
overwrite("seaplants:seagrassred", 1)
overwrite("seaplants:sand_with_kelp_green", 1)
overwrite("seaplants:sand_with_kelp_brown", 1)
overwrite("seaplants:seagrass_green", 1)
overwrite("seaplants:seagrass_red", 1)
overwrite("seaplants:seasaladmix", 6)
overwrite("seaplants:kelpgreensalad", 1)
overwrite("seaplants:kelpbrownsalad", 1)
@ -410,9 +411,13 @@ if minetest.get_modpath("ethereal") then
end
if minetest.get_modpath("farming") and farming.mod == "redo" then
overwrite("farming:bread", 6)
overwrite("farming:bread", 5)
overwrite("farming:bread_slice", 1)
overwrite("farming:toast", 1)
overwrite("farming:toast_sandwich", 4)
overwrite("farming:potato", 1)
overwrite("farming:baked_potato", 6)
overwrite("farming:potato_salad", 10, "farming:bowl")
overwrite("farming:cucumber", 4)
overwrite("farming:tomato", 4)
overwrite("farming:carrot", 3)
@ -420,8 +425,8 @@ if minetest.get_modpath("farming") and farming.mod == "redo" then
overwrite("farming:corn", 3)
overwrite("farming:corn_cob", 5)
overwrite("farming:melon_slice", 2)
overwrite("farming:pumpkin_slice", 1)
overwrite("farming:pumpkin_bread", 9)
overwrite("farming:pumpkin_slice", 2)
overwrite("farming:pumpkin_bread", 8)
overwrite("farming:coffee_cup", 2, "farming:drinking_cup")
overwrite("farming:coffee_cup_hot", 3, "farming:drinking_cup", nil, 2)
overwrite("farming:cookie", 2)
@ -431,12 +436,29 @@ if minetest.get_modpath("farming") and farming.mod == "redo" then
overwrite("farming:donut_apple", 6)
overwrite("farming:raspberries", 1)
overwrite("farming:blueberries", 1)
overwrite("farming:muffin_blueberry", 4)
overwrite("farming:muffin_blueberry", 2)
overwrite("farming:blueberry_pie", 6)
if minetest.get_modpath("vessels") then
overwrite("farming:smoothie_raspberry", 2, "vessels:drinking_glass")
overwrite("farming:carrot_juice", 4, "vessels:drinking_glass")
overwrite("farming:pineapple_juice", 4, "vessels:drinking_glass")
end
overwrite("farming:rhubarb", 1)
overwrite("farming:rhubarb_pie", 6)
overwrite("farming:turkish_delight", 2)
overwrite("farming:garlic_bread", 2)
overwrite("farming:porridge", 6, "farming:bowl")
overwrite("farming:beans", 1)
overwrite("farming:beetroot", 1)
overwrite("farming:beetroot_soup", 6, "farming:bowl")
overwrite("farming:chili_pepper", 2)
overwrite("farming:chili_bowl", 8, "farming:bowl")
overwrite("farming:grapes", 2)
overwrite("farming:onion", 1)
overwrite("farming:peas", 1)
overwrite("farming:pea_soup", 4, "farming:bowl")
overwrite("farming:pepper", 2)
overwrite("farming:pineapple_ring", 1)
end
if minetest.get_modpath("kpgmobs") ~= nil then