regional_weather/ca_weathers/deep_cave.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)