utensils.lua 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. local S = farming.intllib
  2. -- wooden bowl
  3. minetest.register_craftitem("farming:bowl", {
  4. description = S("Wooden Bowl"),
  5. inventory_image = "farming_bowl.png",
  6. groups = {food_bowl = 1, flammable = 2},
  7. })
  8. minetest.register_craft({
  9. output = "farming:bowl 4",
  10. recipe = {
  11. {"group:wood", "", "group:wood"},
  12. {"", "group:wood", ""},
  13. }
  14. })
  15. minetest.register_craft({
  16. type = "fuel",
  17. recipe = "farming:bowl",
  18. burntime = 10,
  19. })
  20. -- saucepan
  21. minetest.register_craftitem("farming:saucepan", {
  22. description = S("Saucepan"),
  23. inventory_image = "farming_saucepan.png",
  24. groups = {food_saucepan = 1, flammable = 2},
  25. })
  26. minetest.register_craft({
  27. output = "farming:saucepan",
  28. recipe = {
  29. {"default:steel_ingot", "", ""},
  30. {"", "group:stick", ""},
  31. }
  32. })
  33. -- cooking pot
  34. minetest.register_craftitem("farming:pot", {
  35. description = S("Cooking Pot"),
  36. inventory_image = "farming_pot.png",
  37. groups = {food_pot = 1, flammable = 2},
  38. })
  39. minetest.register_craft({
  40. output = "farming:pot",
  41. recipe = {
  42. {"group:stick", "default:steel_ingot", "default:steel_ingot"},
  43. {"", "default:steel_ingot", "default:steel_ingot"},
  44. }
  45. })
  46. -- baking tray
  47. minetest.register_craftitem("farming:baking_tray", {
  48. description = S("Baking Tray"),
  49. inventory_image = "farming_baking_tray.png",
  50. groups = {food_baking_tray = 1, flammable = 2},
  51. })
  52. minetest.register_craft({
  53. output = "farming:baking_tray",
  54. recipe = {
  55. {"default:clay_brick", "default:clay_brick", "default:clay_brick"},
  56. {"default:clay_brick", "", "default:clay_brick"},
  57. {"default:clay_brick", "default:clay_brick", "default:clay_brick"},
  58. }
  59. })
  60. -- skillet
  61. minetest.register_craftitem("farming:skillet", {
  62. description = S("Skillet"),
  63. inventory_image = "farming_skillet.png",
  64. groups = {food_skillet = 1, flammable = 2},
  65. })
  66. minetest.register_craft({
  67. output = "farming:skillet",
  68. recipe = {
  69. {"default:steel_ingot", "", ""},
  70. {"", "default:steel_ingot", ""},
  71. {"", "", "group:stick"},
  72. }
  73. })
  74. -- cutting board
  75. minetest.register_craftitem("farming:cutting_board", {
  76. description = S("Cutting Board"),
  77. inventory_image = "farming_cutting_board.png",
  78. groups = {food_cutting_board = 1, flammable = 2},
  79. })
  80. minetest.register_craft({
  81. output = "farming:cutting_board",
  82. recipe = {
  83. {"default:steel_ingot", "", ""},
  84. {"", "group:stick", ""},
  85. {"", "", "group:wood"},
  86. }
  87. })
  88. -- glass mixing bowl
  89. minetest.register_craftitem("farming:mixing_bowl", {
  90. description = S("Glass Mixing Bowl"),
  91. inventory_image = "farming_mixing_bowl.png",
  92. groups = {food_mixing_bowl = 1, flammable = 2},
  93. })
  94. minetest.register_craft({
  95. output = "farming:mixing_bowl",
  96. recipe = {
  97. {"default:glass", "group:stick", "default:glass"},
  98. {"", "default:glass", ""},
  99. }
  100. })
  101. minetest.register_craft( {
  102. type = "shapeless",
  103. output = "vessels:glass_fragments",
  104. recipe = {
  105. "farming:mixing_bowl",
  106. },
  107. })