Add font module to full art basic land (#130)
This commit is contained in:
@@ -38,6 +38,52 @@ card dpi: 150
|
|||||||
############################################################## Extra scripts
|
############################################################## Extra scripts
|
||||||
|
|
||||||
init script:
|
init script:
|
||||||
|
swap_fonts_pt_default :=
|
||||||
|
[
|
||||||
|
name: {"Beleren Bold"},
|
||||||
|
size: {16.0},
|
||||||
|
color: {"black"},
|
||||||
|
vertical: {0},
|
||||||
|
italic: {"Beleren Bold"}
|
||||||
|
]
|
||||||
|
|
||||||
|
swap_fonts_body_default :=
|
||||||
|
[
|
||||||
|
name: {"MPlantin"},
|
||||||
|
size: {14.0},
|
||||||
|
color: {"white"},
|
||||||
|
vertical: {0},
|
||||||
|
italic: {"MPlantin-Italic"}
|
||||||
|
]
|
||||||
|
|
||||||
|
swap_fonts_type_default :=
|
||||||
|
[
|
||||||
|
name: {"Beleren Bold"},
|
||||||
|
size: {13.0},
|
||||||
|
color: {"black"},
|
||||||
|
vertical: {0},
|
||||||
|
italic: {""}
|
||||||
|
]
|
||||||
|
|
||||||
|
swap_fonts_name_default :=
|
||||||
|
[
|
||||||
|
name: {"Beleren Bold"},
|
||||||
|
size: {16.0},
|
||||||
|
color: {"black"},
|
||||||
|
vertical: {0},
|
||||||
|
italic: {""}
|
||||||
|
]
|
||||||
|
|
||||||
|
swap_fonts_name2_default :=
|
||||||
|
[
|
||||||
|
name: {"MPlantin-Italic"},
|
||||||
|
size: {9.0},
|
||||||
|
color: {"white"},
|
||||||
|
vertical: {0},
|
||||||
|
italic: {"MPlantin-Italic"}
|
||||||
|
]
|
||||||
|
swap_fonts_name2_src := { styling.custom_alias_font or else "" }
|
||||||
|
|
||||||
template_prefix :=
|
template_prefix :=
|
||||||
[
|
[
|
||||||
crown: "crown/",
|
crown: "crown/",
|
||||||
@@ -160,9 +206,6 @@ init script:
|
|||||||
chop_bottom := { split := split_comma(styling.chop_textbox); if length(split) > 1 and split.1 != "" and split.1 != "-" then clamp(to_int(split.1), minimum: -300, maximum: 250) else 0 }
|
chop_bottom := { split := split_comma(styling.chop_textbox); if length(split) > 1 and split.1 != "" and split.1 != "-" then clamp(to_int(split.1), minimum: -300, maximum: 250) else 0 }
|
||||||
chop_right := { split := split_comma(styling.chop_textbox); if length(split) > 2 and split.2 != "" and split.2 != "-" then clamp(to_int(split.2), minimum: -300, maximum: 250) else 0 }
|
chop_right := { split := split_comma(styling.chop_textbox); if length(split) > 2 and split.2 != "" and split.2 != "-" then clamp(to_int(split.2), minimum: -300, maximum: 250) else 0 }
|
||||||
|
|
||||||
shrink_name := { if styling.shrink_name_text == "-" then 0 else if styling.shrink_name_text != "" then clamp(to_number(styling.shrink_name_text), minimum: -25, maximum: 14) else 0 }
|
|
||||||
shrink_type := { if styling.shrink_type_text == "-" then 0 else if styling.shrink_type_text != "" then clamp(to_number(styling.shrink_type_text), minimum: -25, maximum: 12) else 0 }
|
|
||||||
|
|
||||||
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png") }
|
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png") }
|
||||||
|
|
||||||
rarity_right := { split := split_comma(styling.rarity_coordinates); if length(split) > 0 and split.0 != "" then clamp(split.0, minimum: 0, maximum: 800) else 344 }
|
rarity_right := { split := split_comma(styling.rarity_coordinates); if length(split) > 0 and split.0 != "" then clamp(split.0, minimum: 0, maximum: 800) else 344 }
|
||||||
@@ -224,18 +267,6 @@ styling field:
|
|||||||
name: stretch art to whole card
|
name: stretch art to whole card
|
||||||
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
|
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
|
||||||
initial: no
|
initial: no
|
||||||
styling field:
|
|
||||||
type: text
|
|
||||||
name: shrink name text
|
|
||||||
description: Shrinks name X pixels.
|
|
||||||
styling field:
|
|
||||||
type: text
|
|
||||||
name: shrink type text
|
|
||||||
description: Shrinks type X pixels.
|
|
||||||
styling field:
|
|
||||||
type: text
|
|
||||||
name: rule text font size cap
|
|
||||||
description: Caps the font size of the rules text and the flavor text. Default is 13.
|
|
||||||
styling field:
|
styling field:
|
||||||
type: choice
|
type: choice
|
||||||
name: center rule text
|
name: center rule text
|
||||||
@@ -244,17 +275,6 @@ styling field:
|
|||||||
choice: short text only
|
choice: short text only
|
||||||
choice: never
|
choice: never
|
||||||
initial: never
|
initial: never
|
||||||
styling field:
|
|
||||||
type: color
|
|
||||||
name: text color
|
|
||||||
description: Use the specified color for the rule text.
|
|
||||||
choice:
|
|
||||||
name: black
|
|
||||||
color: rgb(0,0,0)
|
|
||||||
choice:
|
|
||||||
name: white
|
|
||||||
color: rgb(255,255,255)
|
|
||||||
initial: white
|
|
||||||
styling field:
|
styling field:
|
||||||
type: color
|
type: color
|
||||||
name: textbox color
|
name: textbox color
|
||||||
@@ -380,18 +400,14 @@ styling field:
|
|||||||
description: Symbols used in the rule text and flavor text.
|
description: Symbols used in the rule text and flavor text.
|
||||||
match: magic-mana-*.mse-symbol-font
|
match: magic-mana-*.mse-symbol-font
|
||||||
initial: magic-mana-small.mse-symbol-font
|
initial: magic-mana-small.mse-symbol-font
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/fonts/styling_fields
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
type: text
|
type: text
|
||||||
name: name font
|
name: custom alias font
|
||||||
description: Font used for the name, alias, type, pt, and transformation reminder. Hover your mouse over the font file to see it's details, and write it's Title here.
|
description: Formatted as "font name;font size;font color;vertical offset;italic font name" last 4 are optional. color can be a name or R,G,B,A numbers.
|
||||||
styling field:
|
|
||||||
type: text
|
|
||||||
name: text font
|
|
||||||
description: Font used for the rule text. Hover your mouse over the font file to see it's details, and write it's Title here.
|
|
||||||
styling field:
|
|
||||||
type: text
|
|
||||||
name: text italic font
|
|
||||||
description: Font used for the flavor text and reminder texts. Hover your mouse over the font file to see it's details, and write it's Title here.
|
|
||||||
styling style:
|
styling style:
|
||||||
use guild mana symbols:
|
use guild mana symbols:
|
||||||
choice images:
|
choice images:
|
||||||
@@ -449,9 +465,11 @@ card style:
|
|||||||
z index: 900
|
z index: 900
|
||||||
alignment: middle left shrink-overflow
|
alignment: middle left shrink-overflow
|
||||||
font:
|
font:
|
||||||
name: Beleren Bold
|
name: { name_font() }
|
||||||
size: { 16 - shrink_name() }
|
italic name: { name_font_italic() }
|
||||||
color: black
|
size: { name_font_size() }
|
||||||
|
scale down to: 7
|
||||||
|
color: { name_font_color() }
|
||||||
casting cost:
|
casting cost:
|
||||||
right: 346
|
right: 346
|
||||||
top: 28
|
top: 28
|
||||||
@@ -462,12 +480,14 @@ card style:
|
|||||||
always symbol: true
|
always symbol: true
|
||||||
font:
|
font:
|
||||||
name: MPlantin
|
name: MPlantin
|
||||||
size: 15
|
italic name: { name_font_italic() }
|
||||||
color: black
|
size: { name_font_size() }
|
||||||
|
scale down to: 7
|
||||||
|
color: { name_font_color() }
|
||||||
symbol font:
|
symbol font:
|
||||||
name: { styling.casting_cost_mana_symbols }
|
name: { styling.casting_cost_mana_symbols }
|
||||||
size: 15
|
size: { name_font_size() }
|
||||||
#alignment: middle right
|
scale down to: 7
|
||||||
alias:
|
alias:
|
||||||
left: 54
|
left: 54
|
||||||
top: 58
|
top: 58
|
||||||
@@ -476,9 +496,11 @@ card style:
|
|||||||
z index: 900
|
z index: 900
|
||||||
alignment: middle center shrink-overflow
|
alignment: middle center shrink-overflow
|
||||||
font:
|
font:
|
||||||
name: MPlantin-Italic
|
name: { name2_font() }
|
||||||
size: 9
|
italic name: { name2_font_italic() }
|
||||||
color: white
|
size: { name2_font_size() }
|
||||||
|
scale down to: 5
|
||||||
|
color: { name2_font_color() }
|
||||||
weight: bold
|
weight: bold
|
||||||
############################# Image
|
############################# Image
|
||||||
image:
|
image:
|
||||||
@@ -511,9 +533,11 @@ card style:
|
|||||||
z index: 1000
|
z index: 1000
|
||||||
alignment: middle left shrink-overflow
|
alignment: middle left shrink-overflow
|
||||||
font:
|
font:
|
||||||
name: Beleren Bold
|
name: { type_font() }
|
||||||
size: { 13 - shrink_type() }
|
italic name: { type_font_italic() }
|
||||||
color: black
|
size: { type_font_size() }
|
||||||
|
scale down to: 7
|
||||||
|
color: { type_font_color() }
|
||||||
separator color: red
|
separator color: red
|
||||||
rarity:
|
rarity:
|
||||||
right: { rarity_right() }
|
right: { rarity_right() }
|
||||||
@@ -546,14 +570,14 @@ card style:
|
|||||||
then "middle center"
|
then "middle center"
|
||||||
else "middle left"
|
else "middle left"
|
||||||
font:
|
font:
|
||||||
name: MPlantin
|
name: { body_font() }
|
||||||
italic name: MPlantin-Italic
|
italic name: { body_font_italic() }
|
||||||
size: { if styling.rule_text_font_size_cap != "" then to_number(styling.rule_text_font_size_cap) else 13 }
|
size: { body_font_size() }
|
||||||
scale down to: 7
|
scale down to: 7
|
||||||
color: { styling.text_color }
|
color: { body_font_color() }
|
||||||
symbol font:
|
symbol font:
|
||||||
name: { styling.text_box_mana_symbols }
|
name: { styling.text_box_mana_symbols }
|
||||||
size: { if styling.rule_text_font_size_cap != "" then to_number(styling.rule_text_font_size_cap) else 13 }
|
size: { body_font_size() }
|
||||||
scale down to: 7
|
scale down to: 7
|
||||||
watermark:
|
watermark:
|
||||||
left: 10
|
left: 10
|
||||||
@@ -575,9 +599,11 @@ card style:
|
|||||||
z index: 1000
|
z index: 1000
|
||||||
alignment: center middle shrink-overflow
|
alignment: center middle shrink-overflow
|
||||||
font:
|
font:
|
||||||
name: Beleren Bold
|
name: { pt_font() }
|
||||||
size: 16
|
italic name: { pt_font_italic() }
|
||||||
color: black
|
size: { pt_font_size() }
|
||||||
|
scale down to: 7
|
||||||
|
color: { pt_font_color() }
|
||||||
separator color: red
|
separator color: red
|
||||||
|
|
||||||
############################################################## Extra card fields
|
############################################################## Extra card fields
|
||||||
|
|||||||
Reference in New Issue
Block a user