Skip to content

Commit

Permalink
FA18EFG mod update
Browse files Browse the repository at this point in the history
Support updated to CJS F/A18EFG version 2.2.5.

Adding:
AIM-120D
  • Loading branch information
Chilli935 committed Feb 9, 2024
1 parent 20272df commit 67780ef
Show file tree
Hide file tree
Showing 19 changed files with 2,665 additions and 157 deletions.
6 changes: 4 additions & 2 deletions game/factions/faction.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,10 @@ def apply_mod_settings(self, mod_settings: ModSettings) -> None:
self.remove_aircraft("Su-57")
if not mod_settings.ov10a_bronco:
self.remove_aircraft("Bronco-OV-10A")
if not mod_settings.superhornet:
self.remove_aircraft("Super-Hornet")
if not mod_settings.fa18efg:
self.remove_aircraft("FA_18E")
self.remove_aircraft("FA_18F")
self.remove_aircraft("EA_18G")
# frenchpack
if not mod_settings.frenchpack:
self.remove_vehicle("AMX10RCR")
Expand Down
2 changes: 1 addition & 1 deletion game/theater/start_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ModSettings:
frenchpack: bool = False
high_digit_sams: bool = False
ov10a_bronco: bool = False
superhornet: bool = False
fa18efg: bool = False

def save_player_settings(self) -> None:
"""Saves the player's global settings to the user directory."""
Expand Down
1 change: 1 addition & 0 deletions pydcs_extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from .ov10a import *
from .su57 import *
from .uh60l import *
from .fa18efg import *


def load_mods() -> None:
Expand Down
1 change: 1 addition & 0 deletions pydcs_extensions/fa18efg/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .fa18efg import *
Loading

0 comments on commit 67780ef

Please sign in to comment.