2020-04-13 01:58:27 +02:00
|
|
|
local name = "regional_weather:snow_heavy"
|
|
|
|
|
|
|
|
local conditions = {
|
|
|
|
min_height = regional_weather.settings.min_height,
|
|
|
|
max_height = regional_weather.settings.max_height,
|
2020-04-13 13:40:36 +02:00
|
|
|
max_heat = 30,
|
2020-04-16 08:04:06 +02:00
|
|
|
min_humidity = 65,
|
2020-05-29 21:53:33 +02:00
|
|
|
daylight = 15,
|
|
|
|
not_biome = {
|
|
|
|
"cold_desert",
|
|
|
|
"cold_desert_ocean",
|
|
|
|
"desert",
|
|
|
|
"desert_ocean",
|
|
|
|
"sandstone_desert",
|
|
|
|
"sandstone_desert_ocean"
|
|
|
|
}
|
2020-04-13 01:58:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
local effects = {}
|
|
|
|
|
2020-04-28 01:23:46 +02:00
|
|
|
effects["climate_api:skybox"] = {
|
|
|
|
cloud_data = {
|
|
|
|
color = "#5e676eb5"
|
|
|
|
},
|
|
|
|
priority = 11
|
|
|
|
}
|
|
|
|
|
2020-04-16 08:04:06 +02:00
|
|
|
effects["climate_api:hud_overlay"] = {
|
2020-04-24 01:36:58 +02:00
|
|
|
file = "weather_hud_frost.png",
|
2020-04-24 19:52:03 +02:00
|
|
|
z_index = -100,
|
|
|
|
color_correction = true
|
2020-04-16 08:04:06 +02:00
|
|
|
}
|
2020-04-13 01:58:27 +02:00
|
|
|
|
|
|
|
effects["climate_api:particles"] = {
|
2020-04-28 01:23:46 +02:00
|
|
|
boxsize = { x = 14, y = 3, z = 14 },
|
|
|
|
v_offset = 3,
|
|
|
|
expirationtime = 7.5,
|
|
|
|
size = 15,
|
|
|
|
amount = 6,
|
|
|
|
velocity = 0.75,
|
|
|
|
texture = "weather_snow.png",
|
|
|
|
glow = 6
|
2020-04-13 01:58:27 +02:00
|
|
|
}
|
|
|
|
|
2020-04-26 18:10:46 +02:00
|
|
|
climate_api.register_weather(name, conditions, effects)
|