Gen modules integration (#54)
genevensis frames magic-modules integration
This commit is contained in:
@@ -15,6 +15,9 @@ depends on:
|
||||
depends on:
|
||||
package: magic-watermarks.mse-include
|
||||
version: 2001-01-01
|
||||
depends on:
|
||||
package: magic-modules.mse-include
|
||||
version: 2024-05-20
|
||||
depends on:
|
||||
package: magic-mana-large.mse-symbol-font
|
||||
version: 2001-01-01
|
||||
@@ -43,11 +46,79 @@ card dpi: 300
|
||||
init script:
|
||||
card_shape := { if styling.layout == "full art" then "normal" else "class" }
|
||||
|
||||
guild_mana := { styling.use_guild_mana_symbols }
|
||||
corners_default := { "diagonal" }
|
||||
|
||||
ancestral_mana := { false }
|
||||
swap_font := { true }
|
||||
|
||||
mana_t := { "new" }
|
||||
swap_fonts_name_src := { styling.name_font }
|
||||
swap_fonts_name_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {32},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
swap_fonts_type_src := { styling.type_font }
|
||||
swap_fonts_type_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {25},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
swap_fonts_body_src := { styling.text_font }
|
||||
swap_fonts_body_default :=
|
||||
[
|
||||
name: {"MPlantin"},
|
||||
size: {if styling.font_size == "" then 26 else to_number_lax(styling.font_size) or else 26},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {"MPlantin-Italic"}
|
||||
]
|
||||
|
||||
swap_fonts_body2_src := { styling.level_font }
|
||||
swap_fonts_body2_default :=
|
||||
[
|
||||
name: {"MPlantin"},
|
||||
size: {23},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {"MPlantin-Italic"}
|
||||
]
|
||||
|
||||
swap_fonts_pt_src := { styling.PT_font }
|
||||
swap_fonts_pt_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {32},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
swap_fonts_name2_src := { styling.alias_font }
|
||||
swap_fonts_name2_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {18},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
swap_fonts_name3_src := { styling.auxiliary_font }
|
||||
swap_fonts_name3_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {30},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
mana_sort := sort_text@(order: "\\?XYZI[0123456789]VLHFDSCAIEP(WUBRG)")
|
||||
mana_sort_wedge := sort_text@(order: "\\?XYZI[0123456789]VLHFDSCAIEP(WBGUR)")
|
||||
@@ -64,21 +135,6 @@ init script:
|
||||
styling.remove_from_autocount
|
||||
}
|
||||
|
||||
shrink_type :=
|
||||
{
|
||||
if styling.shrink_type == "-" then 0
|
||||
else if styling.shrink_type != "" then (clamp(to_int(styling.shrink_type), minimum: -40, maximum: 24) or else 0)
|
||||
else if length(remove_tags(card.type)) > 41 then 2
|
||||
else if length(remove_tags(card.type)) > 38 then 1
|
||||
else 0
|
||||
}
|
||||
|
||||
shrink_name :=
|
||||
{
|
||||
if styling.shrink_name == "-" then 0
|
||||
else clamp(to_int(styling.shrink_name), minimum: -40, maximum: 31) or else 0
|
||||
}
|
||||
|
||||
shrink_reminder :=
|
||||
{
|
||||
if styling.shrink_transformation_reminder_text == "-" then 0
|
||||
@@ -624,11 +680,6 @@ init script:
|
||||
if text_size > 9 then "long" else if text_size < 7 then "short" else "medium"
|
||||
}
|
||||
|
||||
font_size :=
|
||||
{
|
||||
if styling.font_size == "" then 26 else to_number(styling.font_size) or else 26
|
||||
}
|
||||
|
||||
image_left := { if has_extended_art() then 0 else 55 }
|
||||
image_width :=
|
||||
{
|
||||
@@ -850,14 +901,6 @@ styling field:
|
||||
# fr: Taille du texte
|
||||
# localized description:
|
||||
# fr: Fixer la taille de la police pour toutes les abilités. Doit être modifiée manuellement si il n'y a pas assez de place sur la carte. Valeur par défaut: 26.
|
||||
styling field:
|
||||
type: text
|
||||
name: shrink name
|
||||
description: Reduces the name text's font size by this many points.
|
||||
# localized caption:
|
||||
# fr: Rapetisser le nom
|
||||
# localized description:
|
||||
# fr: Réduire la taille du nom de N points.
|
||||
styling field:
|
||||
type: boolean
|
||||
name: center name
|
||||
@@ -867,14 +910,6 @@ styling field:
|
||||
# localized description:
|
||||
# fr: Aligner le nom au milieu de la carte?
|
||||
initial: no
|
||||
styling field:
|
||||
type: text
|
||||
name: shrink type
|
||||
description: Reduces the type text's font size by this many points.
|
||||
# localized caption:
|
||||
# fr: Rapetisser le type
|
||||
# localized description:
|
||||
# fr: Réduire la taille du type de N points.
|
||||
styling field:
|
||||
type: boolean
|
||||
name: center type
|
||||
@@ -1015,21 +1050,6 @@ styling field:
|
||||
choice: full art
|
||||
choice: full text
|
||||
initial: normal
|
||||
styling field:
|
||||
type: color
|
||||
name: full art text color
|
||||
description: Use the specified color for the rule text in full art layout.
|
||||
# localized caption:
|
||||
# fr: Couleur du texte
|
||||
# localized description:
|
||||
# fr: Utiliser la couleur spécifiée pour le texte dans l'image, en disposition illustration.
|
||||
choice:
|
||||
name: black
|
||||
color: rgb(0,0,0)
|
||||
choice:
|
||||
name: white
|
||||
color: rgb(255,255,255)
|
||||
initial: white
|
||||
styling field:
|
||||
type: text
|
||||
name: full art textbox opacity percentage
|
||||
@@ -1357,27 +1377,59 @@ styling field:
|
||||
styling field:
|
||||
type: text
|
||||
name: name font
|
||||
description: Font used for the name, alias, type, pt, fuse, transformation reminder, and banner. 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. Hover your mouse over the font file to see it's details, it's Title is it's name.
|
||||
# localized caption:
|
||||
# fr: Police du nom
|
||||
# localized description:
|
||||
# fr: Police utilisée pour le nom, alias, type, et force/endurance. Survolez le fichier de police avec la souris pour voir ses informations, et écrivez son titre ici.
|
||||
# fr: Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A". Survolez le fichier de police avec la souris pour voir son titre, qui est son nom.
|
||||
styling field:
|
||||
type: text
|
||||
name: type font
|
||||
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. Hover your mouse over the font file to see it's details, and write it's Title here.
|
||||
# localized caption:
|
||||
# fr: Police du type
|
||||
# localized description:
|
||||
# fr: Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A". Survolez le fichier de police avec la souris pour voir son titre, qui est son nom.
|
||||
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.
|
||||
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. Hover your mouse over the font file to see it's details, and write it's Title here.
|
||||
# localized caption:
|
||||
# fr: Police du texte des règles
|
||||
# localized description:
|
||||
# fr: Police utilisée pour le texte des règles. Survolez le fichier de police avec la souris pour voir ses informations, et écrivez son titre ici.
|
||||
# fr: Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A". Survolez le fichier de police avec la souris pour voir son titre, qui est son nom.
|
||||
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.
|
||||
name: level font
|
||||
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. Hover your mouse over the font file to see it's details, and write it's Title here.
|
||||
# localized caption:
|
||||
# fr: Police du texte d'ambiance
|
||||
# fr: Police de niveau
|
||||
# localized description:
|
||||
# fr: Police utilisée pour le text d'ambiance. Survolez le fichier de police avec la souris pour voir ses informations, et écrivez son titre ici.
|
||||
# fr: Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A". Survolez le fichier de police avec la souris pour voir son titre, qui est son nom.
|
||||
styling field:
|
||||
type: text
|
||||
name: PT font
|
||||
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. Hover your mouse over the font file to see it's details, and write it's Title here.
|
||||
# localized caption:
|
||||
# fr: Police de force et endurance
|
||||
# localized description:
|
||||
# fr: Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A". Survolez le fichier de police avec la souris pour voir son titre, qui est son nom.
|
||||
styling field:
|
||||
type: text
|
||||
name: alias font
|
||||
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. Hover your mouse over the font file to see it's details, and write it's Title here.
|
||||
# localized caption:
|
||||
# fr: Police de l'alias
|
||||
# localized description:
|
||||
# fr: Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A". Survolez le fichier de police avec la souris pour voir son titre, qui est son nom.
|
||||
styling field:
|
||||
type: text
|
||||
name: auxiliary font
|
||||
description: Font used for the transformation reminder, fuse, choice bar and banner. 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.
|
||||
# localized caption:
|
||||
# fr: Police auxiliaire
|
||||
# localized description:
|
||||
# fr: Police utilisée pour la bannière, la fusion, la barre de choix et le rappel de transformation. Format: "nom de la police;taille;couleur;décalage vertical;nom de la police italique". Les 4 derniers sont optionnels. Format couleur: "R,G,B,A".
|
||||
styling style:
|
||||
use guild mana symbols:
|
||||
render style: both
|
||||
@@ -1390,6 +1442,9 @@ styling style:
|
||||
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
|
||||
|
||||
############################################################## Card fields
|
||||
|
||||
include file: /magic-modules.mse-include/corners/card_fields
|
||||
|
||||
card style:
|
||||
############################# Background
|
||||
card color:
|
||||
@@ -1405,18 +1460,19 @@ card style:
|
||||
############################# Name line
|
||||
name:
|
||||
left: { 64 + (if styling.center_name then name_margin() else nameline_left_margin()) }
|
||||
top: 55
|
||||
top: { 55 + name_font_vertical() }
|
||||
right: { 686 - (if styling.center_name then name_margin() else nameline_right_margin()) }
|
||||
height: 48
|
||||
alignment: { if styling.center_name then "center middle shrink-overflow" else "left middle shrink-overflow" }
|
||||
z index: 52
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: { 32 - shrink_name() }
|
||||
color: black
|
||||
name: { name_font() }
|
||||
italic name: { name_font_italic() }
|
||||
size: { name_font_size() }
|
||||
color: { name_font_color() }
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols }
|
||||
size: { 32 - shrink_name() }
|
||||
size: { name_font_size() }
|
||||
casting cost:
|
||||
right: 687
|
||||
top: 55
|
||||
@@ -1424,7 +1480,7 @@ card style:
|
||||
height: 48
|
||||
alignment: middle right
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
name: { body_font() }
|
||||
size: 32
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols }
|
||||
@@ -1433,15 +1489,16 @@ card style:
|
||||
z index: 52
|
||||
alias:
|
||||
left: 149
|
||||
top: 117
|
||||
top: { 117 + name2_font_vertical() }
|
||||
width: 452
|
||||
height: 24
|
||||
alignment: center middle shrink-overflow
|
||||
z index: 56
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: 18
|
||||
color: black
|
||||
name: { name2_font() }
|
||||
italic name: { name2_font_italic() }
|
||||
size: { name2_font_size() }
|
||||
color: { name2_font_color() }
|
||||
|
||||
############################# Image
|
||||
image:
|
||||
@@ -1461,15 +1518,16 @@ card style:
|
||||
############################# Card type
|
||||
type:
|
||||
left: { 73 + (if styling.center_type then type_margin() else typeline_left_margin()) }
|
||||
top: 926
|
||||
top: { 926 + type_font_vertical() }
|
||||
right: { 677 - (if styling.center_type then type_margin() else typeline_right_margin()) }
|
||||
height: 44
|
||||
alignment: { if styling.center_type then "center middle shrink-overflow" else "left middle shrink-overflow" }
|
||||
z index: 52
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: { 25 - shrink_type() }
|
||||
color: black
|
||||
name: { type_font() }
|
||||
italic name: { type_font_italic() }
|
||||
size: { type_font_size() }
|
||||
color: { type_font_color() }
|
||||
separator color: red
|
||||
rarity:
|
||||
left: { 620 - (-chop_rarity_left()) }
|
||||
@@ -1523,14 +1581,15 @@ card style:
|
||||
width: { textbox_width(1) }
|
||||
height: { textbox_heights()[0] - (-textbox_move(1)) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1545,14 +1604,15 @@ card style:
|
||||
width: { textbox_width(2) }
|
||||
height: { if active_abilities() > 1 then textbox_heights()[1] - (-textbox_move(2)) else 0 }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1567,14 +1627,15 @@ card style:
|
||||
width: { textbox_width(3) }
|
||||
height: { if active_abilities() > 2 then textbox_heights()[2] - (-textbox_move(3)) else 0 }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1589,14 +1650,15 @@ card style:
|
||||
width: { textbox_width(4) }
|
||||
height: { if active_abilities() > 3 then textbox_heights()[3] - (-textbox_move(4)) else 0 }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1611,14 +1673,15 @@ card style:
|
||||
width: { textbox_width(5) }
|
||||
height: { if active_abilities() > 4 then textbox_heights()[4] - (-textbox_move(5)) else 0 }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1633,14 +1696,15 @@ card style:
|
||||
width: { textbox_width(6) }
|
||||
height: { if active_abilities() > 5 then textbox_heights()[5] - (-textbox_move(6)) else 0 }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1655,14 +1719,15 @@ card style:
|
||||
width: { textbox_width(7) }
|
||||
height: { if active_abilities() > 6 then textbox_heights()[6] - (-textbox_move(7)) else 0 }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { font_size() }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
#scale down to: 20
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { font_size() }
|
||||
size: { body_font_size() }
|
||||
#scale down to: 20
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 54
|
||||
line height hard: 1.2
|
||||
@@ -1673,21 +1738,21 @@ card style:
|
||||
line height soft max: 0.9
|
||||
rule text:
|
||||
left: { 73 + if styling.banner then 8 else 0 }
|
||||
top: { full_art_textbox_background_top() + 8 }
|
||||
top: { full_art_textbox_background_top() + 8 + body_font_vertical() }
|
||||
width: { if styling.layout == "full art" then (604 - (if styling.banner then 16 else 0) - chop_right()) else 0 }
|
||||
bottom: { 905 - chop_bot() }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: { if styling.font_size == "" then 28 else to_number(styling.font_size) or else 28 }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
scale down to: 12
|
||||
color: { styling.full_art_text_color }
|
||||
shadow color: { if to_number(styling.full_art_textbox_opacity_percentage) or else 0 > 20 then rgba(0,0,0,0) else if styling.full_art_text_color == rgb(0,0,0) then "grey" else "black" }
|
||||
shadow color: { if to_number(styling.full_art_textbox_opacity_percentage) or else 0 > 20 then rgba(0,0,0,0) else if body_font_color() == rgb(0,0,0) or body_font_color() == "black" then "grey" else "black" }
|
||||
shadow displacement x: -2
|
||||
shadow displacement y: 2
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { if styling.font_size == "" then 28 else to_number(styling.font_size) or else 28 }
|
||||
size: { body_font_size() }
|
||||
scale down to: 12
|
||||
alignment: { if styling.center_rule_text then "middle center" else "middle left" }
|
||||
z index: 44
|
||||
@@ -1698,33 +1763,36 @@ card style:
|
||||
line height line max: 1.6
|
||||
rule text 3:
|
||||
left: { (if contains(styling.fuse, match: "right") then 750 else 0) - (if length(remove_tags(card.rule_text_3)) > 9 then 22 else 0) - 128 + 36 }
|
||||
top: 521
|
||||
top: { 521 + name3_font_vertical() }
|
||||
width: { if styling.fuse != "none" then (if length(remove_tags(card.rule_text_3)) > 9 then 228 else 184) else 0 }
|
||||
height: 54
|
||||
z index: 160
|
||||
alignment: center middle shrink-overflow
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: 30
|
||||
name: { name3_font() }
|
||||
italic name: { name3_font_italic() }
|
||||
size: { name3_font_size() }
|
||||
color: { name3_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols }
|
||||
size: 30
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { name3_font_size() }
|
||||
scale down to: 12
|
||||
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 56
|
||||
left: 549
|
||||
top: 861
|
||||
top: { 861 + pt_font_vertical() }
|
||||
width: 120
|
||||
height: 56
|
||||
alignment: center middle shrink-overflow
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: 32
|
||||
color: black
|
||||
name: { pt_font() }
|
||||
italic name: { pt_font_italic() }
|
||||
size: { pt_font_size() }
|
||||
color: { pt_font_color() }
|
||||
scale down to: 12
|
||||
separator color: red
|
||||
|
||||
############################# Copyright stuff
|
||||
@@ -2190,20 +2258,21 @@ extra card style:
|
||||
image: { reminder_image() }
|
||||
transformation reminder text:
|
||||
left: { if styling.transformation_reminder == "notch" then 620 else 6 }
|
||||
top: { if styling.transformation_reminder == "notch" then (if card.pt == "" then 858 else 798) else 857 }
|
||||
top: { (if styling.transformation_reminder == "notch" then (if card.pt == "" then 858 else 798) else 857) + name3_font_vertical() }
|
||||
height: { if styling.transformation_reminder == "notch" then 30 else 60 }
|
||||
width: { if styling.transformation_reminder == "notch" then (if has_extended_art() and styling.layout != "normal" then 0 else 75) else if styling.transformation_reminder == "short" then 298 else if styling.transformation_reminder == "medium" then 356 else if styling.transformation_reminder == "long" then 462 else 0 }
|
||||
z index: 44
|
||||
font:
|
||||
name: { if styling.name_font == "" then (if styling.transformation_reminder == "notch" then "ModMatrix" else "Beleren Bold") else styling.name_font }
|
||||
size: { (if styling.transformation_reminder == "notch" then 27 else 30) - shrink_reminder() }
|
||||
color: { if styling.transformation_reminder == "notch" and styling.layout == "full art" then styling.full_art_text_color else "black" }
|
||||
shadow color: { if styling.transformation_reminder == "notch" and styling.layout == "full art" and (to_number(styling.full_art_textbox_opacity_percentage) or else 0) <= 20 then (if styling.full_art_text_color == rgb(0,0,0) then "grey" else "black") else rgba(0,0,0,0) }
|
||||
name: { if styling.auxiliary_font == "" then (if styling.transformation_reminder == "notch" then "ModMatrix" else "Beleren Bold") else name3_font() }
|
||||
italic name: { if styling.auxiliary_font == "" then (if styling.transformation_reminder == "notch" then "ModMatrix" else "Beleren Bold") else name3_font_italic() }
|
||||
size: { name3_font_size() - (if styling.transformation_reminder == "notch" then 3 else 0) - shrink_reminder() }
|
||||
color: { if styling.transformation_reminder == "notch" and styling.layout == "full art" then body_font_color() else name3_font_color() }
|
||||
shadow color: { if styling.transformation_reminder == "notch" and styling.layout == "full art" and (to_number(styling.full_art_textbox_opacity_percentage) or else 0) <= 20 then (if body_font_color() == rgb(0,0,0) or body_font_color() == "black" then "grey" else "black") else rgba(0,0,0,0) }
|
||||
shadow displacement x: -2
|
||||
shadow displacement y: 2
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols }
|
||||
size: { (if styling.transformation_reminder == "notch" then 27 else 30) - shrink_reminder() }
|
||||
size: { name3_font_size() - (if styling.transformation_reminder == "notch" then 3 else 0) - shrink_reminder() }
|
||||
alignment: { if styling.transformation_reminder == "notch" then "right middle" else "center middle shrink-overflow" }
|
||||
transformation reminder pt paste:
|
||||
left: 496
|
||||
@@ -2225,20 +2294,21 @@ extra card style:
|
||||
image: { image("alias", side: "both") }
|
||||
ascend:
|
||||
left: 18
|
||||
top: 147
|
||||
top: { 147 + name3_font_vertical() }
|
||||
width: { if styling.banner then 50 else 0 }
|
||||
height: { if styling.transformation_reminder != "none" and styling.transformation_reminder != "notch" then 694 else 754 }
|
||||
direction: vertical
|
||||
z index: 42
|
||||
alignment: center middle
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: 18
|
||||
name: { name3_font() }
|
||||
italic name: { name3_font_italic() }
|
||||
size: { name3_font_size() - 12 }
|
||||
color: { name3_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols }
|
||||
size: 18
|
||||
size: { name3_font_size() - 12 }
|
||||
scale down to: 12
|
||||
ascend box:
|
||||
left: 9
|
||||
@@ -2386,7 +2456,7 @@ extra card style:
|
||||
ability separator 1 text left:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 1 }
|
||||
left: { if styling.layout == "full text" then (if has_extended_art() then 11 else 73) else 387 }
|
||||
top: { hack_to_force_update := card_style.level_1_text.content_width; card_style.level_1_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_1_text.content_width; card_style.level_1_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.first_divider != "level" or styling.layout == "full art" or active_abilities() <= 1 then 0
|
||||
@@ -2394,21 +2464,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(1) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle left
|
||||
z index: 55
|
||||
ability separator 1 text right:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 1 }
|
||||
right: { if has_extended_art() and styling.layout == "full text" then 739 else 677 }
|
||||
top: { hack_to_force_update := card_style.level_1_text.content_width; card_style.level_1_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_1_text.content_width; card_style.level_1_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.first_divider != "level" or styling.layout == "full art" or active_abilities() <= 1 then 0
|
||||
@@ -2416,21 +2486,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(1) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle right
|
||||
z index: 55
|
||||
ability separator 2 text left:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 2 }
|
||||
left: { if styling.layout == "full text" then (if has_extended_art() then 11 else 73) else 387 }
|
||||
top: { hack_to_force_update := card_style.level_2_text.content_width; card_style.level_2_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_2_text.content_width; card_style.level_2_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.second_divider != "level" or styling.layout == "full art" or active_abilities() <= 2 then 0
|
||||
@@ -2438,21 +2508,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(2) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle left
|
||||
z index: 55
|
||||
ability separator 2 text right:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 2 }
|
||||
right: { if has_extended_art() and styling.layout == "full text" then 739 else 677 }
|
||||
top: { hack_to_force_update := card_style.level_2_text.content_width; card_style.level_2_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_2_text.content_width; card_style.level_2_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.second_divider != "level" or styling.layout == "full art" or active_abilities() <= 2 then 0
|
||||
@@ -2460,21 +2530,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(2) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle right
|
||||
z index: 55
|
||||
ability separator 3 text left:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 3 }
|
||||
left: { if styling.layout == "full text" then (if has_extended_art() then 11 else 73) else 387 }
|
||||
top: { hack_to_force_update := card_style.level_3_text.content_width; card_style.level_3_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_3_text.content_width; card_style.level_3_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 3 then 0
|
||||
@@ -2482,21 +2552,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle left
|
||||
z index: 55
|
||||
ability separator 3 text right:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 3 }
|
||||
right: { if has_extended_art() and styling.layout == "full text" then 739 else 677 }
|
||||
top: { hack_to_force_update := card_style.level_3_text.content_width; card_style.level_3_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_3_text.content_width; card_style.level_3_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 3 then 0
|
||||
@@ -2504,21 +2574,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle right
|
||||
z index: 55
|
||||
ability separator 4 text left:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 4 }
|
||||
left: { if styling.layout == "full text" then (if has_extended_art() then 11 else 73) else 387 }
|
||||
top: { hack_to_force_update := card_style.level_4_text.content_width; card_style.level_4_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_4_text.content_width; card_style.level_4_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 4 then 0
|
||||
@@ -2526,21 +2596,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle left
|
||||
z index: 55
|
||||
ability separator 4 text right:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 4 }
|
||||
right: { if has_extended_art() and styling.layout == "full text" then 739 else 677 }
|
||||
top: { hack_to_force_update := card_style.level_4_text.content_width; card_style.level_4_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_4_text.content_width; card_style.level_4_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 4 then 0
|
||||
@@ -2548,21 +2618,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle right
|
||||
z index: 55
|
||||
ability separator 5 text left:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 5 }
|
||||
left: { if styling.layout == "full text" then (if has_extended_art() then 11 else 73) else 387 }
|
||||
top: { hack_to_force_update := card_style.level_5_text.content_width; card_style.level_5_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_5_text.content_width; card_style.level_5_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 5 then 0
|
||||
@@ -2570,21 +2640,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle left
|
||||
z index: 55
|
||||
ability separator 5 text right:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 5 }
|
||||
right: { if has_extended_art() and styling.layout == "full text" then 739 else 677 }
|
||||
top: { hack_to_force_update := card_style.level_5_text.content_width; card_style.level_5_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_5_text.content_width; card_style.level_5_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 5 then 0
|
||||
@@ -2592,21 +2662,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle right
|
||||
z index: 55
|
||||
ability separator 6 text left:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 6 }
|
||||
left: { if styling.layout == "full text" then (if has_extended_art() then 11 else 73) else 387 }
|
||||
top: { hack_to_force_update := card_style.level_6_text.content_width; card_style.level_6_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_6_text.content_width; card_style.level_6_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 6 then 0
|
||||
@@ -2614,21 +2684,21 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle left
|
||||
z index: 55
|
||||
ability separator 6 text right:
|
||||
visible: { styling.layout != "full art" and active_abilities() > 6 }
|
||||
right: { if has_extended_art() and styling.layout == "full text" then 739 else 677 }
|
||||
top: { hack_to_force_update := card_style.level_6_text.content_width; card_style.level_6_text.bottom + 4 }
|
||||
top: { hack_to_force_update := card_style.level_6_text.content_width; card_style.level_6_text.bottom + 4 + body2_font_vertical() }
|
||||
width:
|
||||
script:
|
||||
if styling.following_dividers != "level" or styling.layout == "full art" or active_abilities() <= 6 then 0
|
||||
@@ -2636,14 +2706,14 @@ extra card style:
|
||||
else 145
|
||||
height: { 43 - separator_shrink(3) }
|
||||
font:
|
||||
name: { if styling.text_font == "" then "MPlantin" else styling.text_font }
|
||||
italic name: { if styling.text_italic_font == "" then "MPlantin-Italic" else styling.text_italic_font }
|
||||
size: 23
|
||||
name: { body2_font() }
|
||||
italic name: { body2_font_italic() }
|
||||
size: { body2_font_size() }
|
||||
color: { body2_font_color() }
|
||||
scale down to: 12
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 23
|
||||
size: { body2_font_size() }
|
||||
scale down to: 12
|
||||
alignment: middle right
|
||||
z index: 55
|
||||
|
||||
Reference in New Issue
Block a user