Super Hornet mod support (#3331)

F/A-18E and F/A-18F are added to their factions, Growler is currently in
its respective factions but was released in 2009, this will be changed
if needed.
This commit is contained in:
Chilli935
2024-01-28 00:14:57 +01:00
committed by GitHub
parent 5af4e56f30
commit e1d443b697
14 changed files with 66 additions and 0 deletions

View File

@@ -300,6 +300,8 @@ class Faction:
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")
# frenchpack
if not mod_settings.frenchpack:
self.remove_vehicle("AMX10RCR")

View File

@@ -66,6 +66,7 @@ class ModSettings:
frenchpack: bool = False
high_digit_sams: bool = False
ov10a_bronco: bool = False
superhornet: bool = False
def save_player_settings(self) -> None:
"""Saves the player's global settings to the user directory."""