config.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. tf_recipes.fruits = { {'apple', 'Apple', '#ecff56','default:apple'},
  2. {'grapes', 'Grape', '#b20056','farming:grapes'},
  3. {'rhubarb', 'Rhubarb', '#fb8461','farming:rhubarb'},
  4. {'blueberries', 'Blueberry', '#521dcb','default:blueberries'},
  5. {'tomatos', 'Tomatos', '#ec0812','farming:tomato'},
  6. {'carrot', 'Carrot', '#ecec12','farming:carrot'},
  7. {'beetroot', 'Beetroot', '#881212','farming:beetroot'},
  8. {'lemon', 'Lemon', '#888812','ethereal:lemon'},
  9. {'orange', 'Orange', '#886012','ethereal:orange'},
  10. {'pineapple', 'Pineapple', '#606012','farming:pineapple'},
  11. }
  12. if minetest.registered_items["bucket:bucket_empty"] then
  13. tf_recipes.bucket = "bucket:bucket_empty"
  14. end
  15. if minetest.registered_items["vessels:glass_bottle"] then
  16. tf_recipes.bottle = "vessels:glass_bottle"
  17. end
  18. if minetest.registered_items["vessels:drinking_glass"] then
  19. tf_recipes.glass = "vessels:drinking_glass"
  20. end
  21. if minetest.registered_items["vessels:glass_water"] then
  22. tf_recipes.glasswater = "vessels:glass_water"
  23. elseif minetest.registered_items["farming:glass_water"] then
  24. tf_recipes.glasswater = "farming:glass_water"
  25. end
  26. if minetest.registered_items["ethereal:bowl"] then
  27. tf_recipes.bowl = "ethereal:bowl"
  28. elseif minetest.registered_items["farming:bowl"] then
  29. tf_recipes.bowl = "farming:bowl"
  30. end