minetest_bitumen/ore_gen.lua

114 lines
2.1 KiB
Lua

minetest.register_ore({
ore_type = "blob",
ore = "bitumen:crude_oil_full",
wherein = {"default:stone"},
clust_scarcity = 64 * 64 * 64,
-- clust_scarcity = 16 * 16 * 16,
clust_size = 30,
y_min = -32000,
y_max = -1000,
noise_threshold = 0.04,
noise_params = {
offset = 0.5,
scale = 0.7,
spread = {x = 40, y = 40, z = 40},
seed = 2316,
octaves = 4,
persist = 0.7
},
--[[ it's all "underground" anyway
biomes = {
"taiga", "tundra", "snowy_grassland", "coniferous_forest",
"coniferous_forest_dunes",
}
]]
})
minetest.register_ore({
ore_type = "blob",
ore = "bitumen:tar_sand",
wherein = {"default:desert_stone", "default:sandstone", "default:stone"},
clust_scarcity = 64 * 64 * 64,
clust_size = 20,
y_min = -15,
y_max = 500,
noise_threshold = 0.4,
noise_params = {
offset = 0.5,
scale = 0.7,
spread = {x = 40, y = 40, z = 40},
seed = 2316,
octaves = 4,
persist = 0.7
},
biomes = {
"taiga", "snowy_grassland",
"grassland", "desert", "sandstone_desert", "cold_desert",
}
})
minetest.register_ore({
ore_type = "blob",
ore = "bitumen:oil_shale",
wherein = {"default:sandstone"},
clust_scarcity = 96 * 96 * 96,
clust_size = 30,
y_min = -15,
y_max = 500,
noise_threshold = 0.4,
noise_params = {
offset = 0.5,
scale = 0.7,
spread = {x = 40, y = 40, z = 40},
seed = 23136,
octaves = 4,
persist = 0.7
},
biomes = { "sandstone_desert"},
})
minetest.register_ore({
ore_type = "blob",
ore = "bitumen:chalk",
wherein = {"default:stone"},
clust_scarcity = 32 * 32 * 32,
clust_size = 6,
y_min = 2,
y_max = 30,
noise_threshold = 0.0,
noise_params = {
offset = 0.5,
scale = 0.2,
spread = {x = 5, y = 5, z = 5},
seed = -343,
octaves = 1,
persist = 0.0
},
biomes = {"savanna", "savanna_shore", "savanna_ocean",
"rainforest", "rainforest_swamp", "rainforest_ocean", "underground",
"floatland_coniferous_forest", "floatland_coniferous_forest_ocean"}
})