mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
@@ -200,6 +200,10 @@ class AircraftType(UnitType[Type[FlyingType]]):
|
||||
def helicopter(self) -> bool:
|
||||
return self.dcs_unit_type.helicopter
|
||||
|
||||
@property
|
||||
def max_fuel(self) -> float:
|
||||
return self.dcs_unit_type.fuel_max
|
||||
|
||||
@cached_property
|
||||
def max_speed(self) -> Speed:
|
||||
return kph(self.dcs_unit_type.max_speed)
|
||||
|
||||
Reference in New Issue
Block a user