mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Default/mapgen: Simplify iron ore registrations
Preserve overlapping registrations of large and small clusters below y = -64 but now extend the small clusters up to y = 0 (the previous highest iron ore level) in a similar to way to coal
This commit is contained in:
		@@ -182,28 +182,6 @@ function default.register_ores()
 | 
			
		||||
		y_max          = 31000,
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_ore({
 | 
			
		||||
		ore_type       = "scatter",
 | 
			
		||||
		ore            = "default:stone_with_iron",
 | 
			
		||||
		wherein        = "default:stone",
 | 
			
		||||
		clust_scarcity = 12 * 12 * 12,
 | 
			
		||||
		clust_num_ores = 3,
 | 
			
		||||
		clust_size     = 2,
 | 
			
		||||
		y_min          = -15,
 | 
			
		||||
		y_max          = 0,
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_ore({
 | 
			
		||||
		ore_type       = "scatter",
 | 
			
		||||
		ore            = "default:stone_with_iron",
 | 
			
		||||
		wherein        = "default:stone",
 | 
			
		||||
		clust_scarcity = 9 * 9 * 9,
 | 
			
		||||
		clust_num_ores = 5,
 | 
			
		||||
		clust_size     = 3,
 | 
			
		||||
		y_min          = -63,
 | 
			
		||||
		y_max          = -16,
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_ore({
 | 
			
		||||
		ore_type       = "scatter",
 | 
			
		||||
		ore            = "default:stone_with_iron",
 | 
			
		||||
@@ -212,7 +190,7 @@ function default.register_ores()
 | 
			
		||||
		clust_num_ores = 5,
 | 
			
		||||
		clust_size     = 3,
 | 
			
		||||
		y_min          = -31000,
 | 
			
		||||
		y_max          = -64,
 | 
			
		||||
		y_max          = 0,
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_ore({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user