376 lines
8.1 KiB
Lua
Executable File
376 lines
8.1 KiB
Lua
Executable File
local stonelike = {"mcl_core:stone", "mcl_core:diorite", "mcl_core:andesite", "mcl_core:granite"}
|
|
--------------------------------- Coal
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:coal_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=100, y=100, z=100},
|
|
seed = 423423,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.5,
|
|
random_factor = 1.0,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:coal_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=100, y=100, z=100},
|
|
seed = 423423,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.5 ,
|
|
random_factor = 1.0,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:coal_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=100, y=100, z=100},
|
|
seed = 423423,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.5 ,
|
|
random_factor = 1.0,
|
|
})
|
|
--------------------------------------
|
|
--------------------------------- iron
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:iron_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=125, y=125, z=125},
|
|
seed = 987123,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:iron_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=125, y=125, z=125},
|
|
seed = 987123,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
--------------------------------------
|
|
--------------------------------- copper
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:copper_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=125, y=125, z=125},
|
|
seed = 456456,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:copper_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=125, y=125, z=125},
|
|
seed = 456456,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
--------------------------------------
|
|
--------------------------------- tin
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:tin_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 879789,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:tin_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 879789,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
--------------------------------------
|
|
--------------------------------- gold
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:gold_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 453234654,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:silver_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 453234654,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:silver_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 453234654,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
--------------------------------------
|
|
--------------------------------- Sulfure and saltpeter
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:sulfur_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 34567890,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:sulfur_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 34567890,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:saltpeter_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 34567890,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
--------------------------------------
|
|
--------------------------------- diamond
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:diamond_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 123645567789,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6,
|
|
random_factor = 1.0,
|
|
})
|
|
minetest.register_ore({
|
|
ore_type = "vein",
|
|
ore = "owl_tech:coal_ore",
|
|
wherein = stonelike,
|
|
clust_scarcity = 4*4*4,
|
|
clust_num_ores = 2048,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=75, y=75, z=75},
|
|
seed = 123645567789,
|
|
octaves = 3,
|
|
persistence = 0,1,
|
|
lacunarity = 4,
|
|
},
|
|
noise_threshold = 1.6 ,
|
|
random_factor = 1.0,
|
|
})
|
|
-------------------------------------- |