From e4f66ddb54b0b2f514814e661d84bb67bb6eddfa Mon Sep 17 00:00:00 2001 From: Mez Date: Thu, 7 Aug 2025 23:05:53 +0100 Subject: [PATCH] Show anniversary decks in colors mass collection --- colors.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/colors.py b/colors.py index 9cf636e..2be5342 100644 --- a/colors.py +++ b/colors.py @@ -2287,11 +2287,27 @@ def massseriesgen(series,massindex): except: pass content.write("\">") + elif series == "colors universe": + if deck["colour"] == "limited": + content.write(" 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("

") 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("

\n") content.close() footerwrite(thefile)