1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-07-23 19:00:22 +02:00

Update to new influences, improve rain skybox

This commit is contained in:
Till Affeldt
2020-04-18 17:26:01 +02:00
parent 497f31918a
commit e0b8d6d835
14 changed files with 79 additions and 46 deletions

View File

@ -5,7 +5,7 @@ local conditions = {
max_height = regional_weather.settings.max_height,
max_heat = 30,
min_humidity = 65,
min_daylight = 15
daylight = 15
}
local effects = {}
@ -23,14 +23,6 @@ effects["climate_api:particles"] = {
texture="weather_snow.png"
}
effects["climate_api:skybox"] = {
sky_data = {
type = "plain",
base_color = {r=106, g=130, b=142},
clouds = true
}
}
local function generate_effects(params)
local avg_humidity = 55
local intensity = params.humidity / avg_humidity