recipes.lua 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. if minetest.get_modpath("moreblocks") then
  2. minetest.register_craft({
  3. output = 'building_blocks:sticks 2',
  4. recipe = {
  5. {'group:stick', '' , 'group:stick'},
  6. {'group:stick', 'group:stick', 'group:stick'},
  7. {'group:stick', 'group:stick', 'group:stick'},
  8. }
  9. })
  10. else
  11. minetest.register_craft({
  12. output = 'building_blocks:sticks',
  13. recipe = {
  14. {'group:stick', 'group:stick'},
  15. {'group:stick', 'group:stick'},
  16. }
  17. })
  18. end
  19. minetest.register_craft({
  20. output = 'building_blocks:Adobe 3',
  21. recipe = {
  22. {"default:sand"},
  23. {"default:clay"},
  24. {"group:stick"},
  25. }
  26. })
  27. minetest.register_craft({
  28. output = 'building_blocks:brobble_spread 4',
  29. recipe = {
  30. {"default:brick", "default:cobble", "default:brick"},
  31. }
  32. })
  33. minetest.register_craft({
  34. output = 'building_blocks:BWtile 10',
  35. recipe = {
  36. {"group:marble", "group:tar_block"},
  37. {"group:tar_block", "group:marble"},
  38. }
  39. })
  40. minetest.register_craft({
  41. output = 'building_blocks:fakegrass 2',
  42. recipe = {
  43. {'group:leaves'},
  44. {"default:dirt"},
  45. }
  46. })
  47. minetest.register_craft({
  48. output = 'building_blocks:Fireplace 1',
  49. recipe = {
  50. {"default:steel_ingot", "building_blocks:sticks", "default:steel_ingot"},
  51. }
  52. })
  53. minetest.register_craft({
  54. output = 'building_blocks:grate 1',
  55. recipe = {
  56. {"default:steel_ingot", "default:steel_ingot"},
  57. {"default:glass", "default:glass"},
  58. }
  59. })
  60. if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopblocks") then
  61. minetest.register_craft({
  62. output = 'building_blocks:gravel_spread 4',
  63. recipe = {
  64. {"default:gravel", "default:gravel", "default:gravel"},
  65. }
  66. })
  67. end
  68. minetest.register_craft({
  69. output = 'building_blocks:hardwood 2',
  70. recipe = {
  71. {"default:wood", "default:junglewood"},
  72. {"default:junglewood", "default:wood"},
  73. }
  74. })
  75. minetest.register_craft({
  76. output = 'building_blocks:hardwood 2',
  77. recipe = {
  78. {"default:junglewood", "default:wood"},
  79. {"default:wood", "default:junglewood"},
  80. }
  81. })
  82. minetest.register_craft({
  83. output = 'building_blocks:knife 1',
  84. recipe = {
  85. {"group:tar_block"},
  86. {"group:stick"},
  87. }
  88. })
  89. minetest.register_craft({
  90. output = "building_blocks:Marble 9",
  91. recipe = {
  92. {"default:clay", "group:tar_block", "default:clay"},
  93. {"group:tar_block","default:clay", "group:tar_block"},
  94. {"default:clay", "group:tar_block","default:clay"},
  95. }
  96. })
  97. minetest.register_craft({
  98. output = 'building_blocks:Roofing 10',
  99. recipe = {
  100. {"building_blocks:Adobe", "building_blocks:Adobe"},
  101. {"building_blocks:Adobe", "building_blocks:Adobe"},
  102. }
  103. })
  104. minetest.register_craft({
  105. output = 'default:stick 4',
  106. recipe = {
  107. {'building_blocks:sticks'},
  108. }
  109. })
  110. minetest.register_craft({
  111. output = 'building_blocks:tar_base 4',
  112. recipe = {
  113. {"default:coal_lump", "default:gravel"},
  114. {"default:gravel", "default:coal_lump"}
  115. }
  116. })
  117. minetest.register_craft({
  118. output = 'building_blocks:tar_base 4',
  119. recipe = {
  120. {"default:gravel", "default:coal_lump"},
  121. {"default:coal_lump", "default:gravel"}
  122. }
  123. })
  124. minetest.register_craft({
  125. output = 'building_blocks:Tarmac_spread 4',
  126. recipe = {
  127. {"group:tar_block", "group:tar_block"},
  128. }
  129. })
  130. minetest.register_craft({
  131. output = 'building_blocks:terrycloth_towel 2',
  132. recipe = {
  133. {"farming:string", "farming:string", "farming:string"},
  134. }
  135. })
  136. minetest.register_craft({
  137. output = 'building_blocks:woodglass 1',
  138. recipe = {
  139. {"group:wood"},
  140. {"default:glass"},
  141. }
  142. })
  143. minetest.register_craft({
  144. type = "cooking",
  145. output = "building_blocks:smoothglass",
  146. recipe = "default:glass"
  147. })
  148. minetest.register_craft({
  149. type = "cooking",
  150. output = "building_blocks:Tar",
  151. recipe = "building_blocks:tar_base",
  152. })
  153. minetest.register_craft({
  154. type = "fuel",
  155. recipe = "building_blocks:hardwood",
  156. burntime = 28,
  157. })
  158. minetest.register_craft({
  159. type = "fuel",
  160. recipe = "building_blocks:sticks",
  161. burntime = 5,
  162. })
  163. minetest.register_craft({
  164. type = "fuel",
  165. recipe = "building_blocks:Tar",
  166. burntime = 40,
  167. })