[in progress] make all mana fonts alch_compatible (#49)

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-05-26 04:14:58 -05:00
committed by GitHub
parent 056abce80f
commit c96226fa40
84 changed files with 7661 additions and 53 deletions

View File

@@ -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) }