Skip to content

Commit

Permalink
FA18EFG mod support Patch 4 (#3340)
Browse files Browse the repository at this point in the history
- Corrected banner file types.
- Corrected australia_2005.yaml and usn_2005.yaml
- Added australia_2009.yaml and usn_2009.yaml
  • Loading branch information
Chilli935 committed Mar 21, 2024
1 parent 63702f8 commit 88ebb8b
Show file tree
Hide file tree
Showing 29 changed files with 2,850 additions and 69 deletions.
7 changes: 5 additions & 2 deletions game/factions/faction.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,11 @@ 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 88ebb8b

Please sign in to comment.