init.lua 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. -- Cooking recipes.
  2. minetest.register_craft({
  3. type = "cooking",
  4. output = "darkage:gneiss",
  5. recipe = "darkage:schist",
  6. })
  7. minetest.register_craft({
  8. type = "cooking",
  9. output = "default:glass",
  10. recipe = "darkage:wood_frame",
  11. })
  12. minetest.register_craft({
  13. type = "cooking",
  14. output = "darkage:rhyolitic_tuff",
  15. recipe = "darkage:rhyolitic_tuff_rubble",
  16. })
  17. minetest.register_craft({
  18. type = "cooking",
  19. output = "darkage:tuff",
  20. recipe = "darkage:tuff_rubble",
  21. })
  22. minetest.register_craft({
  23. type = "cooking",
  24. output = "darkage:old_tuff_bricks",
  25. recipe = "darkage:tuff_bricks",
  26. })
  27. minetest.register_craft({
  28. type = "cooking",
  29. output = "darkage:tuff",
  30. recipe = "darkage:old_tuff_bricks",
  31. })
  32. minetest.register_craft({
  33. type = "cooking",
  34. output = "darkage:gneiss",
  35. recipe = "darkage:gneiss_rubble",
  36. })
  37. minetest.register_craft({
  38. type = "cooking",
  39. output = "darkage:slate",
  40. recipe = "darkage:slate_rubble",
  41. })
  42. minetest.register_craft({
  43. type = "cooking",
  44. output = "darkage:ors",
  45. recipe = "darkage:ors_rubble",
  46. })
  47. minetest.register_craft({
  48. type = "cooking",
  49. output = "darkage:slate",
  50. recipe = "darkage:slate_rubble",
  51. })
  52. minetest.register_craft({
  53. type = "cooking",
  54. output = "darkage:schist",
  55. recipe = "darkage:slate",
  56. })
  57. minetest.register_craft({
  58. type = "cooking",
  59. output = "darkage:shale",
  60. recipe = "darkage:mud",
  61. })
  62. minetest.register_craft({
  63. type = "cooking",
  64. output = "darkage:slate",
  65. recipe = "darkage:shale",
  66. })
  67. minetest.register_craft({
  68. type = "cooking",
  69. output = "darkage:ors_brick",
  70. recipe = "default:desert_stone",
  71. })
  72. minetest.register_craft({
  73. type = "cooking",
  74. output = "darkage:basaltic",
  75. recipe = "darkage:basaltic_rubble",
  76. })
  77. -- Craft recipes.
  78. minetest.register_craft({
  79. output = "darkage:straw_bale 9",
  80. recipe = {
  81. {"farming:straw", "farming:straw", "farming:straw"},
  82. {"farming:straw", "farming:straw", "farming:straw"},
  83. {"farming:straw", "farming:straw", "farming:straw"},
  84. }
  85. })
  86. minetest.register_craft({
  87. output = "darkage:ors 3",
  88. recipe = {
  89. {"default:sandstone", "default:sandstone"},
  90. {"default:iron_lump", "default:sandstone"},
  91. }
  92. })
  93. minetest.register_craft({
  94. output = "darkage:ors_brick 4",
  95. recipe = {
  96. {"darkage:ors", "darkage:ors"},
  97. {"darkage:ors", "darkage:ors"},
  98. }
  99. })
  100. minetest.register_craft({
  101. output = "darkage:ors_block 9",
  102. recipe = {
  103. {"darkage:ors", "darkage:ors", "darkage:ors"},
  104. {"darkage:ors", "darkage:ors", "darkage:ors"},
  105. {"darkage:ors", "darkage:ors", "darkage:ors"},
  106. }
  107. })
  108. minetest.register_craft({
  109. output = "darkage:stone_brick 2",
  110. recipe = {
  111. {"default:stonebrick", "default:stonebrick"},
  112. }
  113. })
  114. minetest.register_craft({
  115. output = "darkage:silt 2",
  116. recipe = {
  117. {"default:clay_lump", "default:sand"},
  118. {"default:sand", "default:clay_lump"},
  119. }
  120. })
  121. minetest.register_craft({
  122. output = "darkage:silt",
  123. recipe = {
  124. {"darkage:silt_lump", "darkage:silt_lump"},
  125. {"darkage:silt_lump", "darkage:silt_lump"},
  126. }
  127. })
  128. minetest.register_craft({
  129. output = "darkage:marble_tile 4",
  130. recipe = {
  131. {"darkage:marble", "darkage:marble"},
  132. {"darkage:marble", "darkage:marble"},
  133. }
  134. })
  135. minetest.register_craft({
  136. output = "darkage:gneiss_brick 4",
  137. recipe = {
  138. {"darkage:gneiss", "darkage:gneiss"},
  139. {"darkage:gneiss", "darkage:gneiss"},
  140. }
  141. })
  142. minetest.register_craft({
  143. output = "darkage:gneiss_block 9",
  144. recipe = {
  145. {"darkage:gneiss", "darkage:gneiss", "darkage:gneiss"},
  146. {"darkage:gneiss", "darkage:gneiss", "darkage:gneiss"},
  147. {"darkage:gneiss", "darkage:gneiss", "darkage:gneiss"},
  148. }
  149. })
  150. minetest.register_craft({
  151. output = "darkage:chalked_bricks_with_plaster 2",
  152. recipe = {
  153. {"darkage:chalked_bricks", "darkage:chalk_powder"},
  154. {"darkage:chalk_powder", "darkage:chalked_bricks"},
  155. }
  156. })
  157. minetest.register_craft({
  158. output = "darkage:cobble_with_plaster 2",
  159. recipe = {
  160. {"default:cobble", "darkage:chalk_powder"},
  161. {"darkage:chalk_powder", "default:cobble"},
  162. }
  163. })
  164. minetest.register_craft({
  165. type = "compressing",
  166. output = "darkage:chalk",
  167. recipe = "darkage:chalk_powder 4",
  168. time = 4,
  169. })
  170. minetest.register_craft({
  171. output = "darkage:chalked_bricks 4",
  172. recipe = {
  173. {"default:stone", "default:stone", "darkage:chalk_powder"},
  174. {"darkage:chalk_powder", "darkage:chalk_powder", "darkage:chalk_powder"},
  175. {"default:stone", "darkage:chalk_powder", "default:stone"},
  176. }
  177. })
  178. minetest.register_craft({
  179. output = "darkage:adobe 2",
  180. recipe = {
  181. {"default:sand", "default:sand"},
  182. {"default:clay_lump", "farming:straw"},
  183. }
  184. })
  185. minetest.register_craft({
  186. output = "darkage:mud 2",
  187. recipe = {
  188. {"default:dirt", "default:dirt"},
  189. {"default:clay_lump", "darkage:silt_lump"},
  190. }
  191. })
  192. minetest.register_craft({
  193. output = "darkage:mud",
  194. recipe = {
  195. {"darkage:mud_lump", "darkage:mud_lump"},
  196. {"darkage:mud_lump", "darkage:mud_lump"},
  197. }
  198. })
  199. minetest.register_craft({
  200. output = "darkage:iron_stick 6",
  201. recipe = {
  202. {"default:steel_ingot", "", ""},
  203. {"", "default:steel_ingot", ""},
  204. {"", "", "default:steel_ingot"},
  205. }
  206. })
  207. minetest.register_craft({
  208. output = "darkage:slate_brick 4",
  209. recipe = {
  210. {"darkage:slate", "darkage:slate"},
  211. {"darkage:slate", "darkage:slate"},
  212. }
  213. })
  214. minetest.register_craft({
  215. output = "darkage:slate_block 9",
  216. recipe = {
  217. {"darkage:slate", "darkage:slate", "darkage:slate"},
  218. {"darkage:slate", "darkage:slate", "darkage:slate"},
  219. {"darkage:slate", "darkage:slate", "darkage:slate"},
  220. }
  221. })
  222. minetest.register_craft({
  223. output = "darkage:slate_tile 4",
  224. recipe = {
  225. {"darkage:slate_brick", "darkage:slate_brick"},
  226. {"darkage:slate_brick", "darkage:slate_brick"},
  227. }
  228. })
  229. minetest.register_craft({
  230. output = "darkage:tuff 4",
  231. recipe = {
  232. {"darkage:gneiss", "default:stone"},
  233. {"default:stone", "darkage:gneiss"},
  234. }
  235. })
  236. minetest.register_craft({
  237. output = "darkage:tuff_bricks 4",
  238. recipe = {
  239. {"darkage:tuff", "darkage:tuff"},
  240. {"darkage:tuff", "darkage:tuff"},
  241. }
  242. })
  243. minetest.register_craft({
  244. output = "darkage:rhyolitic_tuff 4",
  245. recipe = {
  246. {"darkage:gneiss", "default:desert_stone"},
  247. {"default:desert_stone", "darkage:gneiss"},
  248. }
  249. })
  250. minetest.register_craft({
  251. output = "darkage:rhyolitic_tuff_bricks 4",
  252. recipe = {
  253. {"darkage:rhyolitic_tuff", "darkage:rhyolitic_tuff"},
  254. {"darkage:rhyolitic_tuff", "darkage:rhyolitic_tuff"},
  255. }
  256. })
  257. minetest.register_craft({
  258. output = "darkage:basaltic_rubble 4",
  259. recipe = {
  260. {"default:cobble", "default:coal_lump"},
  261. {"default:coal_lump", "default:cobble"},
  262. }
  263. })
  264. minetest.register_craft({
  265. output = "darkage:basaltic_brick 4",
  266. recipe = {
  267. {"darkage:basaltic", "darkage:basaltic"},
  268. {"darkage:basaltic", "darkage:basaltic"},
  269. }
  270. })
  271. minetest.register_craft({
  272. output = "darkage:basaltic_block 9",
  273. recipe = {
  274. {"darkage:basaltic", "darkage:basaltic", "darkage:basaltic"},
  275. {"darkage:basaltic", "darkage:basaltic", "darkage:basaltic"},
  276. {"darkage:basaltic", "darkage:basaltic", "darkage:basaltic"},
  277. }
  278. })
  279. minetest.register_craft({
  280. output = "darkage:glass 5",
  281. recipe = {
  282. {"default:glass", "default:steel_ingot", "default:glass"},
  283. {"default:steel_ingot", "default:glass", "default:steel_ingot"},
  284. {"default:glass", "default:steel_ingot", "default:glass"},
  285. }
  286. })
  287. minetest.register_craft({
  288. type = "shapeless",
  289. output = "darkage:milk_glass",
  290. recipe = {"darkage:glass", "dye:white"},
  291. })
  292. minetest.register_craft({
  293. type = "shapeless",
  294. output = "darkage:glass",
  295. recipe = {"darkage:milk_glass"},
  296. })
  297. minetest.register_craft({
  298. type = "shapeless",
  299. output = "darkage:glass",
  300. recipe = {"darkage:glow_glass"},
  301. })
  302. minetest.register_craft({
  303. type = "shapeless",
  304. output = "darkage:glow_glass 1",
  305. recipe = {"darkage:glass", "xdecor:lantern"},
  306. })
  307. minetest.register_craft({
  308. output = "darkage:glass_round 5",
  309. recipe = {
  310. {"default:steel_ingot", "default:glass", "default:steel_ingot"},
  311. {"default:glass", "default:glass", "default:glass"},
  312. {"default:steel_ingot", "default:glass", "default:steel_ingot"},
  313. }
  314. })
  315. minetest.register_craft({
  316. type = "shapeless",
  317. output = "darkage:milk_glass_round",
  318. recipe = {"darkage:glass_round", "dye:white"},
  319. })
  320. minetest.register_craft({
  321. type = "shapeless",
  322. output = "darkage:glass_round",
  323. recipe = {"darkage:milk_glass_round"},
  324. })
  325. minetest.register_craft({
  326. output = "darkage:glass_square 4",
  327. recipe = {
  328. {"default:glass", "default:steel_ingot", "default:glass"},
  329. {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
  330. {"default:glass", "default:steel_ingot", "default:glass"},
  331. }
  332. })
  333. minetest.register_craft({
  334. type = "shapeless",
  335. output = "darkage:milk_glass_square",
  336. recipe = {"darkage:glass_square", "dye:white"},
  337. })
  338. minetest.register_craft({
  339. type = "shapeless",
  340. output = "darkage:glass_square",
  341. recipe = {"darkage:milk_glass_square"},
  342. })
  343. minetest.register_craft({
  344. output = "darkage:wood_frame",
  345. recipe = {
  346. {"group:stick", "group:stick", "group:stick"},
  347. {"", "default:glass", ""},
  348. {"group:stick", "group:stick", "group:stick"},
  349. }
  350. })
  351. minetest.register_craft({
  352. output = "darkage:lamp",
  353. recipe = {
  354. {"group:stick", "default:paper", "group:stick"},
  355. {"default:paper", "xdecor:lantern", "default:paper"},
  356. {"group:stick", "default:paper", "group:stick"},
  357. }
  358. })
  359. minetest.register_craft({
  360. output = "darkage:box",
  361. recipe = {
  362. {"default:wood", "group:stick", "default:wood"},
  363. {"group:stick", "", "group:stick"},
  364. {"default:wood", "group:stick", "default:wood"},
  365. }
  366. })
  367. minetest.register_craft({
  368. output = "darkage:wood_shelves 2",
  369. recipe = {
  370. {"darkage:box"},
  371. {"darkage:box"},
  372. }
  373. })