Sync with Cajun-Style-Temples, part 2
Add Old Magic Logos to Packs Add Alias blends to Adventure Add Ancestral Generic to Devoid Add Vorthos Box to Future Fix Split-Fusable border and second face watermarks Add Symbol Extractor Update namechecker
This commit is contained in:
@@ -37,15 +37,19 @@ script:
|
||||
# Because MSE gets mad when there are quotation marks in the card list, remove them for comparison.
|
||||
quote_filter := replace@(match:"”", replace:"")+
|
||||
replace@(match:"“", replace:"")+
|
||||
replace@(match:"’", replace:"'")
|
||||
replace@(match:"[[.quotation-mark.]]", replace:"")
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
# Spacer because long blocks of code with lots of card names are long.
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
matches_name := { to_string(quote_filter(card.name)) } + match@(match: "^{name_list()}$")
|
||||
matches_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "^{name_list()}$")
|
||||
|
||||
near_matches_name := { to_string(quote_filter(card.name)) } + match@(match: "^{near_name_list()}$")
|
||||
near_matches_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "^{near_name_list()}$")
|
||||
|
||||
art_check := { options.check_for_artists and (card.illustrator == "" or card.illustrator == "([ ]+|[Uu]nknown|[?]+)")}
|
||||
art_check_2 := { card.name_2 != "" and options.check_for_artists and (card.illustrator_2 == "" or card.illustrator_2 == "([ ]+|[Uu]nknown|[?]+)")}
|
||||
|
||||
@@ -55,8 +59,5 @@ script:
|
||||
write_card_2 := { (if art_check() then card.name + "\n" else "")
|
||||
+ (if art_check_2() then card.name_2 + "\n" else "")
|
||||
}
|
||||
write_card_3 := {(if near_matches_name() and not matches_name() then card.name + "\n" else "")
|
||||
+ (if near_matches_name_2() and not matches_name_2() then card.name_2 + "\n" else "")
|
||||
}
|
||||
write_cards := "----- Exact Matches -----\n\n" + to_text(for each card in cards do write_card()) + "----- Near Matches -----\n\n" + to_text(for each card in cards do write_card_3()) + (if options.check_for_artists then "\n\n-----No Illustrators-----\n\n" + to_text(for each card in cards do write_card_2()))
|
||||
write_cards := "----- Exact Matches -----\n\n" + to_text(for each card in cards do write_card()) + (if options.check_for_artists then "\n\n-----No Illustrators-----\n\n" + to_text(for each card in cards do write_card_2()))
|
||||
to_string(write_cards)
|
||||
|
||||
Reference in New Issue
Block a user