1
0
Fork 0

Merge pull request 'Move deepslate ore registration within generation check' (#4070) from Zasco/MineClone2:master into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4070
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
mobile_bow_workaround
the-real-herowl 2023-12-13 02:06:25 +00:00
commit b3da7a473d
1 changed files with 21 additions and 21 deletions

View File

@ -128,27 +128,6 @@ minetest.register_ore({
}) })
minetest.register_ore({
ore_type = "blob",
ore = "mcl_deepslate:deepslate",
wherein = { "mcl_core:stone" },
clust_scarcity = 200,
clust_num_ores = 100,
clust_size = 10,
y_min = deepslate_min,
y_max = deepslate_max,
noise_params = {
offset = 0,
scale = 1,
spread = { x = 250, y = 250, z = 250 },
seed = 12345,
octaves = 3,
persist = 0.6,
lacunarity = 2,
flags = "defaults",
}
})
minetest.register_ore({ minetest.register_ore({
ore_type = "blob", ore_type = "blob",
ore = "mcl_deepslate:tuff", ore = "mcl_deepslate:tuff",
@ -173,6 +152,27 @@ minetest.register_ore({
-- DEEPSLATE -- DEEPSLATE
if minetest.settings:get_bool("mcl_generate_deepslate", true) then if minetest.settings:get_bool("mcl_generate_deepslate", true) then
minetest.register_ore({
ore_type = "blob",
ore = "mcl_deepslate:deepslate",
wherein = { "mcl_core:stone" },
clust_scarcity = 200,
clust_num_ores = 100,
clust_size = 10,
y_min = deepslate_min,
y_max = deepslate_max,
noise_params = {
offset = 0,
scale = 1,
spread = { x = 250, y = 250, z = 250 },
seed = 12345,
octaves = 3,
persist = 0.6,
lacunarity = 2,
flags = "defaults",
}
})
minetest.register_ore({ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "mcl_deepslate:infested_deepslate", ore = "mcl_deepslate:infested_deepslate",