Skip to content

Commit d42f77c

Browse files
committedJul 5, 2016
Default/mapgen: Simplify iron ore registrations
Preserve overlapping registrations of large and small clusters below y = -64 but now extend the small clusters up to y = 0 (the previous highest iron ore level) in a similar to way to coal
1 parent d476d01 commit d42f77c

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed
 

‎mods/default/mapgen.lua

+1-23
Original file line numberDiff line numberDiff line change
@@ -182,28 +182,6 @@ function default.register_ores()
182182
y_max = 31000,
183183
})
184184

185-
minetest.register_ore({
186-
ore_type = "scatter",
187-
ore = "default:stone_with_iron",
188-
wherein = "default:stone",
189-
clust_scarcity = 12 * 12 * 12,
190-
clust_num_ores = 3,
191-
clust_size = 2,
192-
y_min = -15,
193-
y_max = 0,
194-
})
195-
196-
minetest.register_ore({
197-
ore_type = "scatter",
198-
ore = "default:stone_with_iron",
199-
wherein = "default:stone",
200-
clust_scarcity = 9 * 9 * 9,
201-
clust_num_ores = 5,
202-
clust_size = 3,
203-
y_min = -63,
204-
y_max = -16,
205-
})
206-
207185
minetest.register_ore({
208186
ore_type = "scatter",
209187
ore = "default:stone_with_iron",
@@ -212,7 +190,7 @@ function default.register_ores()
212190
clust_num_ores = 5,
213191
clust_size = 3,
214192
y_min = -31000,
215-
y_max = -64,
193+
y_max = 0,
216194
})
217195

218196
minetest.register_ore({

0 commit comments

Comments
 (0)
Please sign in to comment.