From 144cfecc0f1e36682fac3c3f5928688ce645a4cf Mon Sep 17 00:00:00 2001 From: Simon Clark <31387062+SimonC6R@users.noreply.github.com> Date: Mon, 4 Jan 2021 21:04:11 +0000 Subject: [PATCH] Adds the E-2C Hawkeye to the game. (#714) * Adds the E-2C Hawkeye to the game. It wasn't being imported from pydcs, and thus wasn't in the list of AWACS aircraft or prices. Also adds it to the 1985 US Navy list, as that makes sense to do. Updates .gitignore to ignore my VS Code settings file. Addresses Khopa/dcs_liberation#709 --- .gitignore | 1 + game/db.py | 5 ++++- resources/factions/usn_1985.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e53921ce..9f22b322 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ resources/payloads/*.lua venv logs.txt .DS_Store +.vscode/settings.json dist/** a.py resources/tools/a.miz diff --git a/game/db.py b/game/db.py index c8dca74a..7c0d225b 100644 --- a/game/db.py +++ b/game/db.py @@ -40,6 +40,7 @@ from dcs.planes import ( C_101CC, C_130, E_3A, + E_2C, FA_18C_hornet, FW_190A8, FW_190D9, @@ -343,6 +344,7 @@ PRICES = { A_50: 50, KJ_2000: 50, E_3A: 50, + E_2C: 50, C_130: 25, Hercules: 25, @@ -691,7 +693,8 @@ UNIT_BY_TASK = { KC135MPRS, ], AWACS: [ - E_3A, + E_3A, + E_2C, A_50, KJ_2000 ], diff --git a/resources/factions/usn_1985.json b/resources/factions/usn_1985.json index c21cf03c..f6725b56 100644 --- a/resources/factions/usn_1985.json +++ b/resources/factions/usn_1985.json @@ -12,7 +12,7 @@ "AH_1W" ], "awacs": [ - "E_3A" + "E_2C" ], "tankers": [ "S_3B_Tanker"