Skip to content

Commit

Permalink
Change: add constants for FRAX cargo classes
Browse files Browse the repository at this point in the history
  • Loading branch information
andythenorth committed Nov 23, 2024
1 parent 166ea00 commit 74f696e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nml/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,22 @@ def constant_number(name, info, pos):
"CC_EXPRESS" : 2,
"CC_ARMOURED" : 3,
"CC_BULK" : 4,
"CC_OPEN_BULK" : 4, # FRAX

Check failure on line 53 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_PIECE_GOODS" : 5,
"CC_LIQUID" : 6,
"CC_LIQUID_BULK" : 6, # FRAX

Check failure on line 56 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_REFRIGERATED" : 7,
"CC_HAZARDOUS" : 8,
"CC_GAS_BULK" : 8, # FRAX

Check failure on line 59 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_COVERED" : 9,
"CC_COVERED_BULK" : 9, # FRAX

Check failure on line 61 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_OVERSIZED" : 10,
"CC_FLATBED" : 10, # FRAX

Check failure on line 63 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_POWDERIZED" : 11,
"CC_POWDER_BULK" : 11, # FRAX

Check failure on line 65 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_NON_POURABLE" : 12,
"CC_NEO_BULK" : 12,
"CC_WEIRD" : 12, # FRAX

Check failure on line 68 in nml/global_constants.py

View workflow job for this annotation

GitHub Actions / Flake8 / Flake8

at least two spaces before inline comment
"CC_SPECIAL" : 15,
"NO_CARGO_CLASS" : 0,
"ALL_NORMAL_CARGO_CLASSES" : 0x1FFF,
Expand Down

0 comments on commit 74f696e

Please sign in to comment.