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}
|
||||
|
||||
@@ -80,6 +80,33 @@ set field:
|
||||
choice: no
|
||||
description: Use gradients on multicolor cards by default, you can always change it be clicking on the card border.
|
||||
initial: no
|
||||
set field:
|
||||
type: text
|
||||
name: custom mana symbol name
|
||||
description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions.
|
||||
set field:
|
||||
type: multiple choice
|
||||
name: mana symbol options
|
||||
choice: enable in casting costs
|
||||
choice: enable in text boxes
|
||||
choice: colored mana symbols
|
||||
choice: hybrid with colors
|
||||
set field:
|
||||
type: choice
|
||||
name: mana symbol help
|
||||
choice: Click here for mana symbol help!
|
||||
choice: In your mainframe-extrasfolder, create folders named "large" and/or "small" depending on your usage
|
||||
choice: Large is for only mana costs, small for only text, create both if you use both
|
||||
choice: Additionally, you can create a "future" folder for M15 Future mana costs
|
||||
choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows
|
||||
choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future
|
||||
choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png
|
||||
choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid
|
||||
choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too.
|
||||
choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.]
|
||||
choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look.
|
||||
choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols).
|
||||
|
||||
############################# Default style
|
||||
default set style:
|
||||
title:
|
||||
|
||||
Reference in New Issue
Block a user