1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Ore distribution: Deeper iron, diamond and mese block, tune gold (#2107)

Iron at y = 0 was far too easy to find.
Adjust gold lower region to be twice the depth of highest level, like
all other ores.
Diamond at y = -500 was too easy to progress to.
Make diamond and mese block deeper to create a depth progression from
mese crystal to diamond, to reflect tool progression.
This all creates a satisfying 2^n depth progression, with lower regions
being at twice the depth of highest levels.
This commit is contained in:
Paramat 2018-04-12 00:51:56 +01:00 committed by GitHub
parent 8c71f3d826
commit 8d8f2f79d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -576,7 +576,7 @@ function default.register_ores()
clust_scarcity = 7 * 7 * 7,
clust_num_ores = 5,
clust_size = 3,
y_max = 0,
y_max = -64,
y_min = -127,
})
@ -682,7 +682,7 @@ function default.register_ores()
clust_num_ores = 3,
clust_size = 2,
y_max = -256,
y_min = -1023,
y_min = -511,
})
minetest.register_ore({
@ -692,42 +692,7 @@ function default.register_ores()
clust_scarcity = 13 * 13 * 13,
clust_num_ores = 5,
clust_size = 3,
y_max = -1024,
y_min = -31000,
})
-- Diamond
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 17 * 17 * 17,
clust_num_ores = 4,
clust_size = 3,
y_max = -512,
y_min = -1023,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = -1024,
y_min = -31000,
})
@ -766,6 +731,41 @@ function default.register_ores()
y_min = -31000,
})
-- Diamond
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 17 * 17 * 17,
clust_num_ores = 4,
clust_size = 3,
y_max = -1024,
y_min = -2047,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = -2048,
y_min = -31000,
})
-- Mese block
minetest.register_ore({
@ -786,8 +786,8 @@ function default.register_ores()
clust_scarcity = 36 * 36 * 36,
clust_num_ores = 3,
clust_size = 2,
y_max = -1024,
y_min = -2047,
y_max = -2048,
y_min = -4095,
})
minetest.register_ore({
@ -797,7 +797,7 @@ function default.register_ores()
clust_scarcity = 28 * 28 * 28,
clust_num_ores = 5,
clust_size = 3,
y_max = -2048,
y_max = -4096,
y_min = -31000,
})
end