mirror of
https://github.com/aclist/dztui.git
synced 2026-08-28 18:57:12 +02:00
feat: add badlands string support
This commit is contained in:
parent
33843becae
commit
74ecc30692
@ -346,10 +346,15 @@ def get_details(record: Record) -> Details:
|
||||
|
||||
try:
|
||||
dlc = rules.dlc_flags
|
||||
if dlc == 0:
|
||||
dlc = strings.none
|
||||
if dlc == 2:
|
||||
dlc = strings.dlc_frostline
|
||||
match dlc:
|
||||
case 0:
|
||||
dlc = strings.none
|
||||
case 2:
|
||||
dlc = strings.dlc_frostline
|
||||
case 3:
|
||||
dlc = strings.dlc_badlands
|
||||
case _:
|
||||
dlc = strings.unspecified
|
||||
except AttributeError:
|
||||
dlc = strings.unspecified
|
||||
|
||||
|
||||
@ -173,6 +173,7 @@ unspecified = "not specified"
|
||||
|
||||
# DLC
|
||||
dlc_frostline = "Frostline"
|
||||
dlc_badlands = "Badlands"
|
||||
|
||||
# platform
|
||||
windows = "Windows"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user