mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator
This commit is contained in:
@@ -96,6 +96,7 @@ class ModSettings:
|
||||
ov10a_bronco: bool = False
|
||||
spanishnavypack: bool = False
|
||||
swedishmilitaryassetspack: bool = False
|
||||
coldwarassets: bool = False
|
||||
SWPack: bool = False
|
||||
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@ class NavalGroundObject(TheaterGroundObject, ABC):
|
||||
|
||||
@property
|
||||
def purchasable(self) -> bool:
|
||||
return False
|
||||
return self.control_point.coalition.game.turn == 0
|
||||
|
||||
@property
|
||||
def is_iads(self) -> bool:
|
||||
@@ -460,7 +460,7 @@ class MissileSiteGroundObject(TheaterGroundObject):
|
||||
|
||||
@property
|
||||
def purchasable(self) -> bool:
|
||||
return False
|
||||
return self.control_point.coalition.game.turn == 0
|
||||
|
||||
@property
|
||||
def should_head_to_conflict(self) -> bool:
|
||||
@@ -501,7 +501,7 @@ class CoastalSiteGroundObject(TheaterGroundObject):
|
||||
|
||||
@property
|
||||
def purchasable(self) -> bool:
|
||||
return False
|
||||
return self.control_point.coalition.game.turn == 0
|
||||
|
||||
@property
|
||||
def should_head_to_conflict(self) -> bool:
|
||||
|
||||
@@ -18,6 +18,7 @@ from dcs.terrain import (
|
||||
TheChannel,
|
||||
Sinai,
|
||||
Kola,
|
||||
Afghanistan,
|
||||
)
|
||||
|
||||
from .conflicttheater import ConflictTheater
|
||||
@@ -36,6 +37,7 @@ ALL_TERRAINS = [
|
||||
Syria(),
|
||||
Sinai(),
|
||||
Kola(),
|
||||
Afghanistan(),
|
||||
]
|
||||
|
||||
TERRAINS_BY_NAME = {t.name: t for t in ALL_TERRAINS}
|
||||
|
||||
Reference in New Issue
Block a user