Skip to content

Commit 900dab2

Browse files
authored
Add: FEAT_AIRCRAFT flight_state variable (varE2) (#391)
1 parent 2bd1297 commit 900dab2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nml/actions/action2var_variables.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ def unsigned_tile_offset(name, args, pos, info):
212212
'max_speed' : {'var': 0x98, 'start': 0, 'size': 16, 'value_function': value_mul_div(0x3939, 0x1000)},
213213
'current_speed' : {'var': 0xB4, 'start': 0, 'size': 16, 'value_function': value_mul_div(0x3939, 0x1000)},
214214
'current_max_speed' : {'var': 0x4C, 'start': 0, 'size': 16, 'value_function': value_mul_div(0x3939, 0x1000)},
215+
'flight_state' : {'var': 0xE2, 'start': 0, 'size': 8},
215216
'vehicle_is_in_depot' : {'var': 0xE6, 'start': 0, 'size': 8, 'value_function': value_equals(0)},
216217
}
217218

0 commit comments

Comments
 (0)