123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 |
- local ore_min = stoneworld.REALM_START
- local ore_max = stoneworld.REALM_END
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:meat_rock",
- wherein = {"darkage:basaltic_rubble"},
- clust_scarcity = 18*18*18,
- clust_num_ores = 3,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "bones:bones_type2",
- wherein = {"darkage:basaltic_rubble"},
- clust_scarcity = 16*16*16,
- clust_num_ores = 5,
- clust_size = 2,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:meat_stone",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 8*8*8,
- clust_num_ores = 8,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "default:lava_source",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 24*24*24,
- clust_num_ores = 1,
- clust_size = 20,
- y_min = ore_min,
- y_max = ore_max,
- noise_threshold = -0.5,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "glowstone:cobble",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 16*16*16,
- clust_num_ores = 3,
- clust_size = 10,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "standard_blob",
- ore = "rackstone:bluerack",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 34*34*34,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- noise_threshold = -0.4,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = {x=3, y=3, z=3},
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "blob",
- ore = "darkage:unstable_basalt",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 10 * 10 * 10,
- clust_size = 5,
- y_min = ore_min,
- y_max = ore_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = {x = 5, y = 5, z = 5},
- seed = 48719,
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "blob",
- ore = "darkage:unstable_basalt",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 10 * 10 * 10,
- clust_size = 5,
- y_min = ore_min,
- y_max = ore_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = {x = 5, y = 5, z = 5},
- seed = 5103,
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_gold",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 13*13*13,
- clust_num_ores = 5,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_diamond",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 15 * 15 * 15,
- clust_num_ores = 4,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_mese",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 14*14*14,
- clust_num_ores = 5,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_iron",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 24*24*24,
- clust_num_ores = 27,
- clust_size = 6,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_coal",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 24*24*24,
- clust_num_ores = 27,
- clust_size = 6,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_dauth",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 24*24*24,
- clust_num_ores = 27,
- clust_size = 6,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_copper",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 7 * 7 * 7,
- clust_num_ores = 5,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "scatter",
- ore = "stoneworld:basalt_with_tin",
- wherein = {"darkage:basaltic", "darkage:basaltic_rubble"},
- clust_scarcity = 7 * 7 * 7,
- clust_num_ores = 5,
- clust_size = 3,
- y_min = ore_min,
- y_max = ore_max,
- })
- oregen.register_ore({
- ore_type = "standard_blob",
- ore = "rackstone:blackrack",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 20*20*20,
- clust_size = 4,
- y_min = ore_min,
- y_max = ore_max,
- noise_threshold = -1.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = {x=5, y=5, z=5},
- octaves = 1,
- persist = 0.0
- },
- })
- -- The point of this is to try to avoid generating large mese blobs intersecting
- -- with the cavern floor/ceiling, where they are too easily discovered.
- for k = 1, 5 do
- local nbeg = stoneworld.REALM_START
- local y_level = nbeg + (k * 500)
- local y_offset = 250
- local y_min = y_level + y_offset - 150
- local y_max = y_level + y_offset + 150
- minetest.register_ore({
- ore_type = "blob",
- ore = "default:mese",
- wherein = {"darkage:basaltic"},
- clust_scarcity = 64*64*64,
- clust_size = 5,
- y_min = y_min,
- y_max = y_max,
- noise_params = {
- seed = 182819,
- offset = 0.5,
- scale = 0.2,
- spread = {x=10, y=5, z=10},
- octaves = 1,
- persist = 0.0
- },
- })
- local spread = {x=4, y=2, z=4}
- local scarcity = 20*20*20
- local size = 5
- oregen.register_ore({
- ore_type = "blob",
- ore = "morerocks:marble",
- wherein = {"darkage:basaltic"},
- clust_scarcity = scarcity,
- clust_size = size,
- y_min = y_min,
- y_max = y_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = spread,
- seed = 98246,
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "blob",
- ore = "morerocks:marble_pink",
- wherein = {"darkage:basaltic"},
- clust_scarcity = scarcity,
- clust_size = size,
- y_min = y_min,
- y_max = y_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = spread,
- seed = 91573,
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "blob",
- ore = "morerocks:marble_white",
- wherein = {"darkage:basaltic"},
- clust_scarcity = scarcity,
- clust_size = size,
- y_min = y_min,
- y_max = y_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = spread,
- seed = 3248248,
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "blob",
- ore = "morerocks:granite",
- wherein = {"darkage:basaltic"},
- clust_scarcity = scarcity,
- clust_size = size,
- y_min = y_min,
- y_max = y_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = spread,
- seed = 18614,
- octaves = 1,
- persist = 0.0
- },
- })
- oregen.register_ore({
- ore_type = "blob",
- ore = "morerocks:serpentine",
- wherein = {"darkage:basaltic"},
- clust_scarcity = scarcity,
- clust_size = size,
- y_min = y_min,
- y_max = y_max,
- noise_threshold = 0.0,
- noise_params = {
- offset = 0.5,
- scale = 0.2,
- spread = spread,
- seed = 71256,
- octaves = 1,
- persist = 0.0
- },
- })
- end
|