oreblocks.lua 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. -----nickel--------
  2. minetest.register_node("xtraores:brick_nickel", {
  3. description = "Nickel Brick",
  4. paramtype2 = "facedir",
  5. place_param2 = 0,
  6. tiles = {"xtraores_brick_nickel.png"},
  7. is_ground_content = false,
  8. groups = utility.dig_groups("brick", {brick = 1}),
  9. sounds = default.node_sound_stone_defaults(),
  10. })
  11. minetest.register_craft({
  12. output = "xtraores:brick_nickel",
  13. recipe = {
  14. {'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  15. {'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  16. },
  17. })
  18. minetest.register_node("xtraores:decobrick_nickel", {
  19. description = "Nickel Brick",
  20. paramtype2 = "facedir",
  21. place_param2 = 0,
  22. tiles = {"xtraores_decobrick_nickel.png"},
  23. is_ground_content = false,
  24. groups = utility.dig_groups("brick", {brick = 1}),
  25. sounds = default.node_sound_stone_defaults(),
  26. })
  27. minetest.register_craft({
  28. output = 'xtraores:decobrick_nickel 4',
  29. recipe = {
  30. {'xtraores:brick_nickel', 'xtraores:brick_nickel'},
  31. {'xtraores:brick_nickel', 'xtraores:brick_nickel'},
  32. }
  33. })
  34. -----platinum--------
  35. minetest.register_node("xtraores:brick_platinum", {
  36. description = "Platinum Brick",
  37. paramtype2 = "facedir",
  38. place_param2 = 0,
  39. tiles = {"xtraores_brick_platinum.png"},
  40. is_ground_content = false,
  41. groups = utility.dig_groups("brick", {brick = 1}),
  42. sounds = default.node_sound_stone_defaults(),
  43. })
  44. minetest.register_craft({
  45. output = "xtraores:brick_platinum",
  46. recipe = {
  47. {'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  48. {'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  49. },
  50. })
  51. minetest.register_node("xtraores:decobrick_platinum", {
  52. description = "Platinum Brick",
  53. paramtype2 = "facedir",
  54. place_param2 = 0,
  55. tiles = {"xtraores_decobrick_platinum.png"},
  56. is_ground_content = false,
  57. groups = utility.dig_groups("brick", {brick = 1}),
  58. sounds = default.node_sound_stone_defaults(),
  59. })
  60. minetest.register_craft({
  61. output = 'xtraores:decobrick_platinum 4',
  62. recipe = {
  63. {'xtraores:brick_platinum', 'xtraores:brick_platinum'},
  64. {'xtraores:brick_platinum', 'xtraores:brick_platinum'},
  65. }
  66. })
  67. -----palladium--------
  68. minetest.register_node("xtraores:brick_palladium", {
  69. description = "Palladium Brick",
  70. paramtype2 = "facedir",
  71. place_param2 = 0,
  72. tiles = {"xtraores_brick_palladium.png"},
  73. is_ground_content = false,
  74. groups = utility.dig_groups("brick", {brick = 1}),
  75. sounds = default.node_sound_stone_defaults(),
  76. })
  77. minetest.register_craft({
  78. output = "xtraores:brick_palladium",
  79. recipe = {
  80. {'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  81. {'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  82. },
  83. })
  84. minetest.register_node("xtraores:decobrick_palladium", {
  85. description = "Palladium Brick",
  86. paramtype2 = "facedir",
  87. place_param2 = 0,
  88. tiles = {"xtraores_decobrick_palladium.png"},
  89. is_ground_content = false,
  90. groups = utility.dig_groups("brick", {brick = 1}),
  91. sounds = default.node_sound_stone_defaults(),
  92. })
  93. minetest.register_craft({
  94. output = 'xtraores:decobrick_palladium 4',
  95. recipe = {
  96. {'xtraores:brick_palladium', 'xtraores:brick_palladium'},
  97. {'xtraores:brick_palladium', 'xtraores:brick_palladium'},
  98. }
  99. })
  100. -----cobalt--------
  101. minetest.register_node("xtraores:brick_cobalt", {
  102. description = "Cobalt Brick",
  103. paramtype2 = "facedir",
  104. place_param2 = 0,
  105. tiles = {"xtraores_brick_cobalt.png"},
  106. is_ground_content = false,
  107. groups = utility.dig_groups("brick", {brick = 1}),
  108. sounds = default.node_sound_stone_defaults(),
  109. })
  110. minetest.register_craft({
  111. output = "xtraores:brick_cobalt",
  112. recipe = {
  113. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  114. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  115. },
  116. })
  117. minetest.register_node("xtraores:decobrick_cobalt", {
  118. description = "Cobalt Brick",
  119. paramtype2 = "facedir",
  120. place_param2 = 0,
  121. tiles = {"xtraores_decobrick_cobalt.png"},
  122. is_ground_content = false,
  123. groups = utility.dig_groups("brick", {brick = 1}),
  124. sounds = default.node_sound_stone_defaults(),
  125. })
  126. minetest.register_craft({
  127. output = 'xtraores:decobrick_cobalt 4',
  128. recipe = {
  129. {'xtraores:brick_cobalt', 'xtraores:brick_cobalt'},
  130. {'xtraores:brick_cobalt', 'xtraores:brick_cobalt'},
  131. }
  132. })
  133. --[[
  134. -----thorium--------
  135. minetest.register_node("xtraores:brick_thorium", {
  136. description = "" ..core.colorize("#68fff6", "thorium brick\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  137. paramtype2 = "facedir",
  138. place_param2 = 0,
  139. tiles = {"xtraores_brick_thorium.png"},
  140. is_ground_content = false,
  141. stack_max= 999,
  142. groups = {cracky = 5},
  143. on_blast = function() end,
  144. sounds = default.node_sound_stone_defaults(),
  145. })
  146. minetest.register_craft( {
  147. type = "shapeless",
  148. output = "xtraores:brick_thorium",
  149. recipe = {"xtraores:thorium_ore", "default:cobble"},
  150. })
  151. minetest.register_node("xtraores:block_thorium", {
  152. description = "" ..core.colorize("#68fff6", "thorium block\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  153. paramtype2 = "facedir",
  154. place_param2 = 0,
  155. tiles = {"xtraores_block_thorium.png"},
  156. is_ground_content = false,
  157. stack_max= 999,
  158. groups = {cracky = 5},
  159. on_blast = function() end,
  160. sounds = default.node_sound_stone_defaults(),
  161. })
  162. minetest.register_craft({
  163. output = 'xtraores:block_thorium',
  164. recipe = {
  165. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  166. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  167. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  168. }
  169. })
  170. minetest.register_craft({
  171. output = 'xtraores:thorium_bar 9',
  172. recipe = {
  173. {'xtraores:block_thorium'},
  174. }
  175. })
  176. minetest.register_node("xtraores:decobrick_thorium", {
  177. description = "" ..core.colorize("#68fff6", "Decorative thorium brick\n")..core.colorize("#FFFFFF", "Can be placed"),
  178. paramtype2 = "facedir",
  179. place_param2 = 0,
  180. tiles = {"xtraores_decobrick_thorium.png"},
  181. is_ground_content = false,
  182. stack_max= 999,
  183. groups = {cracky = 5},
  184. on_blast = function() end,
  185. sounds = default.node_sound_stone_defaults(),
  186. })
  187. minetest.register_craft({
  188. output = 'xtraores:decobrick_thorium 4',
  189. recipe = {
  190. {'xtraores:brick_thorium', 'xtraores:brick_thorium', ''},
  191. {'xtraores:brick_thorium', 'xtraores:brick_thorium', ''},
  192. }
  193. })
  194. -----osmium--------
  195. minetest.register_node("xtraores:brick_osmium", {
  196. description = "" ..core.colorize("#68fff6", "Osmium brick\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  197. paramtype2 = "facedir",
  198. place_param2 = 0,
  199. tiles = {"xtraores_brick_osmium.png"},
  200. is_ground_content = false,
  201. stack_max= 999,
  202. groups = {cracky = 6},
  203. on_blast = function() end,
  204. sounds = default.node_sound_stone_defaults(),
  205. })
  206. minetest.register_craft( {
  207. type = "shapeless",
  208. output = "xtraores:brick_osmium",
  209. recipe = {"xtraores:osmium_ore", "default:cobble"},
  210. })
  211. minetest.register_node("xtraores:block_osmium", {
  212. description = "" ..core.colorize("#68fff6", "Osmium block\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  213. paramtype2 = "facedir",
  214. place_param2 = 0,
  215. tiles = {"xtraores_block_osmium.png"},
  216. is_ground_content = false,
  217. stack_max= 999,
  218. groups = {cracky = 6},
  219. on_blast = function() end,
  220. sounds = default.node_sound_stone_defaults(),
  221. })
  222. minetest.register_craft({
  223. output = 'xtraores:block_osmium',
  224. recipe = {
  225. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  226. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  227. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  228. }
  229. })
  230. minetest.register_craft({
  231. output = 'xtraores:osmium_bar 9',
  232. recipe = {
  233. {'xtraores:block_osmium'},
  234. }
  235. })
  236. minetest.register_node("xtraores:decobrick_osmium", {
  237. description = "" ..core.colorize("#68fff6", "Decorative Osmium brick\n")..core.colorize("#FFFFFF", "Can be placed"),
  238. paramtype2 = "facedir",
  239. place_param2 = 0,
  240. tiles = {"xtraores_decobrick_osmium.png"},
  241. is_ground_content = false,
  242. stack_max= 999,
  243. groups = {cracky = 6},
  244. on_blast = function() end,
  245. sounds = default.node_sound_stone_defaults(),
  246. })
  247. minetest.register_craft({
  248. output = 'xtraores:decobrick_osmium 4',
  249. recipe = {
  250. {'xtraores:brick_osmium', 'xtraores:brick_osmium', ''},
  251. {'xtraores:brick_osmium', 'xtraores:brick_osmium', ''},
  252. }
  253. })
  254. -----rhenium--------
  255. minetest.register_node("xtraores:brick_rhenium", {
  256. description = "" ..core.colorize("#68fff6", "Rhenium brick\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  257. paramtype2 = "facedir",
  258. place_param2 = 0,
  259. tiles = {"xtraores_brick_rhenium.png"},
  260. is_ground_content = false,
  261. stack_max= 999,
  262. groups = {cracky = 7},
  263. on_blast = function() end,
  264. sounds = default.node_sound_stone_defaults(),
  265. })
  266. minetest.register_craft( {
  267. type = "shapeless",
  268. output = "xtraores:brick_rhenium",
  269. recipe = {"xtraores:rhenium_ore", "default:cobble"},
  270. })
  271. minetest.register_node("xtraores:block_rhenium", {
  272. description = "" ..core.colorize("#68fff6", "Rhenium block\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  273. paramtype2 = "facedir",
  274. place_param2 = 0,
  275. tiles = {"xtraores_block_rhenium.png"},
  276. is_ground_content = false,
  277. stack_max= 999,
  278. groups = {cracky = 7},
  279. on_blast = function() end,
  280. sounds = default.node_sound_stone_defaults(),
  281. })
  282. minetest.register_craft({
  283. output = 'xtraores:block_rhenium',
  284. recipe = {
  285. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  286. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  287. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  288. }
  289. })
  290. minetest.register_craft({
  291. output = 'xtraores:rhenium_bar 9',
  292. recipe = {
  293. {'xtraores:block_rhenium'},
  294. }
  295. })
  296. minetest.register_node("xtraores:decobrick_rhenium", {
  297. description = "" ..core.colorize("#68fff6", "Decorative Rhenium brick\n")..core.colorize("#FFFFFF", "Can be placed"),
  298. paramtype2 = "facedir",
  299. place_param2 = 0,
  300. tiles = {"xtraores_decobrick_rhenium.png"},
  301. is_ground_content = false,
  302. stack_max= 999,
  303. groups = {cracky = 7},
  304. on_blast = function() end,
  305. sounds = default.node_sound_stone_defaults(),
  306. })
  307. minetest.register_craft({
  308. output = 'xtraores:decobrick_rhenium 4',
  309. recipe = {
  310. {'xtraores:brick_rhenium', 'xtraores:brick_rhenium', ''},
  311. {'xtraores:brick_rhenium', 'xtraores:brick_rhenium', ''},
  312. }
  313. })
  314. -----vanadium--------
  315. minetest.register_node("xtraores:brick_vanadium", {
  316. description = "" ..core.colorize("#68fff6", "Vanadium brick\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  317. paramtype2 = "facedir",
  318. place_param2 = 0,
  319. tiles = {"xtraores_brick_vanadium.png"},
  320. is_ground_content = false,
  321. stack_max= 999,
  322. groups = {cracky = 8},
  323. on_blast = function() end,
  324. sounds = default.node_sound_stone_defaults(),
  325. })
  326. minetest.register_craft( {
  327. type = "shapeless",
  328. output = "xtraores:brick_vanadium",
  329. recipe = {"xtraores:vanadium_ore", "default:cobble"},
  330. })
  331. minetest.register_node("xtraores:block_vanadium", {
  332. description = "" ..core.colorize("#68fff6", "Vanadium block\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  333. paramtype2 = "facedir",
  334. place_param2 = 0,
  335. tiles = {"xtraores_block_vanadium.png"},
  336. is_ground_content = false,
  337. stack_max= 999,
  338. groups = {cracky = 8},
  339. on_blast = function() end,
  340. sounds = default.node_sound_stone_defaults(),
  341. })
  342. minetest.register_craft({
  343. output = 'xtraores:block_vanadium',
  344. recipe = {
  345. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  346. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  347. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  348. }
  349. })
  350. minetest.register_craft({
  351. output = 'xtraores:vanadium_bar 9',
  352. recipe = {
  353. {'xtraores:block_vanadium'},
  354. }
  355. })
  356. minetest.register_node("xtraores:decobrick_vanadium", {
  357. description = "" ..core.colorize("#68fff6", "Decorative Vanadium brick\n")..core.colorize("#FFFFFF", "Can be placed"),
  358. paramtype2 = "facedir",
  359. place_param2 = 0,
  360. tiles = {"xtraores_decobrick_vanadium.png"},
  361. is_ground_content = false,
  362. stack_max= 999,
  363. groups = {cracky = 8},
  364. on_blast = function() end,
  365. sounds = default.node_sound_stone_defaults(),
  366. })
  367. minetest.register_craft({
  368. output = 'xtraores:decobrick_vanadium 4',
  369. recipe = {
  370. {'xtraores:brick_vanadium', 'xtraores:brick_vanadium', ''},
  371. {'xtraores:brick_vanadium', 'xtraores:brick_vanadium', ''},
  372. }
  373. })
  374. -----rarium--------
  375. minetest.register_node("xtraores:brick_rarium", {
  376. description = "" ..core.colorize("#68fff6", "rarium brick\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  377. tiles = {{
  378. name = "xtraores_brick_rarium.png",
  379. animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 0.66}
  380. }},
  381. paramtype2 = "facedir",
  382. place_param2 = 0,
  383. is_ground_content = false,
  384. stack_max= 999,
  385. groups = {cracky = 9},
  386. light_source = 5,
  387. on_blast = function() end,
  388. sounds = default.node_sound_stone_defaults(),
  389. })
  390. minetest.register_craft( {
  391. type = "shapeless",
  392. output = "xtraores:brick_rarium",
  393. recipe = {"xtraores:rarium_ore", "default:cobble"},
  394. })
  395. minetest.register_node("xtraores:block_rarium", {
  396. description = "" ..core.colorize("#68fff6", "rarium block\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  397. tiles = {{
  398. name = "xtraores_block_rarium.png",
  399. animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 0.66}
  400. }},
  401. paramtype2 = "facedir",
  402. place_param2 = 0,
  403. is_ground_content = false,
  404. stack_max= 999,
  405. groups = {cracky = 9},
  406. light_source = 5,
  407. on_blast = function() end,
  408. sounds = default.node_sound_stone_defaults(),
  409. })
  410. minetest.register_craft({
  411. output = 'xtraores:block_rarium',
  412. recipe = {
  413. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  414. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  415. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  416. }
  417. })
  418. minetest.register_craft({
  419. output = 'xtraores:rarium_bar 9',
  420. recipe = {
  421. {'xtraores:block_rarium'},
  422. }
  423. })
  424. minetest.register_node("xtraores:decobrick_rarium", {
  425. description = "" ..core.colorize("#68fff6", "Decorative rarium brick\n")..core.colorize("#FFFFFF", "Can be placed"),
  426. paramtype2 = "facedir",
  427. place_param2 = 0,
  428. tiles = {{
  429. name = "xtraores_decobrick_rarium.png",
  430. animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 0.66}
  431. }},
  432. is_ground_content = false,
  433. light_source = 5,
  434. stack_max= 999,
  435. groups = {cracky = 9},
  436. on_blast = function() end,
  437. sounds = default.node_sound_stone_defaults(),
  438. })
  439. minetest.register_craft({
  440. output = 'xtraores:decobrick_rarium 4',
  441. recipe = {
  442. {'xtraores:brick_rarium', 'xtraores:brick_rarium', ''},
  443. {'xtraores:brick_rarium', 'xtraores:brick_rarium', ''},
  444. }
  445. })
  446. -----orichalcum--------
  447. minetest.register_node("xtraores:brick_orichalcum", {
  448. description = "" ..core.colorize("#68fff6", "orichalcum brick\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  449. tiles = {"xtraores_brick_orichalcum.png"},
  450. paramtype2 = "facedir",
  451. place_param2 = 0,
  452. is_ground_content = false,
  453. stack_max= 999,
  454. groups = {cracky = 10},
  455. on_blast = function() end,
  456. sounds = default.node_sound_stone_defaults(),
  457. })
  458. minetest.register_craft( {
  459. type = "shapeless",
  460. output = "xtraores:brick_orichalcum",
  461. recipe = {"xtraores:orichalcum_ore", "default:cobble"},
  462. })
  463. minetest.register_node("xtraores:block_orichalcum", {
  464. description = "" ..core.colorize("#68fff6", "orichalcum block\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material"),
  465. tiles = {"xtraores_block_orichalcum.png"},
  466. paramtype2 = "facedir",
  467. place_param2 = 0,
  468. is_ground_content = false,
  469. stack_max= 999,
  470. groups = {cracky = 10},
  471. on_blast = function() end,
  472. sounds = default.node_sound_stone_defaults(),
  473. })
  474. minetest.register_craft({
  475. output = 'xtraores:block_orichalcum',
  476. recipe = {
  477. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  478. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  479. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  480. }
  481. })
  482. minetest.register_craft({
  483. output = 'xtraores:orichalcum_bar 9',
  484. recipe = {
  485. {'xtraores:block_orichalcum'},
  486. }
  487. })
  488. minetest.register_node("xtraores:decobrick_orichalcum", {
  489. description = "" ..core.colorize("#68fff6", "Decorative orichalcum brick\n")..core.colorize("#FFFFFF", "Can be placed"),
  490. tiles = {"xtraores_decobrick_orichalcum.png"},
  491. is_ground_content = false,
  492. stack_max= 999,
  493. groups = {cracky = 10},
  494. on_blast = function() end,
  495. sounds = default.node_sound_stone_defaults(),
  496. })
  497. minetest.register_craft({
  498. output = 'xtraores:decobrick_orichalcum 4',
  499. recipe = {
  500. {'xtraores:brick_orichalcum', 'xtraores:brick_orichalcum', ''},
  501. {'xtraores:brick_orichalcum', 'xtraores:brick_orichalcum', ''},
  502. }
  503. })
  504. --]]