forked from luanti-org/minetest_game
		
	Default/mapgen: Add ores above y = 1024
Each ore's rarity is equal to that occuring below y= -1024
This commit is contained in:
		| @@ -136,6 +136,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Coal | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_coal", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 8 * 8 * 8, | ||||
| 		clust_num_ores = 9, | ||||
| 		clust_size     = 3, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_coal", | ||||
| @@ -160,6 +171,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Iron | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_iron", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 9 * 9 * 9, | ||||
| 		clust_num_ores = 12, | ||||
| 		clust_size     = 3, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_iron", | ||||
| @@ -206,6 +228,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Copper | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_copper", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 9 * 9 * 9, | ||||
| 		clust_num_ores = 5, | ||||
| 		clust_size     = 3, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_copper", | ||||
| @@ -230,6 +263,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Gold | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_gold", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 13 * 13 * 13, | ||||
| 		clust_num_ores = 5, | ||||
| 		clust_size     = 3, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_gold", | ||||
| @@ -254,6 +298,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Mese crystal | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_mese", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 14 * 14 * 14, | ||||
| 		clust_num_ores = 5, | ||||
| 		clust_size     = 3, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_mese", | ||||
| @@ -278,6 +333,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Diamond | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_diamond", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 15 * 15 * 15, | ||||
| 		clust_num_ores = 4, | ||||
| 		clust_size     = 3, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:stone_with_diamond", | ||||
| @@ -302,6 +368,17 @@ function default.register_ores() | ||||
|  | ||||
| 	-- Mese block | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:mese", | ||||
| 		wherein        = "default:stone", | ||||
| 		clust_scarcity = 36 * 36 * 36, | ||||
| 		clust_num_ores = 3, | ||||
| 		clust_size     = 2, | ||||
| 		y_min          = 1025, | ||||
| 		y_max          = 31000, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_ore({ | ||||
| 		ore_type       = "scatter", | ||||
| 		ore            = "default:mese", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user