@@ -554,14 +554,6 @@ function default.register_ores()
554
554
octaves = 1 ,
555
555
persist = 0.0
556
556
},
557
- biomes = {" icesheet_ocean" , " tundra" , " tundra_beach" , " tundra_ocean" ,
558
- " taiga" , " taiga_ocean" , " snowy_grassland" , " snowy_grassland_ocean" ,
559
- " grassland" , " grassland_dunes" , " grassland_ocean" , " coniferous_forest" ,
560
- " coniferous_forest_dunes" , " coniferous_forest_ocean" , " deciduous_forest" ,
561
- " deciduous_forest_shore" , " deciduous_forest_ocean" , " cold_desert" ,
562
- " cold_desert_ocean" , " savanna" , " savanna_shore" , " savanna_ocean" ,
563
- " rainforest" , " rainforest_swamp" , " rainforest_ocean" , " underground" ,
564
- " floatland_coniferous_forest" , " floatland_coniferous_forest_ocean" }
565
557
})
566
558
567
559
-- Dirt
@@ -583,6 +575,7 @@ function default.register_ores()
583
575
octaves = 1 ,
584
576
persist = 0.0
585
577
},
578
+ -- Only where default:dirt is present as surface material
586
579
biomes = {" taiga" , " snowy_grassland" , " grassland" , " coniferous_forest" ,
587
580
" deciduous_forest" , " deciduous_forest_shore" , " savanna" , " savanna_shore" ,
588
581
" rainforest" , " rainforest_swamp" , " floatland_coniferous_forest" }
@@ -607,14 +600,6 @@ function default.register_ores()
607
600
octaves = 1 ,
608
601
persist = 0.0
609
602
},
610
- biomes = {" icesheet_ocean" , " tundra" , " tundra_beach" , " tundra_ocean" ,
611
- " taiga" , " taiga_ocean" , " snowy_grassland" , " snowy_grassland_ocean" ,
612
- " grassland" , " grassland_dunes" , " grassland_ocean" , " coniferous_forest" ,
613
- " coniferous_forest_dunes" , " coniferous_forest_ocean" , " deciduous_forest" ,
614
- " deciduous_forest_shore" , " deciduous_forest_ocean" , " cold_desert" ,
615
- " cold_desert_ocean" , " savanna" , " savanna_shore" , " savanna_ocean" ,
616
- " rainforest" , " rainforest_swamp" , " rainforest_ocean" , " underground" ,
617
- " floatland_coniferous_forest" , " floatland_coniferous_forest_ocean" }
618
603
})
619
604
620
605
-- Scatter ores
@@ -940,7 +925,15 @@ function default.register_biomes(upper_limit)
940
925
node_water_top = " default:ice" ,
941
926
depth_water_top = 10 ,
942
927
y_max = - 9 ,
943
- y_min = - 112 ,
928
+ y_min = - 255 ,
929
+ heat_point = 0 ,
930
+ humidity_point = 73 ,
931
+ })
932
+
933
+ minetest .register_biome ({
934
+ name = " icesheet_under" ,
935
+ y_max = - 256 ,
936
+ y_min = - 31000 ,
944
937
heat_point = 0 ,
945
938
humidity_point = 73 ,
946
939
})
@@ -998,7 +991,15 @@ function default.register_biomes(upper_limit)
998
991
depth_riverbed = 2 ,
999
992
vertical_blend = 1 ,
1000
993
y_max = - 4 ,
1001
- y_min = - 112 ,
994
+ y_min = - 255 ,
995
+ heat_point = 0 ,
996
+ humidity_point = 40 ,
997
+ })
998
+
999
+ minetest .register_biome ({
1000
+ name = " tundra_under" ,
1001
+ y_max = - 256 ,
1002
+ y_min = - 31000 ,
1002
1003
heat_point = 0 ,
1003
1004
humidity_point = 40 ,
1004
1005
})
@@ -1031,7 +1032,15 @@ function default.register_biomes(upper_limit)
1031
1032
depth_riverbed = 2 ,
1032
1033
vertical_blend = 1 ,
1033
1034
y_max = 3 ,
1034
- y_min = - 112 ,
1035
+ y_min = - 255 ,
1036
+ heat_point = 25 ,
1037
+ humidity_point = 70 ,
1038
+ })
1039
+
1040
+ minetest .register_biome ({
1041
+ name = " taiga_under" ,
1042
+ y_max = - 256 ,
1043
+ y_min = - 31000 ,
1035
1044
heat_point = 25 ,
1036
1045
humidity_point = 70 ,
1037
1046
})
@@ -1064,7 +1073,15 @@ function default.register_biomes(upper_limit)
1064
1073
depth_riverbed = 2 ,
1065
1074
vertical_blend = 1 ,
1066
1075
y_max = 3 ,
1067
- y_min = - 112 ,
1076
+ y_min = - 255 ,
1077
+ heat_point = 20 ,
1078
+ humidity_point = 35 ,
1079
+ })
1080
+
1081
+ minetest .register_biome ({
1082
+ name = " snowy_grassland_under" ,
1083
+ y_max = - 256 ,
1084
+ y_min = - 31000 ,
1068
1085
heat_point = 20 ,
1069
1086
humidity_point = 35 ,
1070
1087
})
@@ -1109,7 +1126,15 @@ function default.register_biomes(upper_limit)
1109
1126
node_riverbed = " default:sand" ,
1110
1127
depth_riverbed = 2 ,
1111
1128
y_max = 3 ,
1112
- y_min = - 112 ,
1129
+ y_min = - 255 ,
1130
+ heat_point = 50 ,
1131
+ humidity_point = 35 ,
1132
+ })
1133
+
1134
+ minetest .register_biome ({
1135
+ name = " grassland_under" ,
1136
+ y_max = - 256 ,
1137
+ y_min = - 31000 ,
1113
1138
heat_point = 50 ,
1114
1139
humidity_point = 35 ,
1115
1140
})
@@ -1154,7 +1179,15 @@ function default.register_biomes(upper_limit)
1154
1179
node_riverbed = " default:sand" ,
1155
1180
depth_riverbed = 2 ,
1156
1181
y_max = 3 ,
1157
- y_min = - 112 ,
1182
+ y_min = - 255 ,
1183
+ heat_point = 45 ,
1184
+ humidity_point = 70 ,
1185
+ })
1186
+
1187
+ minetest .register_biome ({
1188
+ name = " coniferous_forest_under" ,
1189
+ y_max = - 256 ,
1190
+ y_min = - 31000 ,
1158
1191
heat_point = 45 ,
1159
1192
humidity_point = 70 ,
1160
1193
})
@@ -1199,7 +1232,15 @@ function default.register_biomes(upper_limit)
1199
1232
depth_riverbed = 2 ,
1200
1233
vertical_blend = 1 ,
1201
1234
y_max = - 2 ,
1202
- y_min = - 112 ,
1235
+ y_min = - 255 ,
1236
+ heat_point = 60 ,
1237
+ humidity_point = 68 ,
1238
+ })
1239
+
1240
+ minetest .register_biome ({
1241
+ name = " deciduous_forest_under" ,
1242
+ y_max = - 256 ,
1243
+ y_min = - 31000 ,
1203
1244
heat_point = 60 ,
1204
1245
humidity_point = 68 ,
1205
1246
})
@@ -1232,7 +1273,15 @@ function default.register_biomes(upper_limit)
1232
1273
depth_riverbed = 2 ,
1233
1274
vertical_blend = 1 ,
1234
1275
y_max = 3 ,
1235
- y_min = - 112 ,
1276
+ y_min = - 255 ,
1277
+ heat_point = 92 ,
1278
+ humidity_point = 16 ,
1279
+ })
1280
+
1281
+ minetest .register_biome ({
1282
+ name = " desert_under" ,
1283
+ y_max = - 256 ,
1284
+ y_min = - 31000 ,
1236
1285
heat_point = 92 ,
1237
1286
humidity_point = 16 ,
1238
1287
})
@@ -1264,7 +1313,15 @@ function default.register_biomes(upper_limit)
1264
1313
node_riverbed = " default:sand" ,
1265
1314
depth_riverbed = 2 ,
1266
1315
y_max = 3 ,
1267
- y_min = - 112 ,
1316
+ y_min = - 255 ,
1317
+ heat_point = 60 ,
1318
+ humidity_point = 0 ,
1319
+ })
1320
+
1321
+ minetest .register_biome ({
1322
+ name = " sandstone_desert_under" ,
1323
+ y_max = - 256 ,
1324
+ y_min = - 31000 ,
1268
1325
heat_point = 60 ,
1269
1326
humidity_point = 0 ,
1270
1327
})
@@ -1295,7 +1352,15 @@ function default.register_biomes(upper_limit)
1295
1352
depth_riverbed = 2 ,
1296
1353
vertical_blend = 1 ,
1297
1354
y_max = 3 ,
1298
- y_min = - 112 ,
1355
+ y_min = - 255 ,
1356
+ heat_point = 40 ,
1357
+ humidity_point = 0 ,
1358
+ })
1359
+
1360
+ minetest .register_biome ({
1361
+ name = " cold_desert_under" ,
1362
+ y_max = - 256 ,
1363
+ y_min = - 31000 ,
1299
1364
heat_point = 40 ,
1300
1365
humidity_point = 0 ,
1301
1366
})
@@ -1340,7 +1405,15 @@ function default.register_biomes(upper_limit)
1340
1405
depth_riverbed = 2 ,
1341
1406
vertical_blend = 1 ,
1342
1407
y_max = - 2 ,
1343
- y_min = - 112 ,
1408
+ y_min = - 255 ,
1409
+ heat_point = 89 ,
1410
+ humidity_point = 42 ,
1411
+ })
1412
+
1413
+ minetest .register_biome ({
1414
+ name = " savanna_under" ,
1415
+ y_max = - 256 ,
1416
+ y_min = - 31000 ,
1344
1417
heat_point = 89 ,
1345
1418
humidity_point = 42 ,
1346
1419
})
@@ -1385,19 +1458,17 @@ function default.register_biomes(upper_limit)
1385
1458
depth_riverbed = 2 ,
1386
1459
vertical_blend = 1 ,
1387
1460
y_max = - 2 ,
1388
- y_min = - 112 ,
1461
+ y_min = - 255 ,
1389
1462
heat_point = 86 ,
1390
1463
humidity_point = 65 ,
1391
1464
})
1392
1465
1393
- -- Underground
1394
-
1395
1466
minetest .register_biome ({
1396
- name = " underground " ,
1397
- y_max = - 113 ,
1467
+ name = " rainforest_under " ,
1468
+ y_max = - 256 ,
1398
1469
y_min = - 31000 ,
1399
- heat_point = 50 ,
1400
- humidity_point = 50 ,
1470
+ heat_point = 86 ,
1471
+ humidity_point = 65 ,
1401
1472
})
1402
1473
end
1403
1474
0 commit comments