mirror of
				https://github.com/t-affeldt/regional_weather.git
				synced 2025-10-31 08:05:30 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			475 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			475 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| local name = "regional_weather:deep_cave"
 | |
| 
 | |
| local conditions = {
 | |
| 	max_daylight	= minetest.LIGHT_MAX,
 | |
| 	max_height		= -100
 | |
| }
 | |
| 
 | |
| local effects = {}
 | |
| effects["climate_api:skybox"] = {
 | |
| 	sky_data = {
 | |
| 		type = "plain",
 | |
| 		base_color = { r = 0, g = 0, b = 0 },
 | |
| 		clouds = false
 | |
| 	},
 | |
| 	sun_data = {
 | |
| 		visible = false,
 | |
| 		sunrise_visible = false
 | |
| 	},
 | |
| 	moon_data = { visible = false },
 | |
| 	star_data = { visible = false },
 | |
| 	priority = 100
 | |
| }
 | |
| 
 | |
| climate_api.register_weather(name, conditions, effects)
 |