mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 18:09:33 +01:00
Increase weather duration
This commit is contained in:
parent
b220a07877
commit
e1d362d215
4 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue