1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2024-11-15 23:20:24 +01:00
regional_weather/ca_weathers/deep_cave.lua

29 lines
536 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 },
light_data = {
shadow_intensity = 0,
saturation = 1
},
priority = 100
}
climate_api.register_weather(name, conditions, effects)