@@ -42,12 +42,12 @@ minetest.register_alias("mapgen_stair_sandstonebrick", "stairs:stair_sandstonebr
42
42
-- Register ores
43
43
--
44
44
45
- -- All mapgens except singlenode
46
- -- Blob ore first to avoid other ores inside blobs
47
-
48
45
function default .register_ores ()
46
+ -- Blob ores
47
+ -- These first to avoid other ores in blobs
49
48
50
49
-- Clay
50
+ -- This first to avoid clay in sand blobs
51
51
52
52
minetest .register_ore ({
53
53
ore_type = " blob" ,
@@ -78,7 +78,7 @@ function default.register_ores()
78
78
clust_scarcity = 16 * 16 * 16 ,
79
79
clust_size = 5 ,
80
80
y_min = - 31 ,
81
- y_max = 4 ,
81
+ y_max = 0 ,
82
82
noise_threshold = 0.0 ,
83
83
noise_params = {
84
84
offset = 0.5 ,
@@ -95,7 +95,7 @@ function default.register_ores()
95
95
minetest .register_ore ({
96
96
ore_type = " blob" ,
97
97
ore = " default:dirt" ,
98
- wherein = {" default:stone" , " default:sandstone " },
98
+ wherein = {" default:stone" },
99
99
clust_scarcity = 16 * 16 * 16 ,
100
100
clust_size = 5 ,
101
101
y_min = - 31 ,
@@ -132,6 +132,8 @@ function default.register_ores()
132
132
},
133
133
})
134
134
135
+ -- Scatter ores
136
+
135
137
-- Coal
136
138
137
139
minetest .register_ore ({
@@ -166,7 +168,7 @@ function default.register_ores()
166
168
clust_num_ores = 3 ,
167
169
clust_size = 2 ,
168
170
y_min = - 15 ,
169
- y_max = 2 ,
171
+ y_max = 0 ,
170
172
})
171
173
172
174
minetest .register_ore ({
@@ -202,48 +204,61 @@ function default.register_ores()
202
204
y_max = - 64 ,
203
205
})
204
206
205
- -- Mese
207
+ -- Copper
206
208
207
209
minetest .register_ore ({
208
210
ore_type = " scatter" ,
209
- ore = " default:stone_with_mese " ,
211
+ ore = " default:stone_with_copper " ,
210
212
wherein = " default:stone" ,
211
- clust_scarcity = 18 * 18 * 18 ,
212
- clust_num_ores = 3 ,
213
- clust_size = 2 ,
214
- y_min = - 255 ,
215
- y_max = - 64 ,
213
+ clust_scarcity = 12 * 12 * 12 ,
214
+ clust_num_ores = 4 ,
215
+ clust_size = 3 ,
216
+ y_min = - 63 ,
217
+ y_max = - 16 ,
216
218
})
217
219
218
220
minetest .register_ore ({
219
221
ore_type = " scatter" ,
220
- ore = " default:stone_with_mese " ,
222
+ ore = " default:stone_with_copper " ,
221
223
wherein = " default:stone" ,
222
- clust_scarcity = 14 * 14 * 14 ,
224
+ clust_scarcity = 9 * 9 * 9 ,
223
225
clust_num_ores = 5 ,
224
226
clust_size = 3 ,
225
227
y_min = - 31000 ,
226
- y_max = - 256 ,
228
+ y_max = - 64 ,
227
229
})
228
230
231
+ -- Gold
232
+
229
233
minetest .register_ore ({
230
234
ore_type = " scatter" ,
231
- ore = " default:mese " ,
235
+ ore = " default:stone_with_gold " ,
232
236
wherein = " default:stone" ,
233
- clust_scarcity = 36 * 36 * 36 ,
237
+ clust_scarcity = 15 * 15 * 15 ,
234
238
clust_num_ores = 3 ,
235
239
clust_size = 2 ,
240
+ y_min = - 255 ,
241
+ y_max = - 64 ,
242
+ })
243
+
244
+ minetest .register_ore ({
245
+ ore_type = " scatter" ,
246
+ ore = " default:stone_with_gold" ,
247
+ wherein = " default:stone" ,
248
+ clust_scarcity = 13 * 13 * 13 ,
249
+ clust_num_ores = 5 ,
250
+ clust_size = 3 ,
236
251
y_min = - 31000 ,
237
- y_max = - 1024 ,
252
+ y_max = - 256 ,
238
253
})
239
254
240
- -- Gold
255
+ -- Mese crystal
241
256
242
257
minetest .register_ore ({
243
258
ore_type = " scatter" ,
244
- ore = " default:stone_with_gold " ,
259
+ ore = " default:stone_with_mese " ,
245
260
wherein = " default:stone" ,
246
- clust_scarcity = 15 * 15 * 15 ,
261
+ clust_scarcity = 18 * 18 * 18 ,
247
262
clust_num_ores = 3 ,
248
263
clust_size = 2 ,
249
264
y_min = - 255 ,
@@ -252,9 +267,9 @@ function default.register_ores()
252
267
253
268
minetest .register_ore ({
254
269
ore_type = " scatter" ,
255
- ore = " default:stone_with_gold " ,
270
+ ore = " default:stone_with_mese " ,
256
271
wherein = " default:stone" ,
257
- clust_scarcity = 13 * 13 * 13 ,
272
+ clust_scarcity = 14 * 14 * 14 ,
258
273
clust_num_ores = 5 ,
259
274
clust_size = 3 ,
260
275
y_min = - 31000 ,
@@ -285,28 +300,17 @@ function default.register_ores()
285
300
y_max = - 256 ,
286
301
})
287
302
288
- -- Copper
303
+ -- Mese block
289
304
290
305
minetest .register_ore ({
291
306
ore_type = " scatter" ,
292
- ore = " default:stone_with_copper" ,
293
- wherein = " default:stone" ,
294
- clust_scarcity = 12 * 12 * 12 ,
295
- clust_num_ores = 4 ,
296
- clust_size = 3 ,
297
- y_min = - 63 ,
298
- y_max = - 16 ,
299
- })
300
-
301
- minetest .register_ore ({
302
- ore_type = " scatter" ,
303
- ore = " default:stone_with_copper" ,
307
+ ore = " default:mese" ,
304
308
wherein = " default:stone" ,
305
- clust_scarcity = 9 * 9 * 9 ,
306
- clust_num_ores = 5 ,
307
- clust_size = 3 ,
309
+ clust_scarcity = 36 * 36 * 36 ,
310
+ clust_num_ores = 3 ,
311
+ clust_size = 2 ,
308
312
y_min = - 31000 ,
309
- y_max = - 64 ,
313
+ y_max = - 1024 ,
310
314
})
311
315
end
312
316
0 commit comments