2020-04-16 08:04:06 +02:00
|
|
|
local name = "regional_weather:deep_cave"
|
|
|
|
|
|
|
|
local conditions = {
|
2020-04-18 17:26:01 +02:00
|
|
|
max_daylight = minetest.LIGHT_MAX,
|
|
|
|
max_height = -100
|
2020-04-16 08:04:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
local effects = {}
|
|
|
|
effects["climate_api:skybox"] = {
|
|
|
|
sky_data = {
|
|
|
|
type = "plain",
|
|
|
|
base_color = { r = 0, g = 0, b = 0 },
|
|
|
|
clouds = false
|
|
|
|
},
|
2020-04-18 17:26:01 +02:00
|
|
|
sun_data = {
|
|
|
|
visible = false,
|
|
|
|
sunrise_visible = false
|
|
|
|
},
|
2020-04-16 08:04:06 +02:00
|
|
|
moon_data = { visible = false },
|
2020-04-22 00:54:27 +02:00
|
|
|
star_data = { visible = false },
|
|
|
|
priority = 100
|
2020-04-16 08:04:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
climate_api.register_weather(name, conditions, effects)
|