mapgen.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. local wl = minetest.get_mapgen_setting("water_level")
  2. minetest.register_ore({
  3. ore_type = "scatter",
  4. ore = "lottores:limestone",
  5. wherein = "default:stone",
  6. clust_scarcity = 9*9*9,
  7. clust_num_ores = 5,
  8. clust_size = 2,
  9. y_min = wl - 60,
  10. y_max = wl - 10,
  11. })
  12. minetest.register_ore({
  13. ore_type = "scatter",
  14. ore = "lottores:limestone",
  15. wherein = "default:stone",
  16. clust_scarcity = 7*7*7,
  17. clust_num_ores = 5,
  18. clust_size = 2,
  19. y_min = wl - 31000,
  20. y_max = wl - 61,
  21. })
  22. minetest.register_ore({
  23. ore_type = "scatter",
  24. ore = "lottores:limestone",
  25. wherein = "default:stone",
  26. clust_scarcity = 24*24*24,
  27. clust_num_ores = 15,
  28. clust_size = 6,
  29. y_min = wl - 31000,
  30. y_max = wl - 50,
  31. })
  32. minetest.register_ore({
  33. ore_type = "scatter",
  34. ore = "lottores:silver_ore",
  35. wherein = "default:stone",
  36. clust_scarcity = 15*15*15,
  37. clust_num_ores = 3,
  38. clust_size = 2,
  39. y_min = wl - 200,
  40. y_max = wl - 50,
  41. })
  42. minetest.register_ore({
  43. ore_type = "scatter",
  44. ore = "lottores:silver_ore",
  45. wherein = "default:stone",
  46. clust_scarcity = 13*13*13,
  47. clust_num_ores = 6,
  48. clust_size = 3,
  49. y_min = wl - 31000,
  50. y_max = wl - 201,
  51. })
  52. minetest.register_ore({
  53. ore_type = "scatter",
  54. ore = "lottores:tin_ore",
  55. wherein = "default:stone",
  56. clust_scarcity = 12*12*12,
  57. clust_num_ores = 5,
  58. clust_size = 2,
  59. y_min = wl - 60,
  60. y_max = wl - 20,
  61. })
  62. minetest.register_ore({
  63. ore_type = "scatter",
  64. ore = "lottores:tin_ore",
  65. wherein = "default:stone",
  66. clust_scarcity = 9*9*9,
  67. clust_num_ores = 10,
  68. clust_size = 5,
  69. y_min = wl - 31000,
  70. y_max = wl - 61,
  71. })
  72. minetest.register_ore({
  73. ore_type = "scatter",
  74. ore = "lottores:lead_ore",
  75. wherein = "default:stone",
  76. clust_scarcity = 12*12*12,
  77. clust_num_ores = 4,
  78. clust_size = 3,
  79. y_min = wl - 60,
  80. y_max = wl - 30,
  81. })
  82. minetest.register_ore({
  83. ore_type = "scatter",
  84. ore = "lottores:lead_ore",
  85. wherein = "default:stone",
  86. clust_scarcity = 9*9*9,
  87. clust_num_ores = 5,
  88. clust_size = 3,
  89. y_min = wl - 31000,
  90. y_max = wl - 61,
  91. })
  92. minetest.register_ore({
  93. ore_type = "scatter",
  94. ore = "lottores:rough_rock",
  95. wherein = "default:stone",
  96. clust_scarcity = 15*15*15,
  97. clust_num_ores = 3,
  98. clust_size = 2,
  99. y_min = wl - 300,
  100. y_max = wl - 70,
  101. })
  102. minetest.register_ore({
  103. ore_type = "scatter",
  104. ore = "lottores:rough_rock",
  105. wherein = "default:stone",
  106. clust_scarcity = 13*13*13,
  107. clust_num_ores = 3,
  108. clust_size = 2,
  109. y_min = wl - 31000,
  110. y_max = wl - 301,
  111. })
  112. --[[
  113. minetest.register_ore({
  114. ore_type = "scatter",
  115. ore = "lottores:mithril_ore",
  116. wherein = "default:stone",
  117. clust_scarcity = 18*18*18,
  118. clust_num_ores = 4,
  119. clust_size = 3,
  120. y_min = wl - 255,
  121. y_max = wl - 128,
  122. })]]
  123. minetest.register_ore({
  124. ore_type = "scatter",
  125. ore = "lottores:mithril_ore",
  126. wherein = "default:stone",
  127. clust_scarcity = 16*16*16,
  128. clust_num_ores = 7,
  129. clust_size = 3,
  130. y_min = wl - 31000,
  131. y_max = wl - 20000,
  132. })