[in progress] make all mana fonts alch_compatible (#49)
--------- Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
@@ -32,7 +32,7 @@ include file: language
|
||||
include file: statistics_script
|
||||
include file: /magic-blends.mse-include/new-blends
|
||||
############################################################## Versioning
|
||||
version_date := {"2024-05-24 Mainframe 1.3.c Showcase Catchup: Showcase Corners"}
|
||||
version_date := {"2024-05-24 Mainframe 1.3.d Showcase Catchup: Alchemy Compatibility"}
|
||||
version := version_date
|
||||
############################################################## Common filters
|
||||
############################################################## Utility
|
||||
@@ -219,7 +219,7 @@ strip_card_codes := {
|
||||
save := input
|
||||
input := cc_filter(input)
|
||||
input := if input == "" or input == " " then save else input
|
||||
if atom and alch_compatible() and has_alchemy(card.card_symbol)
|
||||
if atom and has_alchemy(card.card_symbol)
|
||||
then "<sym>A-</sym>" + input
|
||||
else input
|
||||
}@(atom:false)
|
||||
@@ -1329,7 +1329,6 @@ mana_un_context := "(mana values? <match>|converted mana costs? <match>|<match>
|
||||
#### truncates the name of legends
|
||||
legend_filter := replace@(match:"(, | of | the | \"| “).*", replace: "" )
|
||||
#### does this frame support Alchemy Rebalanced mana symbol in names?
|
||||
alch_compatible := {false}
|
||||
#### set tab insert atoms
|
||||
inserts_values := { split_text(set.inserts+";;;;;;;;;", match:";") }
|
||||
inserts_count := { clamp(length(semicolon_count(set.inserts)), minimum:1, maximum:9) }
|
||||
|
||||
Reference in New Issue
Block a user