Update ATIS.lua

#ATIS New Light Rain presets
This commit is contained in:
Thomas
2024-08-18 13:11:58 +02:00
committed by GitHub
parent aeb1664134
commit 2f568bca17
+33
View File
@@ -2168,6 +2168,39 @@ function ATIS:onafterBroadcast( From, Event, To )
else else
precepitation = 3 -- snow precepitation = 3 -- snow
end end
elseif cloudspreset:find( "RainyPreset4" ) then
-- Overcast + Rain
clouddens = 5
if temperature > 5 then
precepitation = 1 -- rain
else
precepitation = 3 -- snow
end
elseif cloudspreset:find( "RainyPreset5" ) then
-- Overcast + Rain
clouddens = 5
if temperature > 5 then
precepitation = 1 -- rain
else
precepitation = 3 -- snow
end
elseif cloudspreset:find( "RainyPreset6" ) then
-- Overcast + Rain
clouddens = 5
if temperature > 5 then
precepitation = 1 -- rain
else
precepitation = 3 -- snow
end
-- NEWRAINPRESET4
elseif cloudspreset:find( "NEWRAINPRESET4" ) then
-- Overcast + Rain
clouddens = 5
if temperature > 5 then
precepitation = 1 -- rain
else
precepitation = 3 -- snow
end
elseif cloudspreset:find( "RainyPreset" ) then elseif cloudspreset:find( "RainyPreset" ) then
-- Overcast + Rain -- Overcast + Rain
clouddens = 9 clouddens = 9