mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user