Remove unused mesa ores

This commit is contained in:
Wuzzy 2017-09-10 02:49:02 +02:00
parent 3ad6b03f68
commit dfc4a950c6

View File

@ -40,7 +40,8 @@ local function register_biomes()
Other intentionally missing biomes: Other intentionally missing biomes:
* River (generated by valleys and v7) * River (generated by valleys and v7)
* Plateau (pure terrain) * Plateau (terrain only)
* Mesa (Bryce) (terrain only)
Tricky are the beach (esp. stone beach) and mushroom island biomes as they have specific conditions we can't check in MT. :( Tricky are the beach (esp. stone beach) and mushroom island biomes as they have specific conditions we can't check in MT. :(
TODO: Find a way to position these biomes accordingly. TODO: Find a way to position these biomes accordingly.
@ -1052,69 +1053,9 @@ local function register_biomelike_ores()
biomes = { "extreme_hills_m" }, biomes = { "extreme_hills_m" },
}) })
-- Mesa ores -- Mesa strata (registered as sheet ores)
--[[
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_core:redsandstone",
wherein = {"mcl_colorblocks:hardened_clay"},
clust_scarcity = 1,
clust_num_ores = 12,
clust_size = 10,
y_min = 10,
y_max = 30,
noise_threshold = 0.2,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
})
]]
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_core:dirt",
wherein = {"mcl_colorblocks:hardened_clay"},
clust_scarcity = 1,
clust_num_ores = 12,
clust_size = 4,
y_min = -12,
y_max = 7,
noise_threshold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
})
--[[
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_core:redsand",
wherein = { "mcl_colorblocks:hardened_clay"},
clust_scarcity = 1,
clust_num_ores = 12,
clust_size = 10,
y_min = 44,
y_max = 70,
noise_threshold = 0.7,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
})
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_core:redsand",
wherein = {"mcl_core:redsandstone", "mcl_colorblocks:hardened_clay"},
clust_scarcity = 1,
clust_num_ores = 8,
clust_size = 4,
y_min = 4,
y_max = 70,
noise_threshold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
})
]]
-- Mesa strata
-- Helper function
-- Colors to use: silver (light grey), brown, orange, red, yellow, white -- Colors to use: silver (light grey), brown, orange, red, yellow, white
local stratum = function(y_min, height, color, seed) local stratum = function(y_min, height, color, seed)
if not height then if not height then