@@ -54,27 +54,47 @@ moreores.mithril_clust_size_high = 3
54
54
moreores.mithril_clust_size = 3
55
55
moreores.mithril_clust_size_deep = 3
56
56
57
- -- Maximal and minimal depths of ore generation (Y coordinate, 0 being sea level by default)
58
- -- Tin
59
- moreores.tin_max_depth_high = 31000
60
- moreores.tin_min_depth_high = 1025
61
- moreores.tin_max_depth = -64 -- For v6 mapgen, -32 fits better
62
- moreores.tin_min_depth = -127
63
- moreores.tin_max_depth_deep = -128
64
- moreores.tin_min_depth_deep = -31000
65
57
66
- -- Silver
67
- moreores.silver_max_depth_high = 31000
68
- moreores.silver_min_depth_high = 1025
69
- moreores.silver_max_depth = -64 -- For v6 mapgen, -32 fits better
70
- moreores.silver_min_depth = -127 -- For v6 mapgen, -63 fits better
71
- moreores.silver_max_depth_deep = -128 -- For v6 mapgen, -64 fits better
72
- moreores.silver_min_depth_deep = -31000
58
+ if minetest.get_modpath("mcl_core") then
59
+ -- Example adjustments for MineClone2
60
+ moreores.tin_max_depth_high = 0
61
+ moreores.tin_min_depth_high = -10
62
+ moreores.tin_max_depth = -11
63
+ moreores.tin_min_depth = -57
73
64
74
- -- Mithril
75
- moreores.mithril_max_depth_high = 31000
76
- moreores.mithril_min_depth_high = 2049
77
- moreores.mithril_max_depth = -2048 -- For v6 mapgen, -256 fits better
78
- moreores.mithril_min_depth = -4095 -- For v6 mapgen, -511 fits better
79
- moreores.mithril_max_depth_deep = -4096 -- For v6 mapgen, -512 fits better
80
- moreores.mithril_min_depth_deep = -31000
65
+ -- Similar adjustments for silver and mithril
66
+ moreores.silver_max_depth_high = 0
67
+ moreores.silver_min_depth_high = -10
68
+ moreores.silver_max_depth = -11
69
+ moreores.silver_min_depth = -57
70
+
71
+ moreores.mithril_max_depth_high = 0
72
+ moreores.mithril_min_depth_high = -20
73
+ moreores.mithril_max_depth = -21
74
+ moreores.mithril_min_depth = -57
75
+ else
76
+ -- Maximal and minimal depths of ore generation (Y coordinate, 0 being sea level by default)
77
+ -- Tin
78
+ moreores.tin_max_depth_high = 31000
79
+ moreores.tin_min_depth_high = 1025
80
+ moreores.tin_max_depth = -64 -- For v6 mapgen, -32 fits better
81
+ moreores.tin_min_depth = -127
82
+ moreores.tin_max_depth_deep = -128
83
+ moreores.tin_min_depth_deep = -31000
84
+
85
+ -- Silver
86
+ moreores.silver_max_depth_high = 31000
87
+ moreores.silver_min_depth_high = 1025
88
+ moreores.silver_max_depth = -64 -- For v6 mapgen, -32 fits better
89
+ moreores.silver_min_depth = -127 -- For v6 mapgen, -63 fits better
90
+ moreores.silver_max_depth_deep = -128 -- For v6 mapgen, -64 fits better
91
+ moreores.silver_min_depth_deep = -31000
92
+
93
+ -- Mithril
94
+ moreores.mithril_max_depth_high = 31000
95
+ moreores.mithril_min_depth_high = 2049
96
+ moreores.mithril_max_depth = -2048 -- For v6 mapgen, -256 fits better
97
+ moreores.mithril_min_depth = -4095 -- For v6 mapgen, -511 fits better
98
+ moreores.mithril_max_depth_deep = -4096 -- For v6 mapgen, -512 fits better
99
+ moreores.mithril_min_depth_deep = -31000
100
+ end
0 commit comments