mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-25 04:25:26 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
-- * @{#SET_CARGO}: Defines a collection of @{Cargo.Cargo}s filtered by filter criteria.
|
-- * @{#SET_CARGO}: Defines a collection of @{Cargo.Cargo}s filtered by filter criteria.
|
||||||
-- * @{#SET_ZONE}: Defines a collection of @{Core.Zone}s filtered by filter criteria.
|
-- * @{#SET_ZONE}: Defines a collection of @{Core.Zone}s filtered by filter criteria.
|
||||||
-- * @{#SET_SCENERY}: Defines a collection of @{Wrapper.Scenery}s added via a filtered @{#SET_ZONE}.
|
-- * @{#SET_SCENERY}: Defines a collection of @{Wrapper.Scenery}s added via a filtered @{#SET_ZONE}.
|
||||||
-- * @{#SET_DYNAMICCARGO}: Defines a collection of @{Wrapper.DynamicCargo}s added via a filtered @{#SET_ZONE}.
|
-- * @{#SET_DYNAMICCARGO}: Defines a collection of @{Wrapper.DynamicCargo}s filtered by filter criteria.
|
||||||
--
|
--
|
||||||
-- These classes are derived from @{#SET_BASE}, which contains the main methods to manage the collections.
|
-- These classes are derived from @{#SET_BASE}, which contains the main methods to manage the collections.
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user