Improve unit system support in kneeboards.

* Factor out unit systems.
* Add support for more unit systems (nautical and imperial).
* Fuel units support.
* Data for many more aircraft.
This commit is contained in:
bbirchnz
2022-01-13 12:21:06 +11:00
committed by GitHub
parent cd97565cce
commit 4b99ae957e
34 changed files with 262 additions and 44 deletions

View File

@@ -29,3 +29,4 @@ radios:
channels:
type: viggen
namer: viggen
kneeboard_units: "metric"

View File

@@ -17,3 +17,4 @@ role: Fighter
gunfighter: true
variants:
"Bf 109 K-4 Kurf\xFCrst": {}
kneeboard_units: "metric"

View File

@@ -28,3 +28,4 @@ role: Fighter
gunfighter: true
variants:
Fw 190 A-8 Anton: {}
kneeboard_units: "metric"

View File

@@ -17,3 +17,4 @@ role: Fighter
gunfighter: true
variants:
Fw 190 D-9 Dora: {}
kneeboard_units: "metric"

View File

@@ -10,3 +10,4 @@ price: 22
role: Air-Superiority Fighter
variants:
J-11A Flanker-L: {}
kneeboard_units: "metric"

View File

@@ -20,3 +20,4 @@ radios:
# The R-800L1 doesn't have preset channels, and the other radio is for
# communications with FAC and ground units, which don't currently have
# radios assigned, so no channels to configure.
kneeboard_units: "metric"

View File

@@ -12,3 +12,4 @@ role: Light Attack
gunfighter: true
variants:
L-39ZA Albatros: {}
kneeboard_units: "metric"

View File

@@ -19,6 +19,6 @@ manufacturer: Mil
origin: USSR/Russia
price: 14
role: Attack/Transport
metric_kneeboard: true
kneeboard_units: "metric"
variants:
Mi-24P Hind-F: {}

View File

@@ -10,3 +10,4 @@ price: 5
role: Transport/Light Attack
variants:
Mi-8MTV2 Hip: {}
kneeboard_units: "metric"

View File

@@ -21,3 +21,4 @@ variants:
radios:
intra_flight: RSI-6K HF
inter_flight: RSI-6K HF
kneeboard_units: "metric"

View File

@@ -27,3 +27,4 @@ radios:
channels:
type: farmer
namer: single
kneeboard_units: "metric"

View File

@@ -27,3 +27,4 @@ radios:
namer: single
intra_flight_radio_index: 1
inter_flight_radio_index: 1
kneeboard_units: "metric"

View File

@@ -28,3 +28,4 @@ role: Multirole Fighter
max_range: 150
variants:
MiG-29A Fulcrum-A: {}
kneeboard_units: "metric"

View File

@@ -28,3 +28,4 @@ role: Multirole Fighter
max_range: 150
variants:
MiG-29G Fulcrum-A: {}
kneeboard_units: "metric"

View File

@@ -28,3 +28,4 @@ role: Multirole Fighter
max_range: 150
variants:
MiG-29S Fulcrum-C: {}
kneeboard_units: "metric"

View File

@@ -6,3 +6,4 @@ price: 6
role: Light Bomber, Fighter Bomber, Night Fighter, Maritime Strike Aircraft, Photo Recon Aircraft
variants:
MosquitoFBMkVI: {}
kneeboard_units: "imperial"

View File

@@ -29,3 +29,4 @@ radios:
channels:
type: SCR-522
namer: SCR-522
kneeboard_units: "imperial"

View File

@@ -29,3 +29,4 @@ radios:
channels:
type: SCR-522
namer: SCR-522
kneeboard_units: "imperial"

View File

@@ -28,4 +28,5 @@ radios:
inter_flight: SCR522
channels:
type: SCR-522
namer: SCR-522
namer: SCR-522
kneeboard_units: "imperial"

View File

@@ -30,3 +30,4 @@ radios:
channels:
type: SCR-522
namer: SCR-522
kneeboard_units: "imperial"

View File

@@ -30,3 +30,4 @@ radios:
channels:
type: SCR-522
namer: SCR-522
kneeboard_units: "imperial"

View File

@@ -15,3 +15,4 @@ price: 5
role: Light Attack
variants:
SA 342L Gazelle: {}
kneeboard_units: "metric"

View File

@@ -18,3 +18,4 @@ variants:
introduced: 1974
manufacturer: Westland
SA 342M Gazelle: {}
kneeboard_units: "metric"

View File

@@ -1,3 +1,4 @@
price: 4
variants:
SA342Minigun: null
kneeboard_units: "metric"

View File

@@ -15,3 +15,4 @@ price: 8
role: Light Attack
variants:
SA 342M Gazelle Mistral: {}
kneeboard_units: "metric"

View File

@@ -41,3 +41,4 @@ role: Fighter
gunfighter: true
variants:
Spitfire LF Mk IX: {}
kneeboard_units: "imperial"

View File

@@ -41,3 +41,4 @@ role: Fighter
gunfighter: true
variants:
Spitfire LF Mk IX (Clipped Wings): {}
kneeboard_units: "imperial"

View File

@@ -14,3 +14,4 @@ role: Close Air Support/Attack
max_range: 200
variants:
Su-25 Frogfoot: {}
kneeboard_units: "metric"

View File

@@ -14,3 +14,4 @@ role: Close Air Support/Attack
max_range: 200
variants:
Su-25T Frogfoot: {}
kneeboard_units: "metric"

View File

@@ -17,3 +17,4 @@ role: Air-Superiority Fighter
max_range: 300
variants:
Su-27 Flanker-B: {}
kneeboard_units: "metric"

View File

@@ -29,3 +29,4 @@ variants:
origin: China
role: Carrier-based Multirole Fighter
Su-33 Flanker-D: {}
kneeboard_units: "metric"