Skip to content

Commit

Permalink
Change: extend DCxx string range up to FFFF
Browse files Browse the repository at this point in the history
  • Loading branch information
glx22 committed Jun 28, 2023
1 parent 6d77ab4 commit e44e679
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nml/actions/action4.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ def skip_action9(self):
0xD0: {"random_id": True, "total": 0x400, "ids": list(range(0xD3FF, 0xCFFF, -1))},
# Misc. persistent text ids, used to set properties.
# Use Ids DC00..DCFF first to keep compatibility with older versions of OTTD.
0xDC: {"random_id": True, "total": 0x800, "ids": list(range(0xDBFF, 0xD7FF, -1)) + list(range(0xDFFF, 0xDBFF, -1))},
0xDC: {
"random_id": True,
"total": 0x2800,
"ids": list(range(0xFFFF, 0xDFFF, -1)) + list(range(0xDBFF, 0xD7FF, -1)) + list(range(0xDFFF, 0xDBFF, -1)),
},
}

# Mapping of string identifiers to D0xx/DCxx text ids
Expand Down

0 comments on commit e44e679

Please sign in to comment.