Skip to content

Commit

Permalink
Change: add vehicle 'refit' callback (cb 0x163)
Browse files Browse the repository at this point in the history
  • Loading branch information
andythenorth committed Nov 17, 2024
1 parent 936758e commit b8b7da5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nml/actions/action3_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
'sound_effect' : {'type': 'cb', 'num': 0x33, 'flag_bit': 7},
'refit_cost' : {'type': 'cb', 'num': 0x15E, 'purchase': 1},
'name' : {'type': 'cb', 'num': 0x161, 'flag_bit': 8, 'purchase': 2},
'refit' : {'type': 'cb', 'num': 0x163, "purchase": 2},
}

# Function to convert vehicle length to the actual property value, which is (8 - length)
Expand Down

0 comments on commit b8b7da5

Please sign in to comment.