瀏覽代碼

Ores: Remove region overlaps. Make some regions deeper

paramat 6 年之前
父節點
當前提交
3afcd68e9b
共有 1 個文件被更改,包括 13 次插入13 次删除
  1. 13 13
      mods/default/mapgen.lua

+ 13 - 13
mods/default/mapgen.lua

@@ -542,17 +542,17 @@ function default.register_ores()
 		clust_num_ores = 8,
 		clust_size     = 3,
 		y_max          = 64,
-		y_min          = -31000,
+		y_min          = -127,
 	})
 
 	minetest.register_ore({
 		ore_type       = "scatter",
 		ore            = "default:stone_with_coal",
 		wherein        = "default:stone",
-		clust_scarcity = 24 * 24 * 24,
-		clust_num_ores = 27,
-		clust_size     = 6,
-		y_max          = 0,
+		clust_scarcity = 12 * 12 * 12,
+		clust_num_ores = 30,
+		clust_size     = 5,
+		y_max          = -128,
 		y_min          = -31000,
 	})
 
@@ -577,17 +577,17 @@ function default.register_ores()
 		clust_num_ores = 5,
 		clust_size     = 3,
 		y_max          = 0,
-		y_min          = -31000,
+		y_min          = -127,
 	})
 
 	minetest.register_ore({
 		ore_type       = "scatter",
 		ore            = "default:stone_with_iron",
 		wherein        = "default:stone",
-		clust_scarcity = 24 * 24 * 24,
-		clust_num_ores = 27,
-		clust_size     = 6,
-		y_max          = -64,
+		clust_scarcity = 12 * 12 * 12,
+		clust_num_ores = 29,
+		clust_size     = 5,
+		y_max          = -128,
 		y_min          = -31000,
 	})
 
@@ -611,8 +611,8 @@ function default.register_ores()
 		clust_scarcity = 13 * 13 * 13,
 		clust_num_ores = 4,
 		clust_size     = 3,
-		y_max          = -64,
-		y_min          = -127,
+		y_max          = -128,
+		y_min          = -255,
 	})
 
 	minetest.register_ore({
@@ -622,7 +622,7 @@ function default.register_ores()
 		clust_scarcity = 10 * 10 * 10,
 		clust_num_ores = 5,
 		clust_size     = 3,
-		y_max          = -128,
+		y_max          = -256,
 		y_min          = -31000,
 	})