Use stratum ore to add the missing sandstone types
Add silver sandstone strata to 'cold desert' biome. Add sandstone and desert_sandstone strata to 'desert' biome.
This commit is contained in:
parent
bbb88e6387
commit
aedd209440
|
@ -412,11 +412,109 @@ end
|
|||
|
||||
function default.register_ores()
|
||||
|
||||
-- Blob ore
|
||||
-- These first to avoid other ores in blobs
|
||||
-- Stratum ores.
|
||||
-- These obviously first.
|
||||
|
||||
-- Silver sandstone
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "stratum",
|
||||
ore = "default:silver_sandstone",
|
||||
wherein = {"default:stone"},
|
||||
clust_scarcity = 1,
|
||||
y_max = 46,
|
||||
y_min = 10,
|
||||
noise_params = {
|
||||
offset = 28,
|
||||
scale = 16,
|
||||
spread = {x = 128, y = 128, z = 128},
|
||||
seed = 90122,
|
||||
octaves = 1,
|
||||
},
|
||||
stratum_thickness = 4,
|
||||
biomes = {"cold_desert"},
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "stratum",
|
||||
ore = "default:silver_sandstone",
|
||||
wherein = {"default:stone"},
|
||||
clust_scarcity = 1,
|
||||
y_max = 42,
|
||||
y_min = 6,
|
||||
noise_params = {
|
||||
offset = 24,
|
||||
scale = 16,
|
||||
spread = {x = 128, y = 128, z = 128},
|
||||
seed = 90122,
|
||||
octaves = 1,
|
||||
},
|
||||
stratum_thickness = 2,
|
||||
biomes = {"cold_desert"},
|
||||
})
|
||||
|
||||
-- Desert sandstone
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "stratum",
|
||||
ore = "default:desert_sandstone",
|
||||
wherein = {"default:desert_stone"},
|
||||
clust_scarcity = 1,
|
||||
y_max = 46,
|
||||
y_min = 10,
|
||||
noise_params = {
|
||||
offset = 28,
|
||||
scale = 16,
|
||||
spread = {x = 128, y = 128, z = 128},
|
||||
seed = 90122,
|
||||
octaves = 1,
|
||||
},
|
||||
stratum_thickness = 4,
|
||||
biomes = {"desert"},
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "stratum",
|
||||
ore = "default:desert_sandstone",
|
||||
wherein = {"default:desert_stone"},
|
||||
clust_scarcity = 1,
|
||||
y_max = 42,
|
||||
y_min = 6,
|
||||
noise_params = {
|
||||
offset = 24,
|
||||
scale = 16,
|
||||
spread = {x = 128, y = 128, z = 128},
|
||||
seed = 90122,
|
||||
octaves = 1,
|
||||
},
|
||||
stratum_thickness = 2,
|
||||
biomes = {"desert"},
|
||||
})
|
||||
|
||||
-- Sandstone
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "stratum",
|
||||
ore = "default:sandstone",
|
||||
wherein = {"default:desert_stone"},
|
||||
clust_scarcity = 1,
|
||||
y_max = 39,
|
||||
y_min = 3,
|
||||
noise_params = {
|
||||
offset = 21,
|
||||
scale = 16,
|
||||
spread = {x = 128, y = 128, z = 128},
|
||||
seed = 90122,
|
||||
octaves = 1,
|
||||
},
|
||||
stratum_thickness = 2,
|
||||
biomes = {"desert"},
|
||||
})
|
||||
|
||||
-- Blob ore.
|
||||
-- These before scatter ores to avoid other ores in blobs.
|
||||
|
||||
-- Clay
|
||||
-- This first to avoid clay in sand blobs
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
|
|
Loading…
Reference in New Issue