diff --git a/minerals.lua b/minerals.lua index 8816145..aad04be 100644 --- a/minerals.lua +++ b/minerals.lua @@ -26,6 +26,7 @@ if industrialtest.mtgAvailable then y_max=-128, y_min=-31000 }) + industrialtest.internal.registerMetal("lead","Lead",2) minetest.register_ore({ ore_type="scatter", @@ -37,10 +38,23 @@ if industrialtest.mtgAvailable then y_max=-48, y_min=-31000 }) + + industrialtest.internal.registerMetal("iridium","Iridium",4) + minetest.register_ore({ + ore_type="scatter", + ore="industrialtest:stone_with_iridium", + wherein="default:stone", + clust_scarcity=40*40*40, + clust_num_ores=3, + clust_size=3, + y_max=-512, + y_min=-31000 + }) elseif industrialtest.mclAvailable then - industrialtest.internal.registerMetal("uranium","Uranium",4,4,4,4,5,5) local stonelike={"mcl_core:stone","mcl_core:diorite","mcl_core:andesite","mcl_core:granite"} local deepslatelike={"mcl_deepslate:deepslate","mcl_deepslate:tuff"} + + industrialtest.internal.registerMetal("uranium","Uranium",4,4,4,4,5,5) minetest.register_ore({ ore_type="scatter", ore="industrialtest:stone_with_uranium", @@ -61,6 +75,7 @@ elseif industrialtest.mclAvailable then y_max=mcl_worlds.layer_to_y(15), y_min=mcl_vars.mg_overworld_min }) + industrialtest.internal.registerMetal("lead","Lead",4,4,4,4,6,5) minetest.register_ore({ ore_type="scatter", @@ -82,4 +97,26 @@ elseif industrialtest.mclAvailable then y_max=mcl_worlds.layer_to_y(15), y_min=mcl_vars.mg_overworld_min }) + + industrialtest.internal.registerMetal("iridium","Iridium",4,5,4,4,5,5) + minetest.register_ore({ + ore_type="scatter", + ore="industrialtest:stone_with_iridium", + wherein=stonelike, + clust_scarcity=40*40*40, + clust_num_ores=3, + clust_size=3, + y_max=mcl_worlds.layer_to_y(20), + y_min=mcl_vars.mg_overworld_min + }) + minetest.register_ore({ + ore_type="scatter", + ore="industrialtest:deepslate_with_iridium", + wherein=deepslatelike, + clust_scarcity=40*40*40, + clust_num_ores=3, + clust_size=3, + y_max=mcl_worlds.layer_to_y(15), + y_min=mcl_vars.mg_overworld_min + }) end