ores.lua 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. ---------------------nickel---------------------
  2. minetest.register_craftitem("xtraores:nickel_ore", {
  3. description = "Nickel Lump",
  4. inventory_image = "xtraores_nickel_lump.png",
  5. })
  6. minetest.register_craft({
  7. type = "cooking",
  8. cooktime = 12,
  9. output = "xtraores:nickel_bar",
  10. recipe = "xtraores:nickel_ore",
  11. })
  12. ---------------------platinum---------------------
  13. minetest.register_craftitem("xtraores:platinum_ore", {
  14. description = "Platinum Lump",
  15. inventory_image = "xtraores_platinum_lump.png",
  16. })
  17. minetest.register_craft({
  18. type = "cooking",
  19. cooktime = 12,
  20. output = "xtraores:platinum_bar",
  21. recipe = "xtraores:platinum_ore",
  22. })
  23. ---------------------palladium---------------------
  24. minetest.register_craftitem("xtraores:palladium_ore", {
  25. description = "Palladium Lump",
  26. inventory_image = "xtraores_palladium_lump.png",
  27. })
  28. minetest.register_craft({
  29. type = "cooking",
  30. cooktime = 12,
  31. output = "xtraores:palladium_bar",
  32. recipe = "xtraores:palladium_ore",
  33. })
  34. ---------------------cobalt---------------------
  35. minetest.register_craftitem("xtraores:cobalt_ore", {
  36. description = "Cobalt Lump",
  37. inventory_image = "xtraores_cobalt_lump.png",
  38. })
  39. minetest.register_craft({
  40. type = "cooking",
  41. cooktime = 12,
  42. output = "xtraores:cobalt_bar",
  43. recipe = "xtraores:cobalt_ore",
  44. })
  45. --[[
  46. ---------------------thorium---------------------
  47. minetest.register_node("xtraores:thorium_ore", {
  48. description = "" ..core.colorize("#68fff6", "Thorium ore\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 5"),
  49. tiles = {"default_stone.png^xtraores_thorium_ore.png"},
  50. inventory_image = "xtraores_thorium_lump.png",
  51. stack_max= 999,
  52. groups = {cracky = 5},
  53. on_blast = function() end,
  54. sounds = default.node_sound_stone_defaults(),
  55. })
  56. minetest.register_ore({
  57. ore_type = "scatter",
  58. ore = "xtraores:thorium_ore",
  59. wherein = "default:stone",
  60. clust_scarcity = 19 * 19 * 19,
  61. clust_num_ores = 4,
  62. clust_size = 4,
  63. y_min = -31000,
  64. y_max = -1250,
  65. })
  66. minetest.register_craft({
  67. type = "cooking",
  68. cooktime = 32,
  69. output = "xtraores:thorium_bar",
  70. recipe = "xtraores:thorium_ore",
  71. })
  72. -----------------antracite ore--------------
  73. minetest.register_node("xtraores:antracite_ore", {
  74. description = "" ..core.colorize("#68fff6", "antracite\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 5"),
  75. tiles = {"default_stone.png^xtraores_antracite_ore.png"},
  76. inventory_image = "xtraores_antracite_lump.png",
  77. stack_max= 999,
  78. groups = {cracky = 5},
  79. on_blast = function() end,
  80. sounds = default.node_sound_stone_defaults(),
  81. })
  82. minetest.register_ore({
  83. ore_type = "scatter",
  84. ore = "xtraores:antracite_ore",
  85. wherein = "default:stone",
  86. clust_scarcity = 15 * 15 * 15,
  87. clust_num_ores = 6,
  88. clust_size = 5,
  89. y_min = -31000,
  90. y_max = -2000,
  91. })
  92. minetest.register_craft({
  93. output = 'xtraores:antracite_torch 5',
  94. recipe = {
  95. {'', '', ''},
  96. {'', 'xtraores:antracite_ore', ''},
  97. {'', 'xtraores:steel_handle', ''},
  98. }
  99. })
  100. minetest.register_craft({
  101. type = "fuel",
  102. recipe = "xtraores:antracite_ore",
  103. burntime = 164,
  104. })
  105. ---------------------osmium---------------------
  106. minetest.register_node("xtraores:osmium_ore", {
  107. description = "" ..core.colorize("#68fff6", "Osmium ore\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 6"),
  108. tiles = {"default_stone.png^xtraores_osmium_ore.png"},
  109. inventory_image = "xtraores_osmium_lump.png",
  110. stack_max= 999,
  111. groups = {cracky = 6},
  112. on_blast = function() end,
  113. sounds = default.node_sound_stone_defaults(),
  114. })
  115. minetest.register_ore({
  116. ore_type = "scatter",
  117. ore = "xtraores:osmium_ore",
  118. wherein = "default:stone",
  119. clust_scarcity = 21 * 21 * 21,
  120. clust_num_ores = 4,
  121. clust_size = 4,
  122. y_min = -31000,
  123. y_max = -3500,
  124. })
  125. minetest.register_craft({
  126. type = "cooking",
  127. cooktime = 45,
  128. output = "xtraores:osmium_bar",
  129. recipe = "xtraores:osmium_ore",
  130. })
  131. ---------------------rhenium---------------------
  132. minetest.register_node("xtraores:rhenium_ore", {
  133. description = "" ..core.colorize("#68fff6", "Rhenium ore\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 7"),
  134. tiles = {"default_stone.png^xtraores_rhenium_ore.png"},
  135. inventory_image = "xtraores_rhenium_lump.png",
  136. stack_max= 999,
  137. groups = {cracky = 7},
  138. on_blast = function() end,
  139. sounds = default.node_sound_stone_defaults(),
  140. })
  141. minetest.register_ore({
  142. ore_type = "scatter",
  143. ore = "xtraores:rhenium_ore",
  144. wherein = "default:stone",
  145. clust_scarcity = 23 * 23 * 23,
  146. clust_num_ores = 4,
  147. clust_size = 4,
  148. y_min = -31000,
  149. y_max = -5750,
  150. })
  151. minetest.register_craft({
  152. type = "cooking",
  153. cooktime = 60,
  154. output = "xtraores:rhenium_bar",
  155. recipe = "xtraores:rhenium_ore",
  156. })
  157. ---------------------vanadium---------------------
  158. minetest.register_node("xtraores:vanadium_ore", {
  159. description = "" ..core.colorize("#68fff6", "vanadium ore\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 8"),
  160. tiles = {"default_stone.png^xtraores_vanadium_ore.png"},
  161. inventory_image = "xtraores_vanadium_lump.png",
  162. stack_max= 999,
  163. groups = {cracky = 8},
  164. on_blast = function() end,
  165. sounds = default.node_sound_stone_defaults(),
  166. })
  167. minetest.register_ore({
  168. ore_type = "scatter",
  169. ore = "xtraores:vanadium_ore",
  170. wherein = "default:stone",
  171. clust_scarcity = 26 * 26 * 26,
  172. clust_num_ores = 4,
  173. clust_size = 4,
  174. y_min = -31000,
  175. y_max = -8000,
  176. })
  177. minetest.register_craft({
  178. type = "cooking",
  179. cooktime = 75,
  180. output = "xtraores:vanadium_bar",
  181. recipe = "xtraores:vanadium_ore",
  182. })
  183. ---------------------rarium---------------------
  184. minetest.register_node("xtraores:rarium_ore", {
  185. description = "" ..core.colorize("#68fff6", "Rarium ore\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 9"),
  186. tiles = {{
  187. name = "xtraores_rarium_ore.png",
  188. animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 1.0}
  189. }},
  190. light_source = 4,
  191. inventory_image = "xtraores_rarium_lump.png",
  192. stack_max= 999,
  193. groups = {cracky = 9},
  194. on_blast = function() end,
  195. sounds = default.node_sound_stone_defaults(),
  196. })
  197. minetest.register_ore({
  198. ore_type = "scatter",
  199. ore = "xtraores:rarium_ore",
  200. wherein = "default:stone",
  201. clust_scarcity = 30 * 30 * 30,
  202. clust_num_ores = 3,
  203. clust_size = 3,
  204. y_min = -31000,
  205. y_max = -10000,
  206. })
  207. minetest.register_craft({
  208. type = "cooking",
  209. cooktime = 90,
  210. output = "xtraores:rarium_bar",
  211. recipe = "xtraores:rarium_ore",
  212. })
  213. ---------------------orichalcum---------------------
  214. minetest.register_node("xtraores:orichalcum_ore", {
  215. description = "" ..core.colorize("#68fff6", "Orichalcum ore\n")..core.colorize("#FFFFFF", "Can be placed\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores ore level: 10"),
  216. tiles = {"default_stone.png^xtraores_orichalcum_ore.png"},
  217. inventory_image = "xtraores_orichalcum_lump.png",
  218. stack_max= 999,
  219. groups = {cracky = 10},
  220. on_blast = function() end,
  221. sounds = default.node_sound_stone_defaults(),
  222. })
  223. minetest.register_ore({
  224. ore_type = "scatter",
  225. ore = "xtraores:orichalcum_ore",
  226. wherein = "default:stone",
  227. clust_scarcity = 34 * 34 * 34,
  228. clust_num_ores = 3,
  229. clust_size = 3,
  230. y_min = -31000,
  231. y_max = -12500,
  232. })
  233. minetest.register_craft({
  234. type = "cooking",
  235. cooktime = 120,
  236. output = "xtraores:orichalcum_bar",
  237. recipe = "xtraores:orichalcum_ore",
  238. })
  239. --]]