2014-01-20 23:56:42 +01:00
|
|
|
--MTFoods--
|
|
|
|
--By: Philipbenr--
|
|
|
|
--Licence: GPLv3--
|
|
|
|
|
2016-07-30 23:00:28 +02:00
|
|
|
local orange_ing = "farming_plus:orange"
|
|
|
|
if minetest.get_modpath("ethereal") then
|
|
|
|
orange_ing = "ethereal:orange"
|
|
|
|
end
|
|
|
|
|
2014-06-09 19:40:16 +02:00
|
|
|
ing = {
|
2016-07-30 23:00:28 +02:00
|
|
|
orange = orange_ing,
|
2014-06-09 19:40:16 +02:00
|
|
|
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
|
|
|
|
ing = {
|
2016-07-30 22:28:49 +02:00
|
|
|
orange = "group:food_orange",
|
2014-06-09 19:40:16 +02:00
|
|
|
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
|
|
|
|
|
2014-01-20 23:56:42 +01:00
|
|
|
dofile(minetest.get_modpath("mtfoods").."/desserts.lua")
|
|
|
|
dofile(minetest.get_modpath("mtfoods").."/foods.lua")
|
|
|
|
dofile(minetest.get_modpath("mtfoods").."/drinks.lua")
|