owl_tech/ore/ore_gen.lua

332 lines
7.2 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 = 12341423,
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 = 12341423,
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,
})
--------------------------------------