utensils.lua 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. -- mortar and pestle
  75. minetest.register_craftitem("farming:mortar_pestle", {
  76. description = S("Mortar and Pestle"),
  77. inventory_image = "farming_mortar_pestle.png",
  78. groups = {food_mortar_pestle = 1, flammable = 2},
  79. })
  80. minetest.register_craft({
  81. output = "farming:mortar_pestle",
  82. recipe = {
  83. {"default:stone", "group:stick", "default:stone"},
  84. {"", "default:stone", ""},
  85. }
  86. })
  87. -- cutting board
  88. minetest.register_craftitem("farming:cutting_board", {
  89. description = S("Cutting Board"),
  90. inventory_image = "farming_cutting_board.png",
  91. groups = {food_cutting_board = 1, flammable = 2},
  92. })
  93. minetest.register_craft({
  94. output = "farming:cutting_board",
  95. recipe = {
  96. {"default:steel_ingot", "", ""},
  97. {"", "group:stick", ""},
  98. {"", "", "group:wood"},
  99. }
  100. })
  101. -- juicer
  102. minetest.register_craftitem("farming:juicer", {
  103. description = S("Juicer"),
  104. inventory_image = "farming_juicer.png",
  105. groups = {food_juicer = 1, flammable = 2},
  106. })
  107. minetest.register_craft({
  108. output = "farming:juicer",
  109. recipe = {
  110. {"", "default:stone", ""},
  111. {"default:stone", "", "default:stone"},
  112. }
  113. })
  114. -- glass mixing bowl
  115. minetest.register_craftitem("farming:mixing_bowl", {
  116. description = S("Glass Mixing Bowl"),
  117. inventory_image = "farming_mixing_bowl.png",
  118. groups = {food_mixing_bowl = 1, flammable = 2},
  119. })
  120. minetest.register_craft({
  121. output = "farming:mixing_bowl",
  122. recipe = {
  123. {"default:glass", "group:stick", "default:glass"},
  124. {"", "default:glass", ""},
  125. }
  126. })
  127. minetest.register_craft( {
  128. type = "shapeless",
  129. output = "vessels:glass_fragments",
  130. recipe = {
  131. "farming:mixing_bowl",
  132. },
  133. })