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,69 @@ card dpi: 300
|
||||
init script:
|
||||
card_shape := { "plane card" }
|
||||
|
||||
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: {28},
|
||||
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 +125,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
|
||||
@@ -639,14 +685,6 @@ set info style:
|
||||
border color 2: rgb(0, 0, 0)
|
||||
|
||||
############################################################## Extra style options
|
||||
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
|
||||
@@ -656,14 +694,6 @@ styling field:
|
||||
# localized description:
|
||||
# fr: Aligner le nom au milieu de la carte?
|
||||
initial: yes
|
||||
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
|
||||
@@ -673,21 +703,6 @@ styling field:
|
||||
# localized description:
|
||||
# fr: Aligner le type au milieu de la carte?
|
||||
initial: yes
|
||||
styling field:
|
||||
type: color
|
||||
name: type text color
|
||||
description: Use the specified color for the text in the typeline.
|
||||
# localized caption:
|
||||
# fr: Couleur du type
|
||||
# localized description:
|
||||
# fr: Utiliser la couleur spécifiée pour le texte du type.
|
||||
choice:
|
||||
name: black
|
||||
color: rgb(0,0,0)
|
||||
choice:
|
||||
name: white
|
||||
color: rgb(255,255,255)
|
||||
initial: black
|
||||
styling field:
|
||||
type: text
|
||||
name: typebox opacity percentage
|
||||
@@ -712,14 +727,6 @@ styling field:
|
||||
# fr: Tronquer le bas du texte de règles
|
||||
# localized description:
|
||||
# fr: Réduire la taille du bas de la zone du texte de règles de N pixels.
|
||||
styling field:
|
||||
type: text
|
||||
name: rule text font size cap
|
||||
description: The font size of rule text can't become greater than this. Default is 28.
|
||||
# localized caption:
|
||||
# fr: Caper le texte de règles
|
||||
# localized description:
|
||||
# fr: Limiter la taille maximale de police du texte de règles. Valeur par défaut: 28.
|
||||
styling field:
|
||||
type: choice
|
||||
name: center rule text
|
||||
@@ -751,14 +758,6 @@ styling field:
|
||||
# fr: Tronquer le bas du texte du chaos
|
||||
# localized description:
|
||||
# fr: Réduire la taille du bas de la zone du texte du chaos de N pixels.
|
||||
styling field:
|
||||
type: text
|
||||
name: chaos text font size cap
|
||||
description: The font size of chaos text can't become greater than this. Default is 28.
|
||||
# localized caption:
|
||||
# fr: Caper le texte du chaos
|
||||
# localized description:
|
||||
# fr: Limiter la taille maximale de police du texte du chaos. Valeur par défaut: 28.
|
||||
styling field:
|
||||
type: text
|
||||
name: custom chaos symbol
|
||||
@@ -775,14 +774,6 @@ styling field:
|
||||
# fr: Tronquer le bas du texte d'ambiance
|
||||
# localized description:
|
||||
# fr: Réduire la taille du bas de la zone du texte d'ambiance de N pixels.
|
||||
styling field:
|
||||
type: text
|
||||
name: flavor text font size cap
|
||||
description: The font size of flavor text can't become greater than this. Default is 24.
|
||||
# localized caption:
|
||||
# fr: Caper le texte d'ambiance
|
||||
# localized description:
|
||||
# fr: Limiter la taille maximale de police du texte d'ambiance. Valeur par défaut: 24.
|
||||
styling field:
|
||||
type: choice
|
||||
name: center flavor text
|
||||
@@ -795,21 +786,6 @@ styling field:
|
||||
choice: one line
|
||||
choice: never
|
||||
initial: always
|
||||
styling field:
|
||||
type: color
|
||||
name: text color
|
||||
description: Use the specified color for the rule text, chaos text and flavor text.
|
||||
# localized caption:
|
||||
# fr: Couleur du texte
|
||||
# localized description:
|
||||
# fr: Utiliser la couleur spécifiée pour le texte de règles, le texte du chaos, et le texte d'ambiance.
|
||||
choice:
|
||||
name: black
|
||||
color: rgb(0,0,0)
|
||||
choice:
|
||||
name: white
|
||||
color: rgb(255,255,255)
|
||||
initial: black
|
||||
styling field:
|
||||
type: text
|
||||
name: textbox opacity percentage
|
||||
@@ -1156,27 +1132,51 @@ 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: 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 du texte d'ambiance
|
||||
# fr: Police de force et endurance
|
||||
# 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: 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:
|
||||
center rule text:
|
||||
render style: both
|
||||
@@ -1203,6 +1203,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:
|
||||
@@ -1218,18 +1221,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: { 1436 - (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: 42
|
||||
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: 1437
|
||||
top: 55
|
||||
@@ -1237,7 +1241,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 }
|
||||
@@ -1246,15 +1250,16 @@ card style:
|
||||
z index: 42
|
||||
alias:
|
||||
left: 524
|
||||
top: 117
|
||||
top: { 117 + name2_font_vertical() }
|
||||
width: 452
|
||||
height: 24
|
||||
alignment: center middle shrink-overflow
|
||||
z index: 42
|
||||
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:
|
||||
@@ -1275,15 +1280,16 @@ card style:
|
||||
############################# Card type
|
||||
type:
|
||||
left: { 271 + (if styling.center_type then type_margin() else typeline_left_margin()) }
|
||||
top: 667
|
||||
top: { 667 + type_font_vertical() }
|
||||
right: { 1229 - (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: 42
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: { 25 - shrink_type() }
|
||||
color: { styling.type_text_color }
|
||||
name: { type_font() }
|
||||
italic name: { type_font_italic() }
|
||||
size: { type_font_size() }
|
||||
color: { type_font_color() }
|
||||
separator color: red
|
||||
rarity:
|
||||
left: { 1172 - (-chop_rarity_left()) }
|
||||
@@ -1333,18 +1339,21 @@ card style:
|
||||
############################# Text boxes
|
||||
rule text:
|
||||
left: 100
|
||||
top: { 731 - (-chop_top()) }
|
||||
top: { 731 - (-chop_top()) + body_font_vertical() }
|
||||
width: 1300
|
||||
bottom: { ( if styling.chaos_text then 860 else 953 ) - 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.rule_text_font_size_cap == "" then 28 else to_number(styling.rule_text_font_size_cap) 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.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 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.rule_text_font_size_cap == "" then 28 else to_number(styling.rule_text_font_size_cap) or else 28 }
|
||||
size: { body_font_size() }
|
||||
scale down to: 12
|
||||
alignment:
|
||||
script:
|
||||
@@ -1365,18 +1374,21 @@ card style:
|
||||
line height line max: 1.6
|
||||
flavor text:
|
||||
left: 100
|
||||
top: { 953 - ( if styling.chaos_text then chop_chaos_bot() else chop_bot() ) }
|
||||
top: { 953 - ( if styling.chaos_text then chop_chaos_bot() else chop_bot() ) + body_font_vertical() }
|
||||
width: 1300
|
||||
bottom: { 970 - chop_flavor_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.flavor_text_font_size_cap != "" then (to_number(styling.flavor_text_font_size_cap) or else 24) else 24 }
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
scale down to: 12
|
||||
color: { styling.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 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.flavor_text_font_size_cap != "" then (to_number(styling.flavor_text_font_size_cap) or else 24) else 24 }
|
||||
size: { body_font_size() }
|
||||
scale down to: 12
|
||||
alignment:
|
||||
script:
|
||||
@@ -1392,35 +1404,63 @@ card style:
|
||||
line height soft: 0.9
|
||||
line height hard max: 1.3
|
||||
line height line max: 1.6
|
||||
rule text 2:
|
||||
left: { 126 + min(76, chaos_text_height()*1.2) }
|
||||
top: { 860 - chop_bot() + body_font_vertical() }
|
||||
height: { chaos_text_height() }
|
||||
right: 1400
|
||||
z index: 44
|
||||
alignment: middle left
|
||||
font:
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
color: { body_font_color() }
|
||||
scale down to: 12
|
||||
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: { body_font_size() }
|
||||
scale down to: 12
|
||||
line height hard: { if contains(card.rule_text, match: "<li>") then 0.9 else 1.2 }
|
||||
line height line: 1.5
|
||||
line height soft: 0.9
|
||||
line height hard max: 1.3
|
||||
line height line max: 1.6
|
||||
rule text 3:
|
||||
left: { (if contains(styling.fuse, match: "right") then 1500 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: 46
|
||||
left: 1302
|
||||
top: 950
|
||||
top: { 950 + 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
|
||||
@@ -1453,11 +1493,6 @@ extra card field:
|
||||
editable: false
|
||||
save value: false
|
||||
choice: chaos symbol
|
||||
extra card field:
|
||||
type: text
|
||||
name: chaos text
|
||||
multi line: true
|
||||
save value: true
|
||||
extra card field:
|
||||
type: choice
|
||||
name: transformation symbol
|
||||
@@ -1712,29 +1747,7 @@ extra card style:
|
||||
width: { min(76, (chaos_text_height() - 8) * 1.2) }
|
||||
z index: 44
|
||||
render style: image
|
||||
image: { if contains(styling.custom_chaos_symbol, match: ".png") then styling.custom_chaos_symbol else recolor_image("chaos_symbol.png", color: styling.text_color) }
|
||||
chaos text:
|
||||
left: { 126 + min(76, chaos_text_height()*1.2) }
|
||||
top: { 860 - chop_bot() }
|
||||
height: { chaos_text_height() }
|
||||
right: 1400
|
||||
z index: 44
|
||||
alignment: middle left
|
||||
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.chaos_text_font_size_cap == "" then 28 else to_number(styling.chaos_text_font_size_cap) or else 28 }
|
||||
scale down to: 12
|
||||
color: { styling.text_color }
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { if styling.chaos_text_font_size_cap == "" then 28 else to_number(styling.chaos_text_font_size_cap) or else 28 }
|
||||
scale down to: 12
|
||||
line height hard: { if contains(card.rule_text, match: "<li>") then 0.9 else 1.2 }
|
||||
line height line: 1.5
|
||||
line height soft: 0.9
|
||||
line height hard max: 1.3
|
||||
line height line max: 1.6
|
||||
image: { if contains(styling.custom_chaos_symbol, match: ".png") then styling.custom_chaos_symbol else recolor_image("chaos_symbol.png", color: body_font_color()) }
|
||||
transformation symbol:
|
||||
left: 35
|
||||
top: 45
|
||||
@@ -1755,17 +1768,18 @@ extra card style:
|
||||
image: { reminder_image() }
|
||||
transformation reminder text:
|
||||
left: { if styling.transformation_reminder == "short" then 4 else 22 }
|
||||
top: 947
|
||||
top: { 947 + name3_font_vertical() }
|
||||
height: 60
|
||||
width: { if styling.transformation_reminder == "short" then 191 else if styling.transformation_reminder == "medium" then 294 else if styling.transformation_reminder == "long" then 404 else 0 }
|
||||
z index: 26
|
||||
font:
|
||||
name: { if styling.name_font == "" then "Beleren Bold" else styling.name_font }
|
||||
size: { 30 - shrink_reminder() }
|
||||
color: black
|
||||
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() - shrink_reminder() }
|
||||
color: { name3_font_color() }
|
||||
symbol font:
|
||||
name: { styling.casting_cost_mana_symbols }
|
||||
size: { 30 - shrink_reminder() }
|
||||
size: { name3_font_size() - shrink_reminder() }
|
||||
alignment: center middle shrink-overflow
|
||||
alias box:
|
||||
left: 485
|
||||
@@ -1778,20 +1792,21 @@ extra card style:
|
||||
image: { image("planealias", side: "left") }
|
||||
ascend:
|
||||
left: 18
|
||||
top: 147
|
||||
top: { 147 + name3_font_vertical() }
|
||||
width: { if styling.banner then 50 else 0 }
|
||||
height: 554
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user