From e1d362d2152f9f4ded08c8652e48dc18bc7723f9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 12 Nov 2017 05:27:18 +0100 Subject: [PATCH] Increase weather duration --- mods/ENVIRONMENT/weather_pack/rain.lua | 4 ++-- mods/ENVIRONMENT/weather_pack/snow.lua | 4 ++-- mods/ENVIRONMENT/weather_pack/thunder.lua | 4 ++-- mods/ENVIRONMENT/weather_pack/weather_core.lua | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mods/ENVIRONMENT/weather_pack/rain.lua b/mods/ENVIRONMENT/weather_pack/rain.lua index fad3b0dcc9..a03584c4d8 100644 --- a/mods/ENVIRONMENT/weather_pack/rain.lua +++ b/mods/ENVIRONMENT/weather_pack/rain.lua @@ -241,7 +241,7 @@ if weather.reg_weathers.rain == nil then chance = 15, clear = rain.clear, -- 10min - 20min - min_duration = 300, - max_duration = 600, + min_duration = 600, + max_duration = 1200, } end diff --git a/mods/ENVIRONMENT/weather_pack/snow.lua b/mods/ENVIRONMENT/weather_pack/snow.lua index 8a98c3e8f5..0749b233dc 100644 --- a/mods/ENVIRONMENT/weather_pack/snow.lua +++ b/mods/ENVIRONMENT/weather_pack/snow.lua @@ -86,8 +86,8 @@ if weather.reg_weathers.snow == nil then chance = 10, clear = snow.clear, -- 10min - 20min - min_duration = 300, - max_duration = 600, + min_duration = 600, + max_duration = 1200, } end diff --git a/mods/ENVIRONMENT/weather_pack/thunder.lua b/mods/ENVIRONMENT/weather_pack/thunder.lua index afe8835db9..5478b835e2 100644 --- a/mods/ENVIRONMENT/weather_pack/thunder.lua +++ b/mods/ENVIRONMENT/weather_pack/thunder.lua @@ -52,7 +52,7 @@ if weather.reg_weathers.thunder == nil then chance = 5, clear = thunder.clear, -- 10min - 20min - min_duration = 300, - max_duration = 600, + min_duration = 600, + max_duration = 1200, } end diff --git a/mods/ENVIRONMENT/weather_pack/weather_core.lua b/mods/ENVIRONMENT/weather_pack/weather_core.lua index 754f64acc0..2192c1c531 100644 --- a/mods/ENVIRONMENT/weather_pack/weather_core.lua +++ b/mods/ENVIRONMENT/weather_pack/weather_core.lua @@ -9,10 +9,10 @@ weather = { next_check = nil, -- default weather recalculation interval - check_interval = 150, + check_interval = 300, -- weather min duration - min_duration = 300, + min_duration = 600, -- weather max duration max_duration = 9000,