symbol font updates
Fix #22 Fix white_text/v_mana_loc errors on sister games
This commit is contained in:
@@ -470,3 +470,14 @@ primary_card_color := {
|
||||
}
|
||||
|
||||
word_count := break_text@(match:"[^[:space:]]+") + length
|
||||
|
||||
# Mana font scripts
|
||||
ancestral_mana := {false}
|
||||
use_v_mana := {contains(set.custom_mana_symbol_name, match:".png")}
|
||||
use_large_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"casting")}
|
||||
use_small_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"text")}
|
||||
use_color_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"colored") and not use_hybrid_v_mana()}
|
||||
use_hybrid_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"hybrid")}
|
||||
v_mana_name := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"(.+/|\\.png)", replace:"")}
|
||||
v_mana_loc := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"{v_mana_name()}\\.png", replace:"")}
|
||||
white_text := {false}
|
||||
|
||||
Reference in New Issue
Block a user