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:
19
data/magic-modules.mse-include/casting-costs/card_fields_dfc
Normal file
19
data/magic-modules.mse-include/casting-costs/card_fields_dfc
Normal file
@@ -0,0 +1,19 @@
|
||||
include file: /magic-modules.mse-include/casting-costs/card_fields
|
||||
card style:
|
||||
casting cost 2:
|
||||
right: { casting_cost_right_2() + nameline_offset_left_2() + nameline_offset_width_2() }
|
||||
top: { casting_cost_top_2() + nameline_offset_top_2() }
|
||||
width: { casting_cost_width_2() }
|
||||
height: { casting_cost_height_2() + nameline_offset_height_2() }
|
||||
alignment: middle right shrink-overflow
|
||||
visible: { (not nameline_disabled_2()) and not casting_cost_disabled_2() }
|
||||
always symbol: true
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
size: { name2_font_size() }
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols or else "magic-mana-large" }
|
||||
size: { name2_font_size() }
|
||||
z index: 920
|
||||
Reference in New Issue
Block a user