Fix typo, more food support

This commit is contained in:
Xanthin 2014-04-06 01:39:56 +02:00 committed by BlockMen
parent d9737800ed
commit 5377e03ae0
3 changed files with 33 additions and 2 deletions

View File

@ -61,6 +61,8 @@ Currently supported food:
- mushroom - mushroom
- fruit - fruit
- mush45 - mush45
- Seaplants (sea)
- Mobfcooking
Example: 1 apple fills up the hunger bar by 1 bread, 1 bread (from farming) 2 breads in bar. Example: 1 apple fills up the hunger bar by 1 bread, 1 bread (from farming) 2 breads in bar.

View File

@ -13,3 +13,5 @@ bushes_classic?
mushroom? mushroom?
fruit? fruit?
mush45? mush45?
seaplants?
mobfcooking?

View File

@ -102,6 +102,10 @@ if minetest.get_modpath("fishing") ~= nil then
overwrite("fishing:fish_raw", 2) overwrite("fishing:fish_raw", 2)
overwrite("fishing:fish", 4) overwrite("fishing:fish", 4)
overwrite("fishing:sushi", 6) overwrite("fishing:sushi", 6)
overwrite("fishing:shark", 4)
overwrite("fishing:shark_cooked", 8)
overwrite("fishing:pike", 4)
overwrite("fishing:pike_cooked", 8)
end end
if minetest.get_modpath("glooptest") ~= nil then if minetest.get_modpath("glooptest") ~= nil then
@ -153,10 +157,11 @@ if minetest.get_modpath("farming_plus") ~= nil then
overwrite("farming_plus:carrot_item", 3) overwrite("farming_plus:carrot_item", 3)
overwrite("farming_plus:banana", 2) overwrite("farming_plus:banana", 2)
overwrite("farming_plus:orange_item", 2) overwrite("farming_plus:orange_item", 2)
overwrite("farming_plus:pumpkin_bread", 4) overwrite("farming:pumpkin_bread", 4)
overwrite("farming_plus:strawberry_item", 2) overwrite("farming_plus:strawberry_item", 2)
overwrite("farming_plus:tomato_item", 2) overwrite("farming_plus:tomato_item", 2)
overwrite("farming_plus:potatoe_item", 4) overwrite("farming_plus:potato_item", 4)
overwrite("farming_plus:rhubarb_item", 2)
end end
if minetest.get_modpath("mtfoods") ~= nil then if minetest.get_modpath("mtfoods") ~= nil then
@ -198,3 +203,25 @@ end
if minetest.get_modpath("mush45") ~= nil then if minetest.get_modpath("mush45") ~= nil then
overwrite("mush45:meal", 4) overwrite("mush45:meal", 4)
end 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:seasaladmix", 6)
overwrite("seaplants:kelpgreensalad", 1)
overwrite("seaplants:kelpbrownsalad", 1)
overwrite("seaplants:seagrassgreensalad", 1)
overwrite("seaplants:seagrassgreensalad", 1)
end
if minetest.get_modpath("mobfcooking") ~= nil then
overwrite("mobfcooking:cooked_pork", 6)
overwrite("mobfcooking:cooked_ostrich", 6)
overwrite("mobfcooking:cooked_beef", 6)
overwrite("mobfcooking:cooked_chicken", 6)
overwrite("mobfcooking:cooked_lamb", 6)
overwrite("mobfcooking:cooked_venison", 6)
overwrite("mobfcooking:cooked_fish", 6)
end