mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
from .seasonalconditions import SeasonalConditions, Season, WeatherTypeChances
|
|
|
|
CONDITIONS = SeasonalConditions(
|
|
summer_avg_pressure=29.98, # TODO: Find real-world data
|
|
winter_avg_pressure=29.80, # TODO: Find real-world data
|
|
summer_avg_temperature=32.5,
|
|
winter_avg_temperature=15.0,
|
|
temperature_day_night_difference=2.0,
|
|
weather_type_chances={
|
|
# TODO: Find real-world data for all these values
|
|
Season.Winter: WeatherTypeChances(
|
|
# Winter there is some rain in PG (Dubai)
|
|
thunderstorm=1,
|
|
raining=15,
|
|
cloudy=35,
|
|
clear_skies=50,
|
|
),
|
|
Season.Spring: WeatherTypeChances(
|
|
thunderstorm=1,
|
|
raining=2,
|
|
cloudy=18,
|
|
clear_skies=80,
|
|
),
|
|
Season.Summer: WeatherTypeChances(
|
|
thunderstorm=1,
|
|
raining=1,
|
|
cloudy=8,
|
|
clear_skies=90,
|
|
),
|
|
Season.Fall: WeatherTypeChances(
|
|
thunderstorm=1,
|
|
raining=2,
|
|
cloudy=18,
|
|
clear_skies=80,
|
|
),
|
|
},
|
|
)
|