mtfoods/init.lua

49 lines
1.5 KiB
Lua
Raw Normal View History

--MTFoods--
--By: Philipbenr--
--Licence: GPLv3--
ing = {
orange = "farming_plus:orange",
apple = "default:apple",
meat = "mobs:meat",
bread = "farming:bread",
tomato = "farming_plus:tomato_item",
wheat = "farming:wheat",
carrot = "farming_plus:carrot_item",
potato = "farming_plus:potato_item",
cocoa = "farming_plus:cocoa_bean",
strawberry = "farming_plus:strawberry_item",
flour = "farming:flour",
rhubarb = "farming_plus:rhubarb_item",
banana = "farming_plus:banana",
pumpkin = "farming:pumpkin",
}
-- Add support for the food mod's ingredient list
if minetest.get_modpath("food") then
food.support("strawberry","farming_plus","farming_plus:strawberry_item")
food.support("strawberry","plantlib","plantlib:strawberry")
food.support("strawberry","bushes_classic","bushes:strawberry")
food.support("rhubarb","farming_plus","farming_plus:rhubarb_item")
ing = {
orange = "farming_plus:orange",
apple = "default:apple",
meat = "group:food_meat",
bread = "farming:bread",
tomato = "group:food_tomato",
wheat = "group:food_wheat",
carrot = "group:food_carrot",
potato = "group:food_potato",
cocoa = "group:food_cocoa",
strawberry = "group:food_strawberry",
flour = "group:food_flour",
rhubarb = "group:food_rhubarb",
banana = "farming_plus:banana",
pumpkin = "farming:pumpkin",
}
end
dofile(minetest.get_modpath("mtfoods").."/desserts.lua")
dofile(minetest.get_modpath("mtfoods").."/foods.lua")
dofile(minetest.get_modpath("mtfoods").."/drinks.lua")