mirror of
				https://github.com/mt-mods/biome_lib.git
				synced 2025-11-04 06:45:29 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			2019-05-22
			...
			20200603-1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					10a1089767 | ||
| 
						 | 
					5a910875af | 
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							@@ -85,7 +85,7 @@ biome_lib.perlin_humidity = PerlinNoise(humidity_seeddiff, humidity_octaves, hum
 | 
			
		||||
-- Local functions
 | 
			
		||||
 | 
			
		||||
local function get_biome_data(pos, perlin_fertile)
 | 
			
		||||
	local fertility = perlin_fertile:get2d({x=pos.x, y=pos.z})
 | 
			
		||||
	local fertility = perlin_fertile:get_2d({x=pos.x, y=pos.z})
 | 
			
		||||
 | 
			
		||||
	if type(minetest.get_biome_data) == "function" then
 | 
			
		||||
		local data = minetest.get_biome_data(pos)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user