Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Promo set and sorting #189

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 145 additions & 3 deletions fowsim/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,21 @@
{'code': 'MP02', 'name': 'Masterpiece Collection 02 "Fates Reunited!"'}
]
},
{
'name': 'Promo',
'sets': [
{'code': 'WL', 'name': "Wanderer League"},
{'code': 'RL', 'name': "Ruler League"},
{'code': 'World', 'name': "World's Rewards"},
{'code': 'WPG', 'name': "World Grand Prix"},
{'code': 'WPR', 'name': "Will Power Rewards"},
{'code': 'BaB', 'name': "Buy a Box"},
{'code': 'Pre', 'name': "Pre-release Party"},
{'code': 'PR2015', 'name': "2015 Promo"},
{'code': 'Souvenir', 'name': "Souvenir"},
{'code': 'Judge', 'name': "Judge"}
]
},
]
}

Expand Down Expand Up @@ -535,6 +550,16 @@

SETS_IN_ORDER = [
'PR', # Promos
'PR2015',
'WL',
'RL',
'World',
'WGP',
'WRP',
'BaB',
'Pre',
'Souvenir',
'Judge',
'BSR', # Basic Rulers
'CMF',
'TAT',
Expand All @@ -554,37 +579,62 @@
'SDL4',
'SDL5',
'CFC',
'L1 Buy a Box',
'L1 Pre-release Party',
'LEL',
'L2 Buy a Box',
'L2 Pre-release Party',
'VIN003',
'RDE',
'L3 Buy a Box',
'L3 Pre-release Party',
'ENW',
'L4 Buy a Box',
'L4 Pre-release Party',
'SDR1',
'SDR2',
'SDR3',
'SDR4',
'SDR5',
'ACN',
'R1 Buy a Box',
'R1 Pre-release Party',
'ADK',
'R2 Buy a Box',
'R2 Pre-release Party',
'TSW',
'R3 Buy a Box',
'R3 Pre-release Party',
'SDR6',
'WOM',
'R4 Buy a Box',
'R4 Pre-release Party',
'SDV1',
'SDV2',
'SDV3',
'SDV4',
'SDV5',
'NDR',
'AO2 Buy a BoxJ',
'V1 Buy a Box',
'V1 Pre-release Party',
'SNV',
'AOA V3 Buy 2',
'V2 Buy a Box',
'V2 Pre-release Party',
'AOA V3 Buy 2',
'AOA',
'V3 Buy a Box',
'V3 Buy 2 Boxes',
'V3 Pre-release Party',
'DBV',
'V4 Buy a Box',
'V4 Pre-release Party',
'SDAO1',
'AO1 Buy a Box',
'AO1 Buy a BoxJ',
'AO1',
'SDAO2',
'AO2 Buy a Box',
'AO2 Buy a BoxJ',
'AO2',
'GITS2045SD',
'GITS2045',
Expand All @@ -596,11 +646,21 @@
'PofA',
'PofAMS',
'EDL',
'S1 Buy a Box',
'S1 Pre-release Party',
'MSW',
'S2 Buy a Box',
'S2 Pre-release Party',
'ROL',
'ADW',
'S3 Buy a Box',
'S3 Pre-release Party',
'TST',
'S4 Buy a Box',
'S4 Pre-release Party',
'DSD',
'D1 Buy a Box',
'D1 Prerelease Party',
'GOG',
'D2 Buy a Box',
'D2 Prerelease Party',
Expand Down Expand Up @@ -633,7 +693,7 @@
'TTT',
'T1 Buy a Box',
'MC04',
'TSR',
'TSR',
'T2 Buy a Box',
'MC05',
'ABC-SD01',
Expand Down Expand Up @@ -692,6 +752,88 @@
'BFA':[
'FOWMOVIE'
],
'WL':[
'BE'
],
'BaB':[
'L1 Buy a Box',
'L2 Buy a Box',
'L3 Buy a Box',
'L4 Buy a Box',
'R1 Buy a Box',
'R2 Buy a Box',
'R3 Buy a Box',
'R4 Buy a Box',
'V1 Buy a Box',
'V2 Buy a Box',
'V3 Buy a Box',
'V3 Buy 2 Boxes',
'V4 Buy a Box',
'AOA V3 Buy 2',
'AO1 Buy a Box',
'AO1 Buy a BoxJ',
'AO2 Buy a Box',
'AO2 Buy a BoxJ',
'AO3 Buy a Box',
'AO3 Buy a BoxJ',
'AO4 Buy a Box',
'AO4 Buy a BoxJ',
'S1 Buy a Box',
'S2 Buy a Box',
'S3 Buy a Box',
'S4 Buy a Box',
'D1 Buy a Box',
'D2 Buy a Box',
'D2 Buy a Box',
'D3 Buy a Box',
'H2 Buy a Box',
'H3 Buy a Box',
'H4 Buy a Box',
'H5 Buy a Box',
'MP01-ACV',
'T1 Buy a Box',
'T2 Buy a Box',
'T3 Buy a Box',
'MP02-BAB',
],
'Pre':[
'L1 Pre-release Party',
'L2 Pre-release Party',
'L3 Pre-release Party',
'L4 Pre-release Party',
'R1 Pre-release Party',
'R2 Pre-release Party',
'R3 Pre-release Party',
'R4 Pre-release Party',
'V1 Pre-release Party',
'V2 Pre-release Party',
'V3 Pre-release Party',
'V4 Pre-release Party',
'AO1 Pre-release Party',
'AO1 Pre-release PartyJ',
'AO2 Pre-release Party',
'AO2 Pre-release PartyJ',
'AO3 Pre-release Party',
'AO3 Pre-release PartyJ',
'AO4 Pre-release Party',
'AO4 Pre-release PartyJ',
'S1 Pre-release Party',
'S2 Pre-release Party',
'S3 Pre-release Party',
'S4 Pre-release Party',
'D1 Pre-release Party',
'D2 Pre-release Party',
'D2 Pre-release Party',
'D3 Pre-release Party',
'H2 Pre-release Party',
'H3 Pre-release Party',
'H4 Pre-release Party',
'H5 Pre-release Party',
'H6 Pre-release Party',
'T1 Pre-release Party',
'T2 Pre-release Party',
'T3 Pre-release Party',
],
'AOA': [
'AOA V3 Buy 2'
],
Expand Down