2020-04-13 01:58:27 +02:00
|
|
|
local name = "regional_weather:rain_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
|
|
|
min_heat = 40,
|
2020-04-16 08:04:06 +02:00
|
|
|
min_humidity = 65,
|
2020-04-18 17:26:01 +02:00
|
|
|
daylight = 15
|
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-13 01:58:27 +02:00
|
|
|
effects["climate_api:sound"] = {
|
2020-04-22 00:54:27 +02:00
|
|
|
name = "weather_rain_heavy",
|
2020-04-13 01:58:27 +02:00
|
|
|
gain = 1
|
|
|
|
}
|
|
|
|
|
|
|
|
effects["climate_api:particles"] = {
|
2020-04-28 01:23:46 +02:00
|
|
|
boxsize = { x = 18, y = 0, z = 18 },
|
|
|
|
v_offset = 7,
|
|
|
|
velocity = 7,
|
|
|
|
amount = 17,
|
|
|
|
expirationtime = 1.2,
|
|
|
|
minsize = 25,
|
|
|
|
maxsize = 35,
|
|
|
|
texture = {
|
2020-04-22 00:54:27 +02:00
|
|
|
"weather_rain.png",
|
|
|
|
"weather_rain.png",
|
|
|
|
"weather_rain_medium.png"
|
2020-04-28 01:23:46 +02:00
|
|
|
},
|
|
|
|
glow = 5
|
2020-04-13 01:58:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
climate_api.register_weather(name, conditions, effects)
|