From 9a1b21a2fa6968a558c0e48a7114c49a9ce9c2a9 Mon Sep 17 00:00:00 2001 From: Khopa Date: Fri, 21 May 2021 02:19:52 +0200 Subject: [PATCH] Unit support : PT-76 --- game/db.py | 2 ++ gen/ground_forces/ai_ground_planner_db.py | 1 + resources/factions/insurgents.json | 1 + resources/factions/insurgents_hard.json | 1 + resources/factions/iraq_1991.json | 1 + resources/factions/libya_2011.json | 1 + resources/factions/north_korea_2000.json | 1 + resources/factions/russia_1955.json | 1 + resources/factions/russia_1965.json | 1 + resources/factions/russia_1970_limited_air.json | 1 + resources/factions/russia_1975.json | 1 + resources/factions/syria_1967.json | 1 + resources/factions/syria_1967_with_ww2_weapons.json | 1 + resources/factions/syria_1973.json | 1 + resources/factions/syria_1982.json | 1 + resources/factions/syria_2011.json | 1 + 16 files changed, 17 insertions(+) diff --git a/game/db.py b/game/db.py index ae3d5380..41062262 100644 --- a/game/db.py +++ b/game/db.py @@ -498,6 +498,7 @@ PRICES = { Armor.IFV_BMP_1: 14, Armor.IFV_BMP_2: 16, Armor.IFV_BMP_3: 18, + Armor.LT_PT_76: 9, Armor.ZBD_04A: 12, Armor.ZTZ_96B: 30, Armor.Scout_Cobra: 4, @@ -886,6 +887,7 @@ UNIT_BY_TASK = { Armor.IFV_BMP_3, Armor.IFV_BMP_3, Armor.IFV_BMD_1, + Armor.LT_PT_76, Armor.ZBD_04A, Armor.ZBD_04A, Armor.ZBD_04A, diff --git a/gen/ground_forces/ai_ground_planner_db.py b/gen/ground_forces/ai_ground_planner_db.py index 6c95aa61..4fa1798c 100644 --- a/gen/ground_forces/ai_ground_planner_db.py +++ b/gen/ground_forces/ai_ground_planner_db.py @@ -19,6 +19,7 @@ TYPE_TANKS = [ Armor.MBT_M60A3_Patton, Armor.MBT_Merkava_IV, Armor.ZTZ_96B, + Armor.LT_PT_76, # WW2 Armor.MT_Pz_Kpfw_V_Panther_Ausf_G, Armor.Tk_PzIV_H, diff --git a/resources/factions/insurgents.json b/resources/factions/insurgents.json index 9cbec87b..cbf7b3b3 100644 --- a/resources/factions/insurgents.json +++ b/resources/factions/insurgents.json @@ -9,6 +9,7 @@ "Scout_Cobra", "APC_MTLB", "Scout_BRDM_2", + "LT_PT_76", "SPAAA_ZU_23_2_Insurgent_Mounted_Ural_375" ], "artillery_units": [ diff --git a/resources/factions/insurgents_hard.json b/resources/factions/insurgents_hard.json index b90da386..14825184 100644 --- a/resources/factions/insurgents_hard.json +++ b/resources/factions/insurgents_hard.json @@ -11,6 +11,7 @@ "Scout_BRDM_2", "APC_BTR_80", "APC_BTR_RD", + "LT_PT_76", "IFV_BMP_1", "MBT_T_55", "SPAAA_ZU_23_2_Insurgent_Mounted_Ural_375", diff --git a/resources/factions/iraq_1991.json b/resources/factions/iraq_1991.json index 591b886a..0558dc7a 100644 --- a/resources/factions/iraq_1991.json +++ b/resources/factions/iraq_1991.json @@ -31,6 +31,7 @@ "MBT_T_72B", "APC_BTR_80", "Scout_BRDM_2", + "LT_PT_76", "SPH_2S1_Gvozdika_122mm", "SPAAA_ZSU_57_2", "SPAAA_ZSU_23_4_Shilka_Gun_Dish" diff --git a/resources/factions/libya_2011.json b/resources/factions/libya_2011.json index 0b83dc6e..3e050e76 100644 --- a/resources/factions/libya_2011.json +++ b/resources/factions/libya_2011.json @@ -21,6 +21,7 @@ "Scout_BRDM_2", "MBT_T_72B", "MBT_T_55", + "LT_PT_76", "SPAAA_ZSU_23_4_Shilka_Gun_Dish", "SAM_SA_8_Osa_Gecko_TEL" ], diff --git a/resources/factions/north_korea_2000.json b/resources/factions/north_korea_2000.json index cbd3d040..ffd01032 100644 --- a/resources/factions/north_korea_2000.json +++ b/resources/factions/north_korea_2000.json @@ -25,6 +25,7 @@ "MBT_T_55", "MBT_T_72B", "MBT_T_80U", + "LT_PT_76", "SPAAA_ZSU_57_2", "SAM_SA_9_Strela_1_Gaskin_TEL" ], diff --git a/resources/factions/russia_1955.json b/resources/factions/russia_1955.json index 624daaae..dd34fd26 100644 --- a/resources/factions/russia_1955.json +++ b/resources/factions/russia_1955.json @@ -17,6 +17,7 @@ "Grad_MRL_FDDM__FC", "APC_MTLB", "MBT_T_55", + "LT_PT_76", "SPAAA_ZU_23_2_Mounted_Ural_375", "AAA_8_8cm_Flak_18", "AAA_S_60_57mm" diff --git a/resources/factions/russia_1965.json b/resources/factions/russia_1965.json index 39685e7b..b7b28e60 100644 --- a/resources/factions/russia_1965.json +++ b/resources/factions/russia_1965.json @@ -22,6 +22,7 @@ "APC_BTR_RD", "IFV_BMD_1", "IFV_BMP_1", + "LT_PT_76", "MBT_T_55", "SPAAA_ZU_23_2_Mounted_Ural_375", "SPAAA_ZSU_57_2", diff --git a/resources/factions/russia_1970_limited_air.json b/resources/factions/russia_1970_limited_air.json index 3f8cf0aa..82214183 100644 --- a/resources/factions/russia_1970_limited_air.json +++ b/resources/factions/russia_1970_limited_air.json @@ -14,6 +14,7 @@ "APC_BTR_80", "IFV_BMD_1", "IFV_BMP_1", + "LT_PT_76", "MBT_T_55", "SPAAA_ZSU_57_2" ], diff --git a/resources/factions/russia_1975.json b/resources/factions/russia_1975.json index 6fe0f30c..a98541bb 100644 --- a/resources/factions/russia_1975.json +++ b/resources/factions/russia_1975.json @@ -27,6 +27,7 @@ "APC_BTR_80", "IFV_BMD_1", "IFV_BMP_1", + "LT_PT_76", "MBT_T_55", "SAM_SA_8_Osa_Gecko_TEL" ], diff --git a/resources/factions/syria_1967.json b/resources/factions/syria_1967.json index 5e092ed9..cab0ceb8 100644 --- a/resources/factions/syria_1967.json +++ b/resources/factions/syria_1967.json @@ -20,6 +20,7 @@ "Scout_BRDM_2", "Tk_PzIV_H", "MBT_T_55", + "LT_PT_76", "SPAAA_ZU_23_2_Mounted_Ural_375", "SPAAA_ZSU_57_2", "AAA_S_60_57mm" diff --git a/resources/factions/syria_1967_with_ww2_weapons.json b/resources/factions/syria_1967_with_ww2_weapons.json index cfab65fc..cda98f1d 100644 --- a/resources/factions/syria_1967_with_ww2_weapons.json +++ b/resources/factions/syria_1967_with_ww2_weapons.json @@ -20,6 +20,7 @@ "frontline_units": [ "Scout_BRDM_2", "MBT_T_55", + "LT_PT_76", "Tk_PzIV_H", "SPG_StuG_III_Ausf__G", "SPG_Jagdpanzer_IV", diff --git a/resources/factions/syria_1973.json b/resources/factions/syria_1973.json index 302283fe..f5467de4 100644 --- a/resources/factions/syria_1973.json +++ b/resources/factions/syria_1973.json @@ -20,6 +20,7 @@ "IFV_BMP_1", "APC_MTLB", "MBT_T_55", + "LT_PT_76", "SPAAA_ZU_23_2_Mounted_Ural_375", "SPAAA_ZSU_57_2", "AAA_S_60_57mm" diff --git a/resources/factions/syria_1982.json b/resources/factions/syria_1982.json index d8beda8e..022fe6ea 100644 --- a/resources/factions/syria_1982.json +++ b/resources/factions/syria_1982.json @@ -21,6 +21,7 @@ "IFV_BMP_1", "APC_MTLB", "MBT_T_55", + "LT_PT_76", "MBT_T_72B", "SPAAA_ZU_23_2_Mounted_Ural_375", "SPAAA_ZSU_57_2", diff --git a/resources/factions/syria_2011.json b/resources/factions/syria_2011.json index 3a5a3d21..c5a3e375 100644 --- a/resources/factions/syria_2011.json +++ b/resources/factions/syria_2011.json @@ -27,6 +27,7 @@ "IFV_BMP_2", "APC_BTR_80", "Scout_BRDM_2", + "LT_PT_76", "APC_MTLB", "Scout_Cobra", "MBT_T_55",