CurrentHill Russian Military Assets Pack (#448)

This commit is contained in:
Druss99
2025-01-07 14:54:50 -05:00
committed by GitHub
parent a10b94dcee
commit f07cc83c5b
82 changed files with 2827 additions and 1 deletions

View File

@@ -222,6 +222,11 @@ def load_aircraft_icons():
AIRCRAFT_ICONS["F-5E-3_FC"] = AIRCRAFT_ICONS["F-5E-3"]
AIRCRAFT_ICONS["F-86F_FC"] = AIRCRAFT_ICONS["F-86F Sabre"]
AIRCRAFT_ICONS["MiG-15bis_FC"] = AIRCRAFT_ICONS["MiG-15bis"]
AIRCRAFT_ICONS["CH_Ka52"] = AIRCRAFT_ICONS["CH_K"]
AIRCRAFT_ICONS["CH_Ka52K"] = AIRCRAFT_ICONS["CH_Ka"]
AIRCRAFT_ICONS["CH_Mi28N"] = AIRCRAFT_ICONS["CH_Mi"]
AIRCRAFT_ICONS["CH_Tu-95MSM"] = AIRCRAFT_ICONS["CH_Tu-95"]
AIRCRAFT_ICONS["CH_Tu-160M2"] = AIRCRAFT_ICONS["CH_Tu-16"]
def load_vehicle_icons():

View File

@@ -125,6 +125,7 @@ class NewGameWizard(QtWidgets.QWizard):
SWPack=self.field("SWPack"),
vietnamwarvessels=self.field("vietnamwarvessels"),
chinesemilitaryassetspack=self.field("chinesemilitaryassetspack"),
russianmilitaryassetspack=self.field("russianmilitaryassetspack"),
)
blue_faction = self.faction_selection_page.selected_blue_faction

View File

@@ -162,6 +162,8 @@ class GeneratorOptions(QtWidgets.QWizardPage):
self.registerField("vietnamwarvessels", self.vietnamwarvessels)
self.chinesemilitaryassetspack = QtWidgets.QCheckBox()
self.registerField("chinesemilitaryassetspack", self.chinesemilitaryassetspack)
self.russianmilitaryassetspack = QtWidgets.QCheckBox()
self.registerField("russianmilitaryassetspack", self.russianmilitaryassetspack)
modHelpText = QtWidgets.QLabel(
"<p>Select the mods you have installed. If your chosen factions support them, you'll be able to use these mods in your campaign.</p>"
@@ -181,6 +183,10 @@ class GeneratorOptions(QtWidgets.QWizardPage):
"CurrentHill Chinese Military Assets pack (1.1.4)",
self.chinesemilitaryassetspack,
),
(
"CurrentHill Russian Military Assets pack (1.2.1)",
self.russianmilitaryassetspack,
),
(
"CurrentHill Swedish Military Assets pack (1.10)",
self.swedishmilitaryassetspack,
@@ -286,3 +292,6 @@ class GeneratorOptions(QtWidgets.QWizardPage):
self.chinesemilitaryassetspack.setChecked(
s.get("chinesemilitaryassetspack", False)
)
self.russianmilitaryassetspack.setChecked(
s.get("russianmilitaryassetspack", False)
)