mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
from .seasonalconditions import SeasonalConditions, Season, WeatherTypeChances
|
|
|
|
CONDITIONS = SeasonalConditions(
|
|
summer_avg_pressure=30.02, # TODO: Find real-world data
|
|
winter_avg_pressure=29.82, # TODO: Find real-world data
|
|
summer_avg_temperature=28.0,
|
|
winter_avg_temperature=27.0,
|
|
temperature_day_night_difference=1.0,
|
|
weather_type_chances={
|
|
# TODO: Find real-world data for all these values
|
|
Season.Winter: WeatherTypeChances(
|
|
thunderstorm=2,
|
|
raining=20,
|
|
cloudy=40,
|
|
clear_skies=40,
|
|
),
|
|
Season.Spring: WeatherTypeChances(
|
|
# Spring is dry/sunny in Marianas
|
|
thunderstorm=1,
|
|
raining=10,
|
|
cloudy=30,
|
|
clear_skies=60,
|
|
),
|
|
Season.Summer: WeatherTypeChances(
|
|
thunderstorm=2,
|
|
raining=20,
|
|
cloudy=40,
|
|
clear_skies=40,
|
|
),
|
|
Season.Fall: WeatherTypeChances(
|
|
# Rain season
|
|
thunderstorm=5,
|
|
raining=45,
|
|
cloudy=30,
|
|
clear_skies=20,
|
|
),
|
|
},
|
|
)
|