mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add windsocks to FARPs, kneeboard improvements.
Kneeboard improvements: * Optional (aircraft specific) metric speeds/distances/altitudes. * Heading to waypoint. Fuel still needs to be converted to metric, but good enough for now. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/915
This commit is contained in:
@@ -154,6 +154,9 @@ class AircraftType(UnitType[Type[FlyingType]]):
|
||||
# main weapon. It'll RTB when it doesn't have gun ammo left.
|
||||
gunfighter: bool
|
||||
|
||||
# If true, kneeboards will be generated in metric units
|
||||
metric_kneeboard: bool
|
||||
|
||||
max_group_size: int
|
||||
patrol_altitude: Optional[Distance]
|
||||
patrol_speed: Optional[Speed]
|
||||
@@ -395,4 +398,5 @@ class AircraftType(UnitType[Type[FlyingType]]):
|
||||
intra_flight_radio=radio_config.intra_flight,
|
||||
channel_allocator=radio_config.channel_allocator,
|
||||
channel_namer=radio_config.channel_namer,
|
||||
metric_kneeboard=data.get("metric_kneeboard", False),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user