From 6d2a6d7c009b0667308182f650d689fddf1c2af3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 5 Mar 2017 01:46:50 +0100 Subject: [PATCH] Complete re-balancing of coal ore spawn --- mods/MAPGEN/mcl_mapgen_core/init.lua | 156 ++++++++++++--------------- 1 file changed, 70 insertions(+), 86 deletions(-) diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index ae920773c6..c343c6b3a3 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -96,116 +96,101 @@ end -- -- Coal -- + +-- Common spawn minetest.register_ore({ ore_type = "scatter", ore = "mcl_core:stone_with_coal", wherein = "mcl_core:stone", - clust_scarcity = 500, - clust_num_ores = 5, - clust_size = 3, - y_min = mcl_util.layer_to_y(75), - y_max = mcl_vars.mg_overworld_max, -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 500, - clust_num_ores = 8, - clust_size = 3, - y_min = mcl_utils.layer_to_y(50), - y_max = mcl_utils.layer_to_y(74), -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 1000, - clust_num_ores = 6, - clust_size = 3, - y_min = mcl_utils.layer_to_y(2), - y_max = mcl_utils.layer_to_y(51), -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 1000, - clust_num_ores = 7, - clust_size = 4, - y_min = mcl_vars.mg_overworld_min, - y_max = mcl_utils.layer_to_y(50), -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 1000, - clust_num_ores = 8, - clust_size = 4, - y_min = mcl_utils.layer_to_y(32), - y_max = mcl_utils.layer_to_y(50), -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 5000, - clust_num_ores = 9, - clust_size = 4, - y_min = mcl_utils.layer_to_y(32), - y_max = mcl_utils.layer_to_y(50), -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 1500, + clust_scarcity = 525*3, clust_num_ores = 5, clust_size = 3, y_min = mcl_vars.mg_overworld_min, - y_max = mcl_utils.layer_to_y(32), + y_max = mcl_util.layer_to_y(50), }) minetest.register_ore({ ore_type = "scatter", ore = "mcl_core:stone_with_coal", wherein = "mcl_core:stone", - clust_scarcity = 1000, - clust_num_ores = 9, - clust_size = 5, + clust_scarcity = 510*3, + clust_num_ores = 8, + clust_size = 3, y_min = mcl_vars.mg_overworld_min, - y_max = mcl_utils.layer_to_y(32), + y_max = mcl_util.layer_to_y(50), }) minetest.register_ore({ ore_type = "scatter", ore = "mcl_core:stone_with_coal", wherein = "mcl_core:stone", - clust_scarcity = 2500, - clust_num_ores = 10, - clust_size = 4, - y_min = mcl_vars.mg_overworld_min, - y_max = mcl_utils.layer_to_y(32), -}) -minetest.register_ore({ - ore_type = "scatter", - ore = "mcl_core:stone_with_coal", - wherein = "mcl_core:stone", - clust_scarcity = 6000, + clust_scarcity = 500*3, clust_num_ores = 12, - clust_size = 4, + clust_size = 3, y_min = mcl_vars.mg_overworld_min, - y_max = mcl_utils.layer_to_y(22), + y_max = mcl_util.layer_to_y(50), }) +-- Medium-rare spawn minetest.register_ore({ ore_type = "scatter", ore = "mcl_core:stone_with_coal", wherein = "mcl_core:stone", - clust_scarcity = 5000, + clust_scarcity = 550*3, + clust_num_ores = 4, + clust_size = 2, + y_min = mcl_util.layer_to_y(51), + y_max = mcl_util.layer_to_y(80), +}) +minetest.register_ore({ + ore_type = "scatter", + ore = "mcl_core:stone_with_coal", + wherein = "mcl_core:stone", + clust_scarcity = 525*3, + clust_num_ores = 6, + clust_size = 3, + y_min = mcl_util.layer_to_y(51), + y_max = mcl_util.layer_to_y(80), +}) +minetest.register_ore({ + ore_type = "scatter", + ore = "mcl_core:stone_with_coal", + wherein = "mcl_core:stone", + clust_scarcity = 500*3, + clust_num_ores = 8, + clust_size = 3, + y_min = mcl_util.layer_to_y(51), + y_max = mcl_util.layer_to_y(80), +}) + +-- Rare spawn +minetest.register_ore({ + ore_type = "scatter", + ore = "mcl_core:stone_with_coal", + wherein = "mcl_core:stone", + clust_scarcity = 600*3, + clust_num_ores = 3, + clust_size = 2, + y_min = mcl_util.layer_to_y(81), + y_max = mcl_util.layer_to_y(128), +}) +minetest.register_ore({ + ore_type = "scatter", + ore = "mcl_core:stone_with_coal", + wherein = "mcl_core:stone", + clust_scarcity = 550*3, clust_num_ores = 4, clust_size = 3, - y_min = mcl_utils.layer_to_y(84), - y_max = mcl_utils.layer_to_y(112), + y_min = mcl_util.layer_to_y(81), + y_max = mcl_util.layer_to_y(128), +}) +minetest.register_ore({ + ore_type = "scatter", + ore = "mcl_core:stone_with_coal", + wherein = "mcl_core:stone", + clust_scarcity = 500*3, + clust_num_ores = 5, + clust_size = 3, + y_min = mcl_util.layer_to_y(81), + y_max = mcl_util.layer_to_y(128), }) -- @@ -368,16 +353,15 @@ minetest.register_ore({ y_min = mcl_util.layer_to_y(13), y_max = mcl_util.layer_to_y(15), }) - minetest.register_ore({ ore_type = "scatter", ore = "mcl_core:stone_with_redstone", wherein = "mcl_core:stone", - clust_scarcity = 800, + clust_scarcity = 1600, clust_num_ores = 7, clust_size = 4, - y_min = mcl_vars.mg_overworld_min, - y_max = mcl_util.layer_to_y(13), + y_min = mcl_util.layer_to_y(13), + y_max = mcl_util.layer_to_y(15), }) --