Merge pull request #947 from SnappyComebacks/add-e2c-to-more-factions

Add E-2C to more factions
This commit is contained in:
C. Perreau 2021-03-29 23:49:27 +02:00 committed by GitHub
commit 264eb01afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 34 additions and 11 deletions

View File

@ -17,7 +17,8 @@
],
"awacs": [
"C_130",
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -18,7 +18,8 @@
],
"awacs": [
"C_130",
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -19,7 +19,8 @@
],
"awacs": [
"C_130",
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -28,7 +28,8 @@
"B_1B"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -11,7 +11,8 @@
"SA342Mistral"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -14,7 +14,8 @@
"SA342Mistral"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -22,7 +22,8 @@
"Su_27"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -21,7 +21,8 @@
"F_117A"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -21,7 +21,8 @@
"B_1B"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -22,7 +22,8 @@
"Hercules"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

View File

@ -22,7 +22,8 @@
"F_22A"
],
"awacs": [
"E_3A"
"E_3A",
"E_2C"
],
"tankers": [
"KC_135",

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -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",

View File

@ -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)