mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
MiG-31BM by szcz mod support (#496)
* Add files via upload * Add files via upload * Update start_generator.py * Update faction.py * Update QNewGameWizard.py * Update QGeneratorSettings.py * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update MiG-31BM.lua * Added SEAD Escort to MiG-31BM.yaml * mig31bm.py fixed weapon injection * Update mig31bm.py formatted black * Update faction.py reformatted black * Update start_generator.py reformatted black * Update __init__.py * Update QGeneratorSettings.py reformatted black * added support for MiG-31BM mod * Commit changes which can't seem to be discarded... * Remove (presumably) accidentally copied file * Remove unused imports --------- Co-authored-by: Raffson <Raffson@users.noreply.github.com>
This commit is contained in:
@@ -862,6 +862,9 @@ class Faction:
|
||||
# CLP E7a Wedgetail Mod
|
||||
if not mod_settings.e7a_wedgetail:
|
||||
self.remove_aircraft("CLP_E7a")
|
||||
# MiG-31BM
|
||||
if not mod_settings.mig31bm_foxhound:
|
||||
self.remove_aircraft("MiG-31BM")
|
||||
|
||||
def remove_aircraft(self, name: str) -> None:
|
||||
for aircraft_set in [self.aircraft, self.awacs, self.tankers]:
|
||||
|
||||
@@ -107,6 +107,7 @@ class ModSettings:
|
||||
russianmilitaryassetspack: bool = False
|
||||
usamilitaryassetspack: bool = False
|
||||
ukrainemilitaryassetspack: bool = False
|
||||
mig31bm_foxhound: bool = False
|
||||
|
||||
|
||||
class GameGenerator:
|
||||
|
||||
Reference in New Issue
Block a user