2014-08-17 17:08:11 +02:00
|
|
|
local uranium_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 420, octaves = 3, persist = 0.7}
|
|
|
|
local uranium_threshhold = 0.55
|
|
|
|
|
|
|
|
local chromium_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 421, octaves = 3, persist = 0.7}
|
|
|
|
local chromium_threshhold = 0.55
|
|
|
|
|
|
|
|
local zinc_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 422, octaves = 3, persist = 0.7}
|
|
|
|
local zinc_threshhold = 0.5
|
|
|
|
|
2013-03-30 11:36:45 +01:00
|
|
|
minetest.register_ore({
|
2014-08-17 17:08:11 +02:00
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "technic:mineral_uranium",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 8*8*8,
|
|
|
|
clust_num_ores = 4,
|
|
|
|
clust_size = 3,
|
|
|
|
height_min = -300,
|
|
|
|
height_max = -80,
|
|
|
|
noise_params = uranium_params,
|
|
|
|
noise_threshhold = uranium_threshhold,
|
2013-03-30 11:36:45 +01:00
|
|
|
})
|
2013-07-17 21:34:35 +02:00
|
|
|
|
2013-03-30 11:36:45 +01:00
|
|
|
minetest.register_ore({
|
2014-08-17 17:08:11 +02:00
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "technic:mineral_chromium",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 8*8*8,
|
|
|
|
clust_num_ores = 2,
|
|
|
|
clust_size = 3,
|
|
|
|
height_min = -200,
|
|
|
|
height_max = -100,
|
|
|
|
noise_params = chromium_params,
|
|
|
|
noise_threshhold = chromium_threshhold,
|
2013-03-30 11:36:45 +01:00
|
|
|
})
|
2013-07-17 21:34:35 +02:00
|
|
|
|
2013-03-30 11:36:45 +01:00
|
|
|
minetest.register_ore({
|
2014-08-17 17:08:11 +02:00
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "technic:mineral_chromium",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 6*6*6,
|
|
|
|
clust_num_ores = 2,
|
|
|
|
clust_size = 3,
|
|
|
|
height_min = -31000,
|
|
|
|
height_max = -200,
|
|
|
|
flags = "absheight",
|
|
|
|
noise_params = chromium_params,
|
|
|
|
noise_threshhold = chromium_threshhold,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "technic:mineral_zinc",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 8*8*8,
|
|
|
|
clust_num_ores = 4,
|
|
|
|
clust_size = 3,
|
|
|
|
height_min = -32,
|
|
|
|
height_max = 2,
|
|
|
|
noise_params = zinc_params,
|
|
|
|
noise_threshhold = zinc_threshhold,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "technic:mineral_zinc",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 6*6*6,
|
|
|
|
clust_num_ores = 4,
|
|
|
|
clust_size = 3,
|
|
|
|
height_min = -31000,
|
|
|
|
height_max = -32,
|
|
|
|
flags = "absheight",
|
|
|
|
noise_params = zinc_params,
|
|
|
|
noise_threshhold = zinc_threshhold,
|
2013-03-30 11:36:45 +01:00
|
|
|
})
|
2013-07-17 21:34:35 +02:00
|
|
|
|
|
|
|
if technic.config:get_bool("enable_marble_generation") then
|
2013-03-30 11:36:45 +01:00
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "sheet",
|
|
|
|
ore = "technic:marble",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 1,
|
|
|
|
clust_num_ores = 1,
|
|
|
|
clust_size = 3,
|
2013-04-04 01:17:39 +02:00
|
|
|
height_min = -31000,
|
2013-03-30 11:36:45 +01:00
|
|
|
height_max = -50,
|
2013-04-04 01:17:39 +02:00
|
|
|
noise_threshhold = 0.4,
|
2013-03-30 11:36:45 +01:00
|
|
|
noise_params = {offset=0, scale=15, spread={x=150, y=150, z=150}, seed=23, octaves=3, persist=0.70}
|
|
|
|
})
|
2013-04-26 03:39:08 +02:00
|
|
|
end
|
2013-07-17 21:34:35 +02:00
|
|
|
|
|
|
|
if technic.config:get_bool("enable_granite_generation") then
|
2013-03-30 11:36:45 +01:00
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "sheet",
|
|
|
|
ore = "technic:granite",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 1,
|
|
|
|
clust_num_ores = 1,
|
|
|
|
clust_size = 4,
|
2013-04-04 01:17:39 +02:00
|
|
|
height_min = -31000,
|
|
|
|
height_max = -150,
|
|
|
|
noise_threshhold = 0.4,
|
2013-03-30 11:36:45 +01:00
|
|
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
|
|
|
})
|
2013-04-26 03:39:08 +02:00
|
|
|
end
|
2013-03-30 11:36:45 +01:00
|
|
|
|