mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2024-11-15 07:00:25 +01:00
32 lines
612 B
Lua
32 lines
612 B
Lua
|
local name = "regional_weather:fog_heavy"
|
||
|
|
||
|
local conditions = {
|
||
|
min_height = regional_weather.settings.min_height * 0.9,
|
||
|
max_height = regional_weather.settings.max_height * 0.9,
|
||
|
min_humidity = 43,
|
||
|
max_humidity = 47,
|
||
|
max_windspeed = 1.5,
|
||
|
min_heat = 43,
|
||
|
max_heat = 47
|
||
|
}
|
||
|
|
||
|
local effects = {}
|
||
|
|
||
|
effects["climate_api:hud_overlay"] = {
|
||
|
file = "weather_hud_fog.png^[opacity:100",
|
||
|
z_index = -200
|
||
|
}
|
||
|
|
||
|
effects["climate_api:skybox"] = {
|
||
|
sky_data = {
|
||
|
type = "plain",
|
||
|
base_color = "#c0c0c08f"
|
||
|
},
|
||
|
cloud_data = {
|
||
|
color = "#ffffffc0",
|
||
|
},
|
||
|
priority = 51
|
||
|
}
|
||
|
|
||
|
climate_api.register_weather(name, conditions, effects)
|