1
0
mirror of https://gitlab.com/rautars/weather_pack.git synced 2025-07-14 12:50:15 +02:00

minor api update, change thunder max duration

This commit is contained in:
Arturas Norkus
2016-05-10 08:52:28 +03:00
parent 443741aea7
commit c364d40823
6 changed files with 49 additions and 28 deletions

View File

@ -27,9 +27,11 @@ thunder.clear = function()
end
-- register thunderstorm weather
if weather.known_weathers.thunder == nil then
weather.known_weathers.thunder = {
if weather.reg_weathers.thunder == nil then
weather.reg_weathers.thunder = {
chance = 5,
clear = thunder.clear
clear = thunder.clear,
min_duration = 120,
max_duration = 600,
}
end