Added a pydcs extension for the IDF Mod Project F-16I mod version 1.4, utilizing the pylon_injector written for the CJS Superbug mod support. Includes banner by Schmokedpancake.

This commit is contained in:
MetalStormGhost
2022-04-18 16:44:12 +03:00
parent 151cf17e35
commit 4fe0102b7b
8 changed files with 5229 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ from game.dcs.groundunittype import GroundUnitType
from game.dcs.shipunittype import ShipUnitType
from game.armedforces.forcegroup import ForceGroup
from game.dcs.unittype import UnitType
from pydcs_extensions.f16i_idf.f16i_idf import inject_F16I
if TYPE_CHECKING:
from game.theater.start_generator import ModSettings
@@ -355,6 +356,8 @@ class Faction:
self.remove_vehicle("SAM SA-14 Strela-3 manpad")
self.remove_vehicle("SAM SA-24 Igla-S manpad")
self.remove_vehicle("Polyana-D4M1 C2 node")
if mod_settings.f_16_idf:
inject_F16I()
def remove_aircraft(self, name: str) -> None:
for i in self.aircrafts:

View File

@@ -55,6 +55,7 @@ class GeneratorSettings:
@dataclass
class ModSettings:
a4_skyhawk: bool = False
f_16_idf: bool = False
f22_raptor: bool = False
f104_starfighter: bool = False
hercules: bool = False