crafts.lua 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. -- pipes
  2. minetest.register_craft({
  3. output = "bitumen:pipe 12",
  4. recipe = {
  5. {"default:steel_ingot", "default:tin_ingot", "default:steel_ingot"},
  6. {"", "", ""},
  7. {"default:steel_ingot", "default:tin_ingot", "default:steel_ingot"},
  8. }
  9. })
  10. minetest.register_craft({
  11. output = "bitumen:intake 1",
  12. type = "shapeless",
  13. recipe = {"bitumen:pipe", "default:tin_ingot"},
  14. })
  15. minetest.register_craft({
  16. output = "bitumen:spout 1",
  17. type = "shapeless",
  18. recipe = {"bitumen:pipe", "default:copper_ingot"},
  19. })
  20. minetest.register_craft({
  21. output = "bitumen:pump 1",
  22. recipe = {
  23. {"bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet"},
  24. {"bitumen:spout", "default:gold_ingot", "bitumen:intake"},
  25. {"bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet"},
  26. },
  27. })
  28. minetest.register_craft({
  29. output = "bitumen:pump_gas 1",
  30. type = "shapeless",
  31. recipe = {"bitumen:pump", "bitumen:gas_engine"},
  32. })
  33. minetest.register_craft({
  34. output = "bitumen:gas_engine 1",
  35. recipe = {
  36. {"", "", ""},
  37. {"default:steel_ingot", "", "default:steel_ingot"},
  38. {"", "default:steelblock", ""},
  39. },
  40. })
  41. -- drilling
  42. minetest.register_craft({
  43. output = 'bitumen:drill_pipe 12',
  44. recipe = {
  45. {'', 'default:steel_ingot', ''},
  46. {'', 'default:steel_ingot', ''},
  47. {'', 'default:steel_ingot', ''},
  48. }
  49. })
  50. -- refining
  51. minetest.register_craft({
  52. output = 'bitumen:distillation_column',
  53. recipe = {
  54. {'', 'bitumen:galv_steel_sheet', ''},
  55. {'', 'bitumen:galv_steel_sheet', ''},
  56. {'', 'bitumen:galv_steel_sheet', ''},
  57. }
  58. })
  59. minetest.register_craft({
  60. output = 'bitumen:distillation_column_outlet',
  61. recipe = {
  62. {'', 'bitumen:galv_steel_sheet', ''},
  63. {'bitumen:pipe', 'bitumen:galv_steel_sheet', 'bitumen:pipe'},
  64. {'', 'bitumen:galv_steel_sheet', ''},
  65. }
  66. })
  67. minetest.register_craft({
  68. output = 'bitumen:distillation_column_boiler',
  69. type = "shapeless",
  70. recipe = {
  71. 'bitumen:distillation_column',
  72. 'default:furnace',
  73. },
  74. })
  75. minetest.register_craft({
  76. output = 'bitumen:cracking_boiler',
  77. type = "shapeless",
  78. recipe = {
  79. 'bitumen:distillation_column',
  80. 'default:furnace',
  81. 'default:silver_sand',
  82. 'default:silver_sand',
  83. },
  84. })
  85. -- concrete
  86. minetest.register_craft({
  87. type = 'cooking',
  88. output = 'bitumen:lime',
  89. recipe = 'bitumen:chalk',
  90. cooktime = 5,
  91. })
  92. minetest.register_craft({
  93. type = 'cooking',
  94. output = 'bitumen:lime',
  95. recipe = 'default:coral_brown',
  96. cooktime = 5,
  97. })
  98. minetest.register_craft({
  99. type = 'cooking',
  100. output = 'bitumen:lime',
  101. recipe = 'default:coral_orange',
  102. cooktime = 5,
  103. })
  104. minetest.register_craft({
  105. type = 'cooking',
  106. output = 'bitumen:lime',
  107. recipe = 'default:coral_skeleton',
  108. cooktime = 5,
  109. })
  110. minetest.register_craft({
  111. output = 'bitumen:mineral_oil_furnace 1',
  112. recipe = {
  113. {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
  114. {'default:steel_ingot', 'bitumen:mineral_oil_furnace_blueprint', 'default:steel_ingot'},
  115. {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
  116. }
  117. })
  118. minetest.register_craft({
  119. output = 'bitumen:cement_mixer',
  120. recipe = {
  121. {'bitumen:galv_steel_sheet', '', 'bitumen:galv_steel_sheet',},
  122. {'bitumen:galv_steel_sheet', 'bitumen:cement_mixer_blueprint', 'bitumen:galv_steel_sheet',},
  123. {'', 'bitumen:spout', ''},
  124. }
  125. })
  126. -- concrete's recipe is:
  127. -- ---------------------
  128. -- 1 part cement
  129. -- 2 parts water
  130. -- 3 parts sand
  131. -- 3 parts gravel
  132. -- 3 crafts for combinations of water and river water
  133. minetest.register_craft( {
  134. type = "shapeless",
  135. output = "bitumen:wet_concrete 9",
  136. recipe = {
  137. "bitumen:lime",
  138. "bucket:bucket_water",
  139. "bucket:bucket_water",
  140. "group:sand",
  141. "group:sand",
  142. "group:sand",
  143. "default:gravel",
  144. "default:gravel",
  145. "default:gravel",
  146. },
  147. replacements = {
  148. { "bucket:bucket_water", "bucket:bucket_empty" },
  149. { "bucket:bucket_water", "bucket:bucket_empty" },
  150. }
  151. })
  152. minetest.register_craft( {
  153. type = "shapeless",
  154. output = "bitumen:wet_concrete 9",
  155. recipe = {
  156. "bitumen:lime",
  157. "bucket:bucket_river_water",
  158. "bucket:bucket_river_water",
  159. "group:sand",
  160. "group:sand",
  161. "group:sand",
  162. "default:gravel",
  163. "default:gravel",
  164. "default:gravel",
  165. },
  166. replacements = {
  167. { "bucket:bucket_river_water", "bucket:bucket_empty" },
  168. { "bucket:bucket_river_water", "bucket:bucket_empty" },
  169. }
  170. })
  171. minetest.register_craft( {
  172. type = "shapeless",
  173. output = "bitumen:wet_concrete 9",
  174. recipe = {
  175. "bitumen:lime",
  176. "bucket:bucket_water",
  177. "bucket:bucket_river_water",
  178. "group:sand",
  179. "group:sand",
  180. "group:sand",
  181. "default:gravel",
  182. "default:gravel",
  183. "default:gravel",
  184. },
  185. replacements = {
  186. { "bucket:bucket_water", "bucket:bucket_empty" },
  187. { "bucket:bucket_river_water", "bucket:bucket_empty" },
  188. }
  189. })
  190. -- blueprints
  191. minetest.register_craft( {
  192. type = "shapeless",
  193. output = "bitumen:blueprint_paper",
  194. recipe = {"default:paper", "dye:blue"},
  195. })
  196. minetest.register_craft({
  197. output = 'bitumen:blueprint_book',
  198. recipe = {
  199. {'bitumen:blueprint_paper'},
  200. {'bitumen:blueprint_paper'},
  201. {'bitumen:blueprint_paper'},
  202. }
  203. })
  204. minetest.register_craft({
  205. output = 'bitumen:blueprint_bookshelf',
  206. recipe = {
  207. {'group:wood', 'group:wood', 'group:wood'},
  208. {'bitumen:blueprint_book', 'bitumen:blueprint_book', 'bitumen:blueprint_book'},
  209. {'group:wood', 'group:wood', 'group:wood'},
  210. }
  211. })
  212. -- barrels
  213. minetest.register_craft({
  214. output = "bitumen:drum_filler",
  215. type = "shapeless",
  216. recipe = { "bitumen:oil_drum", "bitumen:spout" },
  217. })
  218. minetest.register_craft({
  219. output = "bitumen:drum_extractor",
  220. type = "shapeless",
  221. recipe = { "bitumen:oil_drum", "bitumen:intake" },
  222. })
  223. minetest.register_craft({
  224. output = "bitumen:oil_drum 3",
  225. recipe = {
  226. {"default:tin_ingot", "default:tin_ingot", "default:tin_ingot"},
  227. {"default:steel_ingot", "", "default:steel_ingot"},
  228. {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
  229. }
  230. })
  231. -- tanks
  232. minetest.register_craft({
  233. output = "bitumen:galv_steel_sheet 3",
  234. recipe = {
  235. {"", "", ""},
  236. {"", "", ""},
  237. {"default:steel_ingot", "default:tin_ingot", "default:steel_ingot"},
  238. }
  239. })
  240. minetest.register_craft({
  241. output = "bitumen:cylinder_tank 1",
  242. recipe = {
  243. {"bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet"},
  244. {"bitumen:galv_steel_sheet", "", "bitumen:galv_steel_sheet"},
  245. {"bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet", "bitumen:galv_steel_sheet"},
  246. }
  247. })
  248. minetest.register_craft({
  249. output = "bitumen:cylinder_tank_top 1",
  250. recipe = {
  251. {"", "bitumen:intake", ""},
  252. {"", "bitumen:cylinder_tank", ""},
  253. {"", "", ""},
  254. }
  255. })
  256. minetest.register_craft({
  257. output = "bitumen:cylinder_tank_bottom 1",
  258. recipe = {
  259. {"", "", ""},
  260. {"", "bitumen:cylinder_tank", ""},
  261. {"", "bitumen:spout", ""},
  262. }
  263. })
  264. minetest.register_craft({
  265. output = "bitumen:galv_steel_sheet 4",
  266. type = "shapeless",
  267. recipe = {"bitumen:cylinder_tank_cracked"},
  268. })
  269. -- misc machines
  270. minetest.register_craft({
  271. output = "bitumen:kerosene_light",
  272. recipe = {
  273. {"", "", ""},
  274. {"", "default:meselamp", ""},
  275. {"", "bitumen:drum_extractor", ""},
  276. }
  277. })
  278. minetest.register_craft({
  279. output = "bitumen:rock_crusher",
  280. recipe = {
  281. {"", "bitumen:galv_steel_sheet", ""},
  282. {"bitumen:galv_steel_sheet", "bitumen:rock_crusher_blueprint", "bitumen:galv_steel_sheet"},
  283. {"", "bitumen:galv_steel_sheet", ""},
  284. }
  285. })