Use setting to generate Quartz ore

This commit is contained in:
AFCMS 2021-02-22 19:12:33 +00:00
parent a15765e647
commit f0348d99d9

View file

@ -2043,26 +2043,28 @@ local function register_dimension_ores()
}) })
-- Nether quartz -- Nether quartz
minetest.register_ore({ if minetest.settings:get("mcl_generate_ores") == "true" then
ore_type = "scatter", minetest.register_ore({
ore = "mcl_nether:quartz_ore", ore_type = "scatter",
wherein = {"mcl_nether:netherrack", "mcl_core:stone"}, ore = "mcl_nether:quartz_ore",
clust_scarcity = 850, wherein = {"mcl_nether:netherrack", "mcl_core:stone"},
clust_num_ores = 4, -- MC cluster amount: 4-10 clust_scarcity = 850,
clust_size = 3, clust_num_ores = 4, -- MC cluster amount: 4-10
y_min = mcl_vars.mg_nether_min, clust_size = 3,
y_max = mcl_vars.mg_nether_max, y_min = mcl_vars.mg_nether_min,
}) y_max = mcl_vars.mg_nether_max,
minetest.register_ore({ })
ore_type = "scatter", minetest.register_ore({
ore = "mcl_nether:quartz_ore", ore_type = "scatter",
wherein = {"mcl_nether:netherrack", "mcl_core:stone"}, ore = "mcl_nether:quartz_ore",
clust_scarcity = 1650, wherein = {"mcl_nether:netherrack", "mcl_core:stone"},
clust_num_ores = 8, -- MC cluster amount: 4-10 clust_scarcity = 1650,
clust_size = 4, clust_num_ores = 8, -- MC cluster amount: 4-10
y_min = mcl_vars.mg_nether_min, clust_size = 4,
y_max = mcl_vars.mg_nether_max, y_min = mcl_vars.mg_nether_min,
}) y_max = mcl_vars.mg_nether_max,
})
end
-- Lava springs in the Nether -- Lava springs in the Nether
minetest.register_ore({ minetest.register_ore({