mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
@@ -431,6 +431,14 @@ class Faction:
|
||||
self.remove_aircraft("FA-18E")
|
||||
self.remove_aircraft("FA-18F")
|
||||
self.remove_aircraft("EA-18G")
|
||||
# spanish naval assets pack
|
||||
if not mod_settings.spanishnavypack:
|
||||
self.remove_ship("L61")
|
||||
self.remove_ship("F100")
|
||||
self.remove_ship("F105")
|
||||
self.remove_ship("L52")
|
||||
self.remove_ship("L02")
|
||||
self.remove_ship("DDG39")
|
||||
# swedish military assets pack
|
||||
if not mod_settings.swedishmilitaryassetspack:
|
||||
self.remove_vehicle("BV410_RBS70")
|
||||
|
||||
@@ -41,7 +41,6 @@ from dcs.ships import (
|
||||
Hms_invincible,
|
||||
)
|
||||
from dcs.terrain.terrain import Airport, ParkingSlot
|
||||
from dcs.triggers import TriggerZone
|
||||
from dcs.unitgroup import ShipGroup, StaticGroup
|
||||
from dcs.unittype import ShipType
|
||||
|
||||
@@ -61,6 +60,7 @@ from game.sidc import (
|
||||
)
|
||||
from game.theater.presetlocation import PresetLocation
|
||||
from game.utils import Distance, Heading, meters
|
||||
from pydcs_extensions import L02, L52, L61
|
||||
from .base import Base
|
||||
from .frontline import FrontLine
|
||||
from .interfaces.CTLD import CTLD
|
||||
@@ -1232,6 +1232,9 @@ class NavalControlPoint(
|
||||
KUZNECOW,
|
||||
Type_071,
|
||||
Hms_invincible,
|
||||
L02,
|
||||
L52,
|
||||
L61,
|
||||
]:
|
||||
return True
|
||||
return False
|
||||
|
||||
@@ -73,6 +73,7 @@ class ModSettings:
|
||||
frenchpack: bool = False
|
||||
high_digit_sams: bool = False
|
||||
ov10a_bronco: bool = False
|
||||
spanishnavypack: bool = False
|
||||
swedishmilitaryassetspack: bool = False
|
||||
SWPack: bool = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user