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 },
|
2023-02-22 05:22:45 +01:00
|
|
|
light_data = {
|
|
|
|
shadow_intensity = 0,
|
|
|
|
saturation = 1
|
|
|
|
},
|
2020-04-22 00:54:27 +02:00
|
|
|
priority = 100
|
2020-04-16 08:04:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
climate_api.register_weather(name, conditions, effects)
|