minetest_bitumen/ore_gen.lua

117 lines
2.3 KiB
Lua

minetest.register_ore({
ore_type = "blob",
ore = "bitumen:mapgen_crude_oil", -- this is converted to actual oil by an lbm
wherein = {"default:stone"},
-- wherein = {"air"},
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", "default:sand"},
clust_scarcity = 48 * 48 * 48,
clust_size = 14,
y_min = 2,
y_max = 30,
noise_threshold = 0.0,
noise_params = {
offset = 0.5,
scale = 0.2,
spread = {x = 10, y = 5, z = 7},
seed = -343,
octaves = 1,
persist = 0.1
},
biomes = {"savanna", "savanna_shore", "savanna_ocean",
"rainforest", "rainforest_swamp", "rainforest_ocean", "underground",
"floatland_coniferous_forest", "floatland_coniferous_forest_ocean"
-- ,"grassland", "desert", "sandstone_desert"
}
})