Skip to content

Commit 31eda7a

Browse files
authored
Merge pull request #682 from Senryoku/OTJ
Outlaws of Thunder Junction
2 parents d0b0159 + 6188266 commit 31eda7a

21 files changed

+22181
-6222
lines changed

ManageCardData.py

+19-1
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,24 @@ def addCard(c):
469469
except:
470470
selection['in_booster'] = False
471471

472+
if c['set'] == "otj":
473+
try:
474+
selection['in_booster'] = int(c['collector_number']) > 0 and int(c['collector_number']) < 272
475+
except:
476+
selection['in_booster'] = False
477+
478+
if c['set'] == "otp":
479+
try:
480+
selection['in_booster'] = int(c['collector_number']) > 0 and int(c['collector_number']) <= 65
481+
except:
482+
selection['in_booster'] = False
483+
484+
if c['set'] == "big":
485+
try:
486+
selection['in_booster'] = int(c['collector_number']) > 0 and int(c['collector_number']) <= 30
487+
except:
488+
selection['in_booster'] = False
489+
472490
if c['layout'] == "split":
473491
if 'Aftermath' in c['keywords']:
474492
selection['layout'] = 'split-left'
@@ -867,6 +885,6 @@ def getIcon(mtgset, icon_path):
867885
with open("src/data/constants.json", 'r', encoding="utf8") as constantsFile:
868886
constants = json.loads(constantsFile.read())
869887
constants['PrimarySets'] = [
870-
s for s in PrimarySets if s in setinfos and s not in subsets and s not in ["ren", "rin", "a22", "y22", "j22", "sis", "ltc", "who", "wot", "blb", "acr", "mh3", "otj"]] # Exclude some codes that are actually part of larger sets (tsb, fmb1, h1r... see subsets), or aren't out yet
888+
s for s in PrimarySets if s in setinfos and s not in subsets and s not in ["ren", "rin", "a22", "y22", "j22", "sis", "ltc", "who", "wot", "blb", "acr", "mh3"]] # Exclude some codes that are actually part of larger sets (tsb, fmb1, h1r... see subsets), or aren't out yet
871889
with open("src/data/constants.json", 'w', encoding="utf8") as constantsFile:
872890
json.dump(constants, constantsFile, ensure_ascii=False, indent=4)

client/public/img/sets/otc.svg

+1
Loading

client/public/img/sets/otj.svg

+1-1
Loading

client/src/App.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1796,8 +1796,8 @@
17961796
<a href="/draftqueue">
17971797
<div class="draft-queue-banner">
17981798
<img
1799-
src="./assets/img/mkm_draft_queue_banner.webp"
1800-
alt="Practice Murders at Karlov Manor draft with human players right now in the Draft Queue!"
1799+
src="./assets/img/otj_draft_queue_banner.webp"
1800+
alt="Practice Outlaws of Thunder Junction draft with human players right now in the Draft Queue!"
18011801
width="500"
18021802
height="260"
18031803
/>

client/src/components/News.vue

+5-19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<template>
22
<div class="welcome-section">
33
<div class="news">
4-
<em>March, 2024</em>
4+
<em>April 4, 2024</em>
55
<ul>
6+
<li>
7+
<img src="img/sets/otj.svg" class="set-icon" style="--invertedness: 100%" alt="OTJ" />
8+
Outlaws of Thunder Junction is now available!
9+
</li>
610
<li>New solo game mode: Supreme Draft!<br />Pick 2 cards from each booster and discard the rest.</li>
711
<li>
812
<img
@@ -57,24 +61,6 @@
5761
<li>Fixed Arena versions of cards apppearing in Khans of Tarkir boosters.</li>
5862
</ul>
5963
</div>
60-
<div class="news">
61-
<em>December 6, 2023</em>
62-
<ul>
63-
<li>
64-
Added a
65-
<a href="/draftqueue"
66-
>Draft Queue for
67-
<img src="img/sets/ktk.svg" class="set-icon" style="--invertedness: 100%" alt="KTK" /> Khans of
68-
Tarkir</a
69-
>
70-
to accompany its release on MTGA!
71-
</li>
72-
<li>Adjusted mythics/rares ratio depending on the set.</li>
73-
<li>Correctly escape special characters, like quotes, in card names for MTGO export.</li>
74-
<li>Fixed session collection download.</li>
75-
<li>Usual minor tweaks</li>
76-
</ul>
77-
</div>
7864
</div>
7965
</template>
8066

client/src/data/MTGAAlternates.json

+3
Original file line numberDiff line numberDiff line change
@@ -17628,6 +17628,9 @@
1762817628
"Orthion, Hero of Lavabrink": [
1762917629
85118
1763017630
],
17631+
"A-Geological Appraiser": [
17632+
91484
17633+
],
1763117634
"Westfold Rider": [
1763217635
84729
1763317636
],

0 commit comments

Comments
 (0)