You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.3KB

  1. --MTFoods--
  2. --By: Philipbenr--
  3. --Licence: GPLv3--
  4. local orange_ing = "farming_plus:orange"
  5. if minetest.get_modpath("ethereal") then
  6. orange_ing = "ethereal:orange"
  7. end
  8. ing = {
  9. orange = orange_ing,
  10. apple = "default:apple",
  11. meat = "mobs:meat",
  12. bread = "farming:bread",
  13. tomato = "farming_plus:tomato_item",
  14. wheat = "farming:wheat",
  15. carrot = "farming_plus:carrot_item",
  16. potato = "farming_plus:potato_item",
  17. cocoa = "farming_plus:cocoa_bean",
  18. strawberry = "farming_plus:strawberry_item",
  19. flour = "farming:flour",
  20. rhubarb = "farming_plus:rhubarb_item",
  21. banana = "farming_plus:banana",
  22. pumpkin = "farming:pumpkin",
  23. }
  24. -- Add support for the food mod's ingredient list
  25. if minetest.get_modpath("food") then
  26. ing = {
  27. orange = "group:food_orange",
  28. apple = "default:apple",
  29. meat = "group:food_meat",
  30. bread = "farming:bread",
  31. tomato = "group:food_tomato",
  32. wheat = "group:food_wheat",
  33. carrot = "group:food_carrot",
  34. potato = "group:food_potato",
  35. cocoa = "group:food_cocoa",
  36. strawberry = "group:food_strawberry",
  37. flour = "group:food_flour",
  38. rhubarb = "group:food_rhubarb",
  39. banana = "farming_plus:banana",
  40. pumpkin = "farming:pumpkin",
  41. }
  42. end
  43. dofile(minetest.get_modpath("mtfoods").."/desserts.lua")
  44. dofile(minetest.get_modpath("mtfoods").."/foods.lua")
  45. dofile(minetest.get_modpath("mtfoods").."/drinks.lua")