diff --git a/resources/factions/bluefor_coldwar.json b/resources/factions/bluefor_coldwar.json index fc3795d7..a5d48362 100644 --- a/resources/factions/bluefor_coldwar.json +++ b/resources/factions/bluefor_coldwar.json @@ -17,7 +17,8 @@ ], "awacs": [ "C_130", - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/bluefor_coldwar_a4.json b/resources/factions/bluefor_coldwar_a4.json index 85144509..43f50799 100644 --- a/resources/factions/bluefor_coldwar_a4.json +++ b/resources/factions/bluefor_coldwar_a4.json @@ -18,7 +18,8 @@ ], "awacs": [ "C_130", - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/bluefor_coldwar_a4_mb339.json b/resources/factions/bluefor_coldwar_a4_mb339.json index 127c922d..894b5175 100644 --- a/resources/factions/bluefor_coldwar_a4_mb339.json +++ b/resources/factions/bluefor_coldwar_a4_mb339.json @@ -19,7 +19,8 @@ ], "awacs": [ "C_130", - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/bluefor_modern.json b/resources/factions/bluefor_modern.json index 14590cc4..cbf58fcd 100644 --- a/resources/factions/bluefor_modern.json +++ b/resources/factions/bluefor_modern.json @@ -28,7 +28,8 @@ "B_1B" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/france_2005_frenchpack.json b/resources/factions/france_2005_frenchpack.json index f9e0dca7..54a709a8 100644 --- a/resources/factions/france_2005_frenchpack.json +++ b/resources/factions/france_2005_frenchpack.json @@ -11,7 +11,8 @@ "SA342Mistral" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/france_2005_modded.json b/resources/factions/france_2005_modded.json index dd0929fc..4b1b0f84 100644 --- a/resources/factions/france_2005_modded.json +++ b/resources/factions/france_2005_modded.json @@ -14,7 +14,8 @@ "SA342Mistral" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/us_aggressors.json b/resources/factions/us_aggressors.json index 31595c5f..b9c7834e 100644 --- a/resources/factions/us_aggressors.json +++ b/resources/factions/us_aggressors.json @@ -22,7 +22,8 @@ "Su_27" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/usa_1990.json b/resources/factions/usa_1990.json index f33fbdb1..e58b037c 100644 --- a/resources/factions/usa_1990.json +++ b/resources/factions/usa_1990.json @@ -21,7 +21,8 @@ "F_117A" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/usa_2005.json b/resources/factions/usa_2005.json index f7a5f912..ecd22a2a 100644 --- a/resources/factions/usa_2005.json +++ b/resources/factions/usa_2005.json @@ -21,7 +21,8 @@ "B_1B" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/usa_2005_c130.json b/resources/factions/usa_2005_c130.json index 8164ec23..e577c65a 100644 --- a/resources/factions/usa_2005_c130.json +++ b/resources/factions/usa_2005_c130.json @@ -22,7 +22,8 @@ "Hercules" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/factions/usa_2005_modded.json b/resources/factions/usa_2005_modded.json index e71f74a1..a2e8d07c 100644 --- a/resources/factions/usa_2005_modded.json +++ b/resources/factions/usa_2005_modded.json @@ -22,7 +22,8 @@ "F_22A" ], "awacs": [ - "E_3A" + "E_3A", + "E_2C" ], "tankers": [ "KC_135", diff --git a/resources/ui/units/aircrafts/banners/E-2C_24.jpg b/resources/ui/units/aircrafts/banners/E-2C_24.jpg new file mode 100644 index 00000000..bf8e8073 Binary files /dev/null and b/resources/ui/units/aircrafts/banners/E-2C_24.jpg differ diff --git a/resources/units/unit_info_text.json b/resources/units/unit_info_text.json index 11349ea0..93f302d5 100644 --- a/resources/units/unit_info_text.json +++ b/resources/units/unit_info_text.json @@ -156,6 +156,16 @@ "year-of-variant-introduction": "1980" } }], + "E-2C": [{ + "default": { + "name": "E-2C Hawkeye", + "text": "The Northrop Grumman E-2 Hawkeye is an American all-weather, carrier-capable tactical airborne early warning (AEW) aircraft.", + "country-of-origin": "USA", + "manufacturer": "Northrop Grumman", + "role": "AEW&C", + "year-of-variant-introduction": "1973" + } + }], "F-4E": [{ "default": { "name": "F-4E Phantom II", diff --git a/tests/test_factions.py b/tests/test_factions.py index bc6d7af3..3635dfdb 100644 --- a/tests/test_factions.py +++ b/tests/test_factions.py @@ -16,6 +16,7 @@ from dcs.planes import ( F_117A, MQ_9_Reaper, E_3A, + E_2C, KC130, KC_135, A_10C, @@ -67,6 +68,7 @@ class TestFactionLoader(unittest.TestCase): self.assertEqual(len(faction.awacs), 1) self.assertIn(E_3A, faction.awacs) + self.assertIn(E_2C, faction.awacs) self.assertEqual(len(faction.tankers), 2) self.assertIn(KC_135, faction.tankers)