-
Notifications
You must be signed in to change notification settings - Fork 3
/
addon-config.nas
60 lines (57 loc) · 1.88 KB
/
addon-config.nas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# Addon Nasal file for additional configs.
# We have it outsourced, in order to separate the main code from
# internal config logic (the main code remains cleaner).
#
var LANDING_RANK_CFG = props.Node.new({
# Table for guessing landing rates from optionally set ICAO data in aircraft.xml
# in "/aircraft/icao/wake-turbulence-category" (J, H, M, L)
# see https://skybrary.aero/articles/icao-wake-turbulence-category
"icao-wake-turbulence-category": {
L: {
ranks: {
"bad": {"min-fpm":300},
"acceptable": {"min-fpm":200},
"good": {"min-fpm":100},
"very-good": {"min-fpm":50}
}
},
# TODO: need better data for these!
M: {
ranks: {
"bad": {"min-fpm":400},
"acceptable": {"min-fpm":300},
"good": {"min-fpm":200},
"very-good": {"min-fpm":100}
}
},
H: {
ranks: {
"bad": {"min-fpm":600},
"acceptable": {"min-fpm":400},
"good": {"min-fpm":200},
"very-good": {"min-fpm":100}
}
},
J: {
ranks: {
"bad": {"min-fpm":600},
"acceptable": {"min-fpm":400},
"good": {"min-fpm":200},
"very-good": {"min-fpm":100}
}
}
},
# Table for specific Aircraft types in "/sim/aircraft"
# (this is an addon-side alternative for addon-hints from the aircraft)
"aircraft-types": {
"ask21-jsb": {
ranks: {
"bad": {"min-fpm":120},
"acceptable": {"min-fpm":80},
"good": {"min-fpm":50},
"very-good": {"min-fpm":35}
}
}
},
});