Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paramat committed Apr 11, 2018
1 parent 8c71f3d commit 8d8f2f7
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions mods/default/mapgen.lua
Expand Up @@ -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,
})

Expand Down Expand Up @@ -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({
Expand All @@ -692,77 +692,77 @@ function default.register_ores()
clust_scarcity = 13 * 13 * 13,
clust_num_ores = 5,
clust_size = 3,
y_max = -1024,
y_max = -512,
y_min = -31000,
})

-- Diamond
-- Mese crystal

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
ore = "default:stone_with_mese",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
ore = "default:stone_with_mese",
wherein = "default:stone",
clust_scarcity = 17 * 17 * 17,
clust_num_ores = 4,
clust_size = 3,
clust_scarcity = 18 * 18 * 18,
clust_num_ores = 3,
clust_size = 2,
y_max = -512,
y_min = -1023,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_diamond",
ore = "default:stone_with_mese",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
clust_size = 3,
y_max = -1024,
y_min = -31000,
})

-- Mese crystal
-- Diamond

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_mese",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
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_mese",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 18 * 18 * 18,
clust_num_ores = 3,
clust_size = 2,
y_max = -512,
y_min = -1023,
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_mese",
ore = "default:stone_with_diamond",
wherein = "default:stone",
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = -1024,
y_max = -2048,
y_min = -31000,
})

Expand All @@ -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({
Expand All @@ -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
Expand Down

0 comments on commit 8d8f2f7

Please sign in to comment.