89 lines
2.1 KiB
Lua
89 lines
2.1 KiB
Lua
function chemistry.register_ores()
|
|
minetest.register_ore({
|
|
ore_type = "blob",
|
|
ore = "chemistry:salt",
|
|
wherein = {"default:stone"},
|
|
clust_scarcity = 16 * 16 * 16,
|
|
clust_size = 5,
|
|
y_min = -31000,
|
|
y_max = 31000,
|
|
noise_threshold = 0.0,
|
|
noise_params = {
|
|
offset = 0.5,
|
|
scale = 0.2,
|
|
spread = {x = 5, y = 5, z = 5},
|
|
seed = 2197,
|
|
octaves = 1,
|
|
persist = 0.0
|
|
},
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "chemistry:stone_with_sulfur",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 8 * 8 * 8,
|
|
clust_num_ores = 9,
|
|
clust_size = 3,
|
|
y_min = 1025,
|
|
y_max = 31000,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "chemistry:stone_with_sulfur",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 8 * 8 * 8,
|
|
clust_num_ores = 8,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = 64,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "chemistry:stone_with_sulfur",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 24 * 24 * 24,
|
|
clust_num_ores = 27,
|
|
clust_size = 6,
|
|
y_min = -31000,
|
|
y_max = 0,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "chemistry:stone_with_vanadium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 7 * 7 * 7,
|
|
clust_num_ores = 5,
|
|
clust_size = 3,
|
|
y_min = 1025,
|
|
y_max = 31000,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "chemistry:stone_with_vanadium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 9 * 9 * 9,
|
|
clust_num_ores = 4,
|
|
clust_size = 3,
|
|
y_min = -63,
|
|
y_max = -16,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = "scatter",
|
|
ore = "chemistry:stone_with_vanadium",
|
|
wherein = "default:stone",
|
|
clust_scarcity = 7 * 7 * 7,
|
|
clust_num_ores = 5,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = -64,
|
|
})
|
|
end
|
|
|
|
chemistry.register_ores()
|