From 2814876976dac1589b98e1b894a4026ce5941617 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 16 Oct 2020 03:09:21 -0700 Subject: [PATCH] Fix A-10C II radio data. These are two different planes. --- gen/aircraft.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gen/aircraft.py b/gen/aircraft.py index 13010bb3..070670f6 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -415,6 +415,7 @@ class SCR522RadioChannelAllocator(RadioChannelAllocator): # TODO : Some GCI on Channel 4 ? + @dataclass(frozen=True) class AircraftData: """Additional aircraft data not exposed by pydcs.""" @@ -438,7 +439,9 @@ class AircraftData: AIRCRAFT_DATA: Dict[str, AircraftData] = { "A-10C": AircraftData( inter_flight_radio=get_radio("AN/ARC-164"), - intra_flight_radio=get_radio("AN/ARC-164"), # VHF for intraflight is not accepted anymore by DCS (see https://forums.eagle.ru/showthread.php?p=4499738) + # VHF for intraflight is not accepted anymore by DCS + # (see https://forums.eagle.ru/showthread.php?p=4499738). + intra_flight_radio=get_radio("AN/ARC-164"), channel_allocator=WarthogRadioChannelAllocator() ), @@ -528,6 +531,7 @@ AIRCRAFT_DATA: Dict[str, AircraftData] = { channel_namer=SCR522ChannelNamer ), } +AIRCRAFT_DATA["A-10C_2"] = AIRCRAFT_DATA["A-10C"] AIRCRAFT_DATA["P-51D-30-NA"] = AIRCRAFT_DATA["P-51D"] AIRCRAFT_DATA["P-47D-30"] = AIRCRAFT_DATA["P-51D"]