From b18b3719042d083634add8770d26bde5c5c6acfe Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sun, 11 Jun 2023 23:38:36 -0700 Subject: [PATCH] Basic Sinai support. Not ready (most importantly no landmap). https://github.com/dcs-liberation/dcs_liberation/issues/2979 --- game/theater/theaterloader.py | 2 ++ resources/theaters/sinai/info.yaml | 44 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 resources/theaters/sinai/info.yaml diff --git a/game/theater/theaterloader.py b/game/theater/theaterloader.py index f691bcd9..339ec914 100644 --- a/game/theater/theaterloader.py +++ b/game/theater/theaterloader.py @@ -14,6 +14,7 @@ from dcs.terrain import ( Nevada, Normandy, PersianGulf, + Sinai, Syria, TheChannel, ) @@ -31,6 +32,7 @@ ALL_TERRAINS = [ MarianaIslands(), Nevada(), TheChannel(), + Sinai(), Syria(), ] diff --git a/resources/theaters/sinai/info.yaml b/resources/theaters/sinai/info.yaml new file mode 100644 index 00000000..00127ce2 --- /dev/null +++ b/resources/theaters/sinai/info.yaml @@ -0,0 +1,44 @@ +--- +name: Sinai +timezone: +3 # TODO +daytime: + dawn: [6, 8] + day: [8, 16] + dusk: [16, 18] + night: [0, 5] +climate: + day_night_temperature_difference: 8.0 + seasons: + winter: + average_pressure: 29.86 # TODO: Find real-world data + average_temperature: 10.0 + weather: + thunderstorm: 1 + raining: 25 + cloudy: 35 + clear: 40 + spring: + weather: + thunderstorm: 1 + raining: 10 + cloudy: 30 + clear: 60 + summer: + average_pressure: 29.98 # TODO: Find real-world data + average_temperature: 28.5 + weather: + thunderstorm: 1 + raining: 5 + cloudy: 30 + clear: 65 + fall: + weather: + thunderstorm: 1 + raining: 15 + cloudy: 35 + clear: 50 + turbulence: + high_avg_yearly_turbulence_per_10cm: 9 + low_avg_yearly_turbulence_per_10cm: 3.5 + solar_noon_turbulence_per_10cm: 3.5 + midnight_turbulence_per_10cm: -3