Show anniversary decks in colors mass collection
This commit is contained in:
parent
ab0c692141
commit
e4f66ddb54
1 changed files with 16 additions and 0 deletions
16
colors.py
16
colors.py
|
@ -2287,11 +2287,27 @@ def massseriesgen(series,massindex):
|
|||
except:
|
||||
pass
|
||||
content.write("\">")
|
||||
elif series == "colors universe":
|
||||
if deck["colour"] == "limited":
|
||||
content.write("<img src=\"")
|
||||
if len(variables.subfolder) > 0:
|
||||
content.write("/" + variables.subfolder)
|
||||
content.write("/decks/" + deck["name"] + "/master.gif\" title=\"mastered " + deck["name"])
|
||||
try:
|
||||
if deck["name"] in variables.firstmasteries:
|
||||
content.write(" (first)\" class=\"first")
|
||||
except:
|
||||
pass
|
||||
content.write("\">")
|
||||
content.write("</p><p>")
|
||||
for card in cardlist:
|
||||
if series in card["mass"]:
|
||||
if card["dupe"] == False:
|
||||
content.write(printcard(card))
|
||||
elif series == "colors universe":
|
||||
if card["colour"] == "limited":
|
||||
if card["dupe"] == False:
|
||||
content.write(printcard(card))
|
||||
content.write("</p>\n")
|
||||
content.close()
|
||||
footerwrite(thefile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue