Spawn idle aircraft at helipads

Applicable for helicopters at airbases & both helicopters and LHA-capable aircraft at FOBs
This commit is contained in:
Raffson
2023-07-09 15:12:20 +02:00
parent 737df98988
commit e86fc60b41
4 changed files with 45 additions and 16 deletions

View File

@@ -172,9 +172,13 @@ class Flight(SidcDescribable, RadioFrequencyContainer, TacanContainer):
def unit_type(self) -> AircraftType:
return self.squadron.aircraft
@property
def is_lha(self) -> bool:
return self.unit_type.lha_capable
@property
def is_helo(self) -> bool:
return self.unit_type.dcs_unit_type.helicopter
return self.unit_type.helicopter
@property
def is_hercules(self) -> bool: