card_fields rewrite and magic-modules.mse-include (#21)

Overhauls the card_fields file to allow for template designers more freedom in manipulating data.

Adds magic-modules.mse-include, a large scale include file for building templates in a standardized way. Applying this to existing frames will be coming in future updates.
This commit is contained in:
GenevensiS
2024-05-25 00:57:47 +02:00
committed by GitHub
parent 44b059e2f7
commit fd4b8e4c89
1195 changed files with 13325 additions and 3633 deletions

View File

@@ -60,10 +60,10 @@ languages := [
is_devoid : match@(match: "(?i)Fahl")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\b(Erzeuge|Erhöhe) [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\b(Erzeuge|Erhöhe) [^(\n|^).]*<match>", match:"einer beliebigen Farbe|unterschiedlichen Farben|beliebigen Kombination von Farben")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\b(Erzeuge|Erhöhe) [^(\n|^).]*<match>", match:"einer beliebigen Farbe|unterschiedlichen Farben|beliebigen Kombination von Farben")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\b(Erzeuge|Erhöhe) [^(\n|^).]*<match>", match:"jener Farbe|bestimmten Farben?")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) du .+?bezahlen(\\.|,| )", in_context: "(?i)(wenn|zu Beginn|am Ende).+?kannst<match> ?(falls|wenn) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) du .+?bezahlen(\\.|,| )", in_context: "(?i)(wenn|zu Beginn|am Ende).+?kannst<match> ?(falls|wenn) ")
is_white : match@(match: "(?i)weiß(e|em|en|er|es)?")
is_blue : match@(match: "(?i)blau(e|em|en|er|es)?")
@@ -793,10 +793,10 @@ languages := [
is_devoid : match@(match: "(?i)Devoid")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdd [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdd [^(\n|^).]*<match>", match:"(any( one)?|different|combination of) color")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdd [^(\n|^).]*<match>", match:"(any( one)?|different|combination of) color")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdd [^(\n|^).]*<match>", match:"that color|chosen color")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pay .+?(\\.|,| )", in_context: "(?i)(when|at).+?may<match> ?(when|if|to) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pay .+?(\\.|,| )", in_context: "(?i)(when|at).+?may<match> ?(when|if|to) ")
is_white : match@(match: "(?i)white")
is_blue : match@(match: "(?i)blue")
@@ -1542,10 +1542,10 @@ languages := [
is_devoid : match@(match: "(?i)Vacío")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAgrega [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAgrega [^(\n|^).]*<match>", match:"cualquier (combinación de )?color|colores distintos")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAgrega [^(\n|^).]*<match>", match:"cualquier (combinación de )?color|colores distintos")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAgrega [^(\n|^).]*<match>", match:"ese color|color(es)? elegido")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pagar .+?(\\.|,| )", in_context: "(?i)(cuando|siempre que|al ).+?puedes<match> ?(si|cuando) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pagar .+?(\\.|,| )", in_context: "(?i)(cuando|siempre que|al ).+?puedes<match> ?(si|cuando) ")
is_white : match@(match: "(?i)blanc(o|a)")
is_blue : match@(match: "(?i)azul")
@@ -2261,10 +2261,10 @@ languages := [
is_devoid : match@(match: "(?i)Carence")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAjoutez [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAjoutez [^(\n|^).]*<match>", match:"couleur de votre choix|couleurs différentes|combinaison de mana coloré de votre choix")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAjoutez [^(\n|^).]*<match>", match:"couleur de votre choix|couleurs différentes|combinaison de mana coloré de votre choix")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAjoutez [^(\n|^).]*<match>", match:"cette couleur|couleurs? choisie")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) payer .+?(\\.|,| )", in_context: "(?i)(quand|à chaque fois que|au début de).+?pouvez<match> ?(si|quand) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) payer .+?(\\.|,| )", in_context: "(?i)(quand|à chaque fois que|au début de).+?pouvez<match> ?(si|quand) ")
is_white : match@(match: "(?i)blanc(he)?")
is_blue : match@(match: "(?i)bleue?")
@@ -2983,10 +2983,10 @@ languages := [
is_devoid : match@(match: "(?i)Vacuità")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAggiungi [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAggiungi [^(\n|^).]*<match>", match:"qualsiasi colore|colori diversi|qualsiasi combinazione di colori")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAggiungi [^(\n|^).]*<match>", match:"qualsiasi colore|colori diversi|qualsiasi combinazione di colori")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAggiungi [^(\n|^).]*<match>", match:"quel colore|color[ei] scelt[oi]")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pagare .+?(\\.|,| )", in_context: "(?i)(quando|ogniqualvolta|all.inizio di|alla fine di).+?puoi<match> ?(se|quando) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pagare .+?(\\.|,| )", in_context: "(?i)(quando|ogniqualvolta|all.inizio di|alla fine di).+?puoi<match> ?(se|quando) ")
is_white : match@(match: "(?i)bianc(o|a)")
is_blue : match@(match: "(?i)blu")
@@ -3704,10 +3704,10 @@ languages := [
is_devoid : match@(match: "(?i)欠色")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).。]*を加える", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).。]*を加える", match:"好きな色1色のマナ|異なる色のマナ|望む色の組み合わせのマナ")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).。]*を加える", match:"好きな色1色のマナ|異なる色のマナ|望む色の組み合わせのマナ")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).。]*を加える", match:"その色のマナ|その選ばれた色のマナ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)たは.+?を支払ってもよい(\\.|,|、||。)", in_context: "(?i)(とき|たび|時).+?あな<match>(そうしたとき|そうしたなら)")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)たは.+?を支払ってもよい(\\.|,|、||。)", in_context: "(?i)(とき|たび|時).+?あな<match>(そうしたとき|そうしたなら)")
is_white : match@(match: "(?i)白")
is_blue : match@(match: "(?i)青")
@@ -4493,10 +4493,10 @@ languages := [
is_devoid : match@(match: "(?i)결여")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).]* 추가한다", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).]* 추가한다", match:"원하는 (한 가지 )?색의 마나 [두한] 개|서로 다른 색인 마나|원하는 색의 조합으로 마나")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).]* 추가한다", match:"원하는 (한 가지 )?색의 마나 [두한] 개|서로 다른 색인 마나|원하는 색의 조합으로 마나")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)<match>[^(\n|^).]* 추가한다", match:"그 색의|선택된 색의")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)신은.+?(을|를) 지불할 수 있다(\\.|,| )", in_context: "(?i)(때마다|때|시작에).+?당<match> ?(그렇게 한다면|그렇게 할 때)")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)신은.+?(을|를) 지불할 수 있다(\\.|,| )", in_context: "(?i)(때마다|때|시작에).+?당<match> ?(그렇게 한다면|그렇게 할 때)")
is_white : match@(match: "(?i)백색")
is_blue : match@(match: "(?i)청색")
@@ -5171,10 +5171,10 @@ languages := [
is_devoid : match@(match: "(?i)Desprovido")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdicione [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdicione [^(\n|^).]*<match>", match:"qualquer cor|cores diferentes")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdicione [^(\n|^).]*<match>", match:"qualquer cor|cores diferentes")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bAdicione [^(\n|^).]*<match>", match:"daquela cor|cor(es)? escolhidas?")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pagar .+?(\\.|,| )", in_context: "(?i)(quando|toda vez que|no ).+?pode<match> ?(quando|se) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) pagar .+?(\\.|,| )", in_context: "(?i)(quando|toda vez que|no ).+?pode<match> ?(quando|se) ")
is_white : match@(match: "(?i)branc(o|a)")
is_blue : match@(match: "(?i)azul")
@@ -5890,10 +5890,10 @@ languages := [
is_devoid : match@(match: "(?i)Лишение")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bдобавьте [^(\n|^).]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bдобавьте [^(\n|^).]*<match>", match:"любого цвета?|различных цветов")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bдобавьте [^(\n|^).]*<match>", match:"любого цвета?|различных цветов")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)\\bдобавьте [^(\n|^).]*<match>", match:"того цвета?|выбранн(ого|ый|ые) цвета?")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) заплатить .+?(\\.|,| )", in_context: "(?i)(когда|каждый раз|в ).+?можете<match> ?(когда|если) ")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i) заплатить .+?(\\.|,| )", in_context: "(?i)(когда|каждый раз|в ).+?можете<match> ?(когда|если) ")
is_white : match@(match: "(?i)бел\\w\{1,3\}")
is_blue : match@(match: "(?i)син\\w\{1,3\}")
@@ -6591,10 +6591,10 @@ languages := [
is_devoid : match@(match: "(?i)虚色")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"意颜色的法术力|不同颜色的法术力|其颜色组合由你选择")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"意颜色的法术力|不同颜色的法术力|其颜色组合由你选择")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"(选颜|该)色的法术力")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)以支付.+?(\\.|,|、||。)", in_context: "(?i)(当|每当|在).+?你可<match>(当你如此作时|若你如此作)")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)以支付.+?(\\.|,|、||。)", in_context: "(?i)(当|每当|在).+?你可<match>(当你如此作时|若你如此作)")
is_white : match@(match: "(?i)白色")
is_blue : match@(match: "(?i)蓝色")
@@ -7294,10 +7294,10 @@ languages := [
is_devoid : match@(match: "(?i)虛色")
mana_symbol_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"<sym[^>]*>[^<]+<\\/sym[^>]*>")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"任意顏色的魔法力|不同顏色的魔法力|其顏色組合由你選擇")
gold_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"任意顏色的魔法力|不同顏色的魔法力|其顏色組合由你選擇")
chosen_mana_production : remove_tag@(tag:"<error-spelling") + filter_text@(in_context:"(?i)(?<!增)加[^(\n|^).。]*<match>", match:"(選顏|該)色的魔法力")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)以支付.+?(\\.|,|、||。)", in_context: "(?i)(每當|當|在).+?你可<match>(當你如此作時|若你如此作)")
triggered_cost_filter : remove_tag@(tag:"<error-spelling") + break_text@(match:"(?i)以支付.+?(\\.|,|、||。)", in_context: "(?i)(每當|當|在).+?你可<match>(當你如此作時|若你如此作)")
is_white : match@(match: "(?i)白色")
is_blue : match@(match: "(?i)藍色")