From dfc4a950c6e6e81f17bb1c318798dd3fab1d0dac Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 10 Sep 2017 02:49:02 +0200 Subject: [PATCH] Remove unused mesa ores --- mods/MAPGEN/mcl_biomes/init.lua | 67 ++------------------------------- 1 file changed, 4 insertions(+), 63 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 935b67088..91b748da1 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -40,7 +40,8 @@ local function register_biomes() Other intentionally missing biomes: * 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. :( TODO: Find a way to position these biomes accordingly. @@ -1052,69 +1053,9 @@ local function register_biomelike_ores() biomes = { "extreme_hills_m" }, }) - -- Mesa 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 + -- Mesa strata (registered as sheet ores) + -- Helper function -- Colors to use: silver (light grey), brown, orange, red, yellow, white local stratum = function(y_min, height, color, seed) if not height then