From 45f684c4ffa1a9ec35df1f32810e1d5c35d5cf64 Mon Sep 17 00:00:00 2001
From: GenevensiS <66968533+G-e-n-e-v-e-n-s-i-S@users.noreply.github.com>
Date: Sat, 8 Aug 2026 10:26:44 +0200
Subject: [PATCH] rename styling fields
---
data/magic-archenemy.mse-style/style | 162 +++---
data/magic-herospath.mse-style/style | 9 +-
.../style | 2 +-
.../style | 2 +-
data/magic-m15-vanguard.mse-style/style | 2 +-
data/magic-planechase.mse-style/style | 326 ++++++------
data/magic-vanguard.mse-style/style | 487 +++++++++---------
7 files changed, 495 insertions(+), 495 deletions(-)
diff --git a/data/magic-archenemy.mse-style/style b/data/magic-archenemy.mse-style/style
index d3ee5bc0d..c53d42e2b 100644
--- a/data/magic-archenemy.mse-style/style
+++ b/data/magic-archenemy.mse-style/style
@@ -48,22 +48,22 @@ init script:
swap_fonts_body_default :=
[
name: {"MPlantin"},
- size: {if styling.archenemy_frame == "original" then 21.0 else 23.0},
+ size: {if styling.frame_type == "original" then 21.0 else 23.0},
color: {"black"},
vertical: {0},
italic: {"MPlantin-Italic"}
]
- typeline_offset_left_1 := { if styling.archenemy_frame == "original" then 54 else 48 }
- typeline_offset_top_1 := { if styling.archenemy_frame == "original" then 85 else 77 }
- typeline_offset_width_1 := { if styling.archenemy_frame == "original" then -101 else -91 }
- typeline_character_limit := { if styling.archenemy_frame == "original" then 34 else 30 }
- rarity_offset_top_1 := { if styling.archenemy_frame == "original" then 2 else 1 }
- rarity_offset_size_1 := { if styling.archenemy_frame == "original" then -3 else 0 }
+ typeline_offset_left_1 := { if styling.frame_type == "original" then 54 else 48 }
+ typeline_offset_top_1 := { if styling.frame_type == "original" then 85 else 77 }
+ typeline_offset_width_1 := { if styling.frame_type == "original" then -101 else -91 }
+ typeline_character_limit := { if styling.frame_type == "original" then 34 else 30 }
+ rarity_offset_top_1 := { if styling.frame_type == "original" then 2 else 1 }
+ rarity_offset_size_1 := { if styling.frame_type == "original" then -3 else 0 }
swap_fonts_type_default :=
[
name: {"Beleren Bold"},
- size: { (if styling.archenemy_frame == "original" then 21.0 else 23.0) - max(0, (length(to_text(card.type)) - typeline_character_limit()) / 3) },
+ size: { (if styling.frame_type == "original" then 21.0 else 23.0) - max(0, (length(to_text(card.type)) - typeline_character_limit()) / 3) },
color: {"black"},
vertical: {0},
italic: {""}
@@ -72,7 +72,7 @@ init script:
swap_fonts_name_default :=
[
name: {"Beleren Bold"},
- size: {if styling.archenemy_frame == "original" then 22 else 27},
+ size: {if styling.frame_type == "original" then 22 else 27},
color: {"black"},
vertical: {0},
italic: {""}
@@ -80,7 +80,7 @@ init script:
invert_watermark_1 := { false }
- illustrator_brush_default := { if styling.archenemy_frame == "original" then "art old" else "art" }
+ illustrator_brush_default := { if styling.frame_type == "original" then "art old" else "art" }
is_unsorted := { styling.remove_from_autocount }
@@ -95,25 +95,25 @@ init script:
art_left :=
{
if styling.stretch_art_to_whole_card then 0
- else if styling.archenemy_frame == "original" then 42
+ else if styling.frame_type == "original" then 42
else 33
}
art_top :=
{
if styling.stretch_art_to_whole_card then 0
- else if styling.archenemy_frame == "original" then 40
+ else if styling.frame_type == "original" then 40
else 33
}
art_width :=
{
if styling.stretch_art_to_whole_card then stylesheet.card_width
- else if styling.archenemy_frame == "original" then 658
+ else if styling.frame_type == "original" then 658
else 676
}
art_height :=
{
if styling.stretch_art_to_whole_card then stylesheet.card_height
- else if styling.archenemy_frame == "original" then 958
+ else if styling.frame_type == "original" then 958
else 911
}
@@ -124,8 +124,8 @@ init script:
frame_type :=
{
- if styling.archenemy_frame == "original" then "original/"
- else "bolas/"
+ if styling.frame_type == "original" then "original/"
+ else "bolas/"
}
illustrator_brush_width := { (if card.illustrator_brush == "art old" then 30 else if contains(card.illustrator_brush, match: "wide") then 15 else 12) * 744/375 }
@@ -134,6 +134,13 @@ init script:
############################################################## Extra style options
+styling field:
+ type: choice
+ name: frame type
+ description: What version of the frame should be used?
+ choice: original
+ choice: bolas
+
styling field:
type: text
name: popout art coordinates
@@ -144,13 +151,6 @@ styling field:
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
initial: no
-styling field:
- type: choice
- name: archenemy frame
- description: The frame of the Scheme card.
- choice: original
- choice: bolas
-
include file: /magic-modules.mse-include/texts/styling_fields
include file: /magic-modules.mse-include/watermarks/styling_fields
@@ -202,20 +202,20 @@ card style:
name:
left:
script:
- if styling.archenemy_frame == "original" then 119
- else 137
+ if styling.frame_type == "original" then 119
+ else 137
top:
script:
- if styling.archenemy_frame == "original" then 72
- else 72
+ if styling.frame_type == "original" then 72
+ else 72
width:
script:
- if styling.archenemy_frame == "original" then 508 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
- else 472 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
+ if styling.frame_type == "original" then 508 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
+ else 472 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
height:
script:
- if styling.archenemy_frame == "original" then 31
- else 42
+ if styling.frame_type == "original" then 31
+ else 42
z index: 900
alignment: { if card.casting_cost != "" then "middle left shrink-overflow" else "middle center shrink-overflow" }
font:
@@ -231,19 +231,19 @@ card style:
casting cost:
right:
script:
- if styling.archenemy_frame == "original" then 626
- else 608
+ if styling.frame_type == "original" then 626
+ else 608
top:
script:
- if styling.archenemy_frame == "original" then 72
- else 71
+ if styling.frame_type == "original" then 72
+ else 71
width:
script:
max(card_style.casting_cost.content_width, 30)
height:
script:
- if styling.archenemy_frame == "original" then 31
- else 42
+ if styling.frame_type == "original" then 31
+ else 42
z index: 920
alignment: middle right shrink-overflow
always symbol: true
@@ -258,20 +258,20 @@ card style:
alias:
left:
script:
- if styling.archenemy_frame == "original" then 188
- else 192
+ if styling.frame_type == "original" then 188
+ else 192
top:
script:
- if styling.archenemy_frame == "original" then 113
- else 123
+ if styling.frame_type == "original" then 113
+ else 123
width:
script:
- if styling.archenemy_frame == "original" then 368
- else 360
+ if styling.frame_type == "original" then 368
+ else 360
height:
script:
- if styling.archenemy_frame == "original" then 21
- else 21
+ if styling.frame_type == "original" then 21
+ else 21
alignment: center middle shrink-overflow
z index: 900
font:
@@ -281,7 +281,7 @@ card style:
weight: bold
color:
script:
- if styling.archenemy_frame == "original" then "black"
+ if styling.frame_type == "original" then "black"
else "black"
############################# Image
image:
@@ -301,20 +301,20 @@ card style:
text:
left:
script:
- if styling.archenemy_frame == "original" then 109
- else 113
+ if styling.frame_type == "original" then 109
+ else 113
top:
script:
- if styling.archenemy_frame == "original" then 731
- else 730
+ if styling.frame_type == "original" then 731
+ else 730
width:
script:
- if styling.archenemy_frame == "original" then 526
- else 518
+ if styling.frame_type == "original" then 526
+ else 518
height:
script:
- if styling.archenemy_frame == "original" then 206
- else 196
+ if styling.frame_type == "original" then 206
+ else 196
z index: 900
line height hard: 1.2
line height line: 1.5
@@ -344,20 +344,20 @@ card style:
pt:
left:
script:
- if styling.archenemy_frame == "original" then 548
- else 595
+ if styling.frame_type == "original" then 548
+ else 595
top:
script:
- if styling.archenemy_frame == "original" then 906
- else 912
+ if styling.frame_type == "original" then 906
+ else 912
width:
script:
- if styling.archenemy_frame == "original" then 99
- else 87
+ if styling.frame_type == "original" then 99
+ else 87
height:
script:
- if styling.archenemy_frame == "original" then 39
- else 42
+ if styling.frame_type == "original" then 39
+ else 42
z index: 900
alignment: center middle shrink-overflow
font:
@@ -369,11 +369,11 @@ card style:
illustrator:
left:
script:
- if styling.archenemy_frame == "original"
+ if styling.frame_type == "original"
or trim(to_text(card.card_code + card.set_code)) == ""
then max(141,378 - (card_style.illustrator_brush.width + card_style.illustrator.content_width + 6)/2) + illustrator_brush_width()
else 408 + illustrator_brush_width()
- top: { if styling.archenemy_frame == "original" then 956 else 967 }
+ top: { if styling.frame_type == "original" then 956 else 967 }
right: 609
height: 18
z index: 900
@@ -381,21 +381,21 @@ card style:
font:
name:
script:
- if styling.archenemy_frame == "original" then "Beleren Bold"
+ if styling.frame_type == "original" then "Beleren Bold"
else "Beleren Small Caps"
size:
script:
- if styling.archenemy_frame == "original" then 16
+ if styling.frame_type == "original" then 16
else 18
color: { styling.copyright_text_color }
illustrator brush:
left:
script:
- if styling.archenemy_frame == "original"
+ if styling.frame_type == "original"
or trim(to_text(card.card_code + card.set_code)) == ""
then max(135,372 - (card_style.illustrator_brush.width + card_style.illustrator.content_width + 6)/2)
else 402
- top: { if styling.archenemy_frame == "original" then 960 else 971 }
+ top: { if styling.frame_type == "original" then 960 else 971 }
width: { illustrator_brush_width() }
height: { 7 * 1039/523 }
popup style: in place
@@ -410,7 +410,7 @@ card style:
card code:
left: { 202 + card_style.set_code.content_width }
top: 967
- width: { if styling.archenemy_frame == "original" then 0 else max(90, card_style.card_code.content_width) }
+ width: { if styling.frame_type == "original" then 0 else max(90, card_style.card_code.content_width) }
height: 20
z index: 900
alignment: middle left
@@ -421,7 +421,7 @@ card style:
set code:
left: 194
top: 967
- width: { if styling.archenemy_frame == "original" then 0 else max(30, card_style.set_code.content_width) }
+ width: { if styling.frame_type == "original" then 0 else max(30, card_style.set_code.content_width) }
height: 20
z index: 900
alignment: middle left
@@ -432,20 +432,20 @@ card style:
copyright:
left:
script:
- if styling.archenemy_frame == "original" then 135
- else 135
+ if styling.frame_type == "original" then 135
+ else 135
top:
script:
- if styling.archenemy_frame == "original" then 976
- else 991
+ if styling.frame_type == "original" then 976
+ else 991
right:
script:
- if styling.archenemy_frame == "original" then 609
- else 609
+ if styling.frame_type == "original" then 609
+ else 609
height:
script:
- if styling.archenemy_frame == "original" then 16
- else 18
+ if styling.frame_type == "original" then 16
+ else 18
z index: 900
alignment: top center shrink-overflow
font:
@@ -453,7 +453,7 @@ card style:
color: { styling.copyright_text_color }
size:
script:
- if styling.archenemy_frame == "original" then 12
+ if styling.frame_type == "original" then 12
else 14
############################################################## Extra card fields
@@ -490,7 +490,7 @@ extra card field:
description: The frame of the Scheme card.
show statistics: false
editable: false
- script: styling.archenemy_frame
+ script: styling.frame_type
extra card style:
foil layer:
@@ -526,7 +526,7 @@ extra card style:
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 910
- visible: { card.pt != "" and styling.archenemy_frame == "original" }
+ visible: { card.pt != "" and styling.frame_type == "original" }
render style: image
image: original/pt_spikes.png
############################# Frame
diff --git a/data/magic-herospath.mse-style/style b/data/magic-herospath.mse-style/style
index 2138c708a..9080cc631 100644
--- a/data/magic-herospath.mse-style/style
+++ b/data/magic-herospath.mse-style/style
@@ -174,7 +174,7 @@ init script:
frame_color :=
{
src := extra_card.herospath_frame
- if src == "default" then src := styling.default_tier_color
+ if src == "default" then src := styling.frame_color
hp_color_to_file(src) + ".png"
}
hp_color_to_file := {
@@ -197,11 +197,12 @@ styling field:
choice: spell
styling field:
type: choice
- name: default tier color
- description: What tier color should be the default? Click the card frame to change individually.
+ name: frame color
+ description: What color should be the default? Click the card frame to change individually.
choice: green
choice: red
choice: purple
+
styling field:
type: text
name: popout art coordinates
@@ -491,7 +492,7 @@ extra card style:
image: { frame_type() + frame_color() }
mask: { frame_type() + "card_mask.png" }
choice images:
- default: {"spell/" + hp_color_to_file(styling.default_tier_color) + "choice_image.png"}
+ default: {"spell/" + hp_color_to_file(styling.frame_color) + "choice_image.png"}
green: spell/gchoice_image.png
red: spell/rchoice_image.png
purple: spell/pchoice_image.png
diff --git a/data/magic-m15-mainframe-planes-mini.mse-style/style b/data/magic-m15-mainframe-planes-mini.mse-style/style
index 0341a9c61..071fc2fee 100644
--- a/data/magic-m15-mainframe-planes-mini.mse-style/style
+++ b/data/magic-m15-mainframe-planes-mini.mse-style/style
@@ -37,7 +37,7 @@ update cards script:
else (
styling_data := []
if chosen(styling.options, choice:"old frame")
- then styling_data := styling_data + [planechase_frame:"original"]
+ then styling_data := styling_data + [frame_type:"original"]
[
new_card(
copy_from: card,
diff --git a/data/magic-m15-mainframe-planes.mse-style/style b/data/magic-m15-mainframe-planes.mse-style/style
index 2012ee43b..88edd2d26 100644
--- a/data/magic-m15-mainframe-planes.mse-style/style
+++ b/data/magic-m15-mainframe-planes.mse-style/style
@@ -37,7 +37,7 @@ update cards script:
else (
styling_data := []
if chosen(styling.options, choice:"old frame")
- then styling_data := styling_data + [planechase_frame:"original"]
+ then styling_data := styling_data + [frame_type:"original"]
[
new_card(
copy_from: card,
diff --git a/data/magic-m15-vanguard.mse-style/style b/data/magic-m15-vanguard.mse-style/style
index f23c0f020..48fb86241 100644
--- a/data/magic-m15-vanguard.mse-style/style
+++ b/data/magic-m15-vanguard.mse-style/style
@@ -43,7 +43,7 @@ update cards script:
[
stylesheet: new_stylesheet,
stylesheet_version: new_version,
- styling_data: [vanguard_frame: "MtGO new"],
+ styling_data: [frame_type: "MtGO new"],
hand_mod: card.power,
life_mod: card.toughness,
power: "",
diff --git a/data/magic-planechase.mse-style/style b/data/magic-planechase.mse-style/style
index 9f4cf8757..43c69a9e0 100644
--- a/data/magic-planechase.mse-style/style
+++ b/data/magic-planechase.mse-style/style
@@ -37,9 +37,9 @@ init script:
swap_fonts_pt_default :=
[
- name: {if styling.planechase_frame == "CBG" then "MatrixRegularSmallCaps" else "Beleren Bold"},
- size: {if styling.planechase_frame == "CBG" then 44.0 else 37.0},
- color: {if styling.planechase_frame == "CBG" then "white" else "black"},
+ name: {if styling.frame_type == "CBG" then "MatrixRegularSmallCaps" else "Beleren Bold"},
+ size: {if styling.frame_type == "CBG" then 44.0 else 37.0},
+ color: {if styling.frame_type == "CBG" then "white" else "black"},
vertical: {0},
italic: {""}
]
@@ -55,18 +55,18 @@ init script:
swap_fonts_type_default :=
[
- name: {if styling.planechase_frame == "CBG" then "Matrix" else "Beleren Bold"},
+ name: {if styling.frame_type == "CBG" then "Matrix" else "Beleren Bold"},
size: {29.0},
- color: {if styling.planechase_frame == "CBG" then "white" else "black"},
+ color: {if styling.frame_type == "CBG" then "white" else "black"},
vertical: {0},
italic: {""}
]
swap_fonts_name_default :=
[
- name: {if styling.planechase_frame == "CBG" then "MatrixRegularSmallCaps" else "Beleren Bold"},
- size: {if styling.planechase_frame == "CBG" then 42.0 else 36.0},
- color: {if styling.planechase_frame == "CBG" then "white" else "black"},
+ name: {if styling.frame_type == "CBG" then "MatrixRegularSmallCaps" else "Beleren Bold"},
+ size: {if styling.frame_type == "CBG" then 42.0 else 36.0},
+ color: {if styling.frame_type == "CBG" then "white" else "black"},
vertical: {0},
italic: {""}
]
@@ -167,37 +167,37 @@ init script:
{
size := art_size()
if styling.stretch_art_to_whole_card
- or size == "borderless" then 0
- else if size == "extended" then 41
- else if styling.planechase_frame == "CBG" then 125
- else 41
+ or size == "borderless" then 0
+ else if size == "extended" then 41
+ else if styling.frame_type == "CBG" then 125
+ else 41
}
art_top :=
{
size := art_size()
if styling.stretch_art_to_whole_card
- or size == "borderless" then 0
- else if size == "extended" then 41
- else if styling.planechase_frame == "CBG" then 153
- else 41
+ or size == "borderless" then 0
+ else if size == "extended" then 41
+ else if styling.frame_type == "CBG" then 153
+ else 41
}
art_width :=
{
size := art_size()
if styling.stretch_art_to_whole_card
- or size == "borderless" then stylesheet.card_width
- else if size == "extended" then 1406
- else if styling.planechase_frame == "CBG" then 1240
- else 1406
+ or size == "borderless" then stylesheet.card_width
+ else if size == "extended" then 1406
+ else if styling.frame_type == "CBG" then 1240
+ else 1406
}
art_bottom :=
{
size := art_size()
if styling.stretch_art_to_whole_card
- or size == "borderless" then stylesheet.card_height
- else if size == "extended" then 1000
- else if styling.planechase_frame == "CBG" then (if styling.typeline_opacity_percentage == "100" then 599 else 921)
- else 1000
+ or size == "borderless" then stylesheet.card_height
+ else if size == "extended" then 1000
+ else if styling.frame_type == "CBG" then (if styling.typeline_opacity_percentage == "100" then 599 else 921)
+ else 1000
}
art_mask :=
@@ -208,14 +208,14 @@ init script:
frame_type :=
{
- if styling.planechase_frame == "doctor who" then "who/"
- else if styling.planechase_frame == "CBG" then "cbg/"
+ if styling.frame_type == "doctor who" then "who/"
+ else if styling.frame_type == "CBG" then "cbg/"
else "mom/"
}
canon_frame :=
{
- styling.planechase_frame == "modern" or styling.planechase_frame == "original"
+ styling.frame_type == "modern" or styling.frame_type == "original"
}
card_code_left :=
@@ -245,7 +245,7 @@ init script:
flat_copyright :=
{
if styling.flat_copyright == "default" then (
- if styling.planechase_frame == "original"
+ if styling.frame_type == "original"
then false
else true
)
@@ -255,7 +255,7 @@ init script:
art_size :=
{
if styling.extended_art == "default" then (
- if styling.planechase_frame == "original" or styling.planechase_frame == "CBG"
+ if styling.frame_type == "original" or styling.frame_type == "CBG"
then "contained"
else "extended"
)
@@ -264,13 +264,13 @@ init script:
############################################################## Extra style options
styling field:
- type: choice
- name: planechase frame
- description: The frame of the Plane or Phenomenon card.
+ type: choice
+ name: frame type
+ description: Which version of the frame should be used?
choice: modern
- choice: original
- choice: doctor who
- choice: CBG
+ choice: original
+ choice: doctor who
+ choice: CBG
styling field:
type: choice
name: extended art
@@ -398,24 +398,24 @@ card style:
name:
left:
script:
- if canon_frame() then 120
- else if styling.planechase_frame == "CBG" then 114
- else 120
+ if canon_frame() then 120
+ else if styling.frame_type == "CBG" then 114
+ else 120
top:
script:
- if canon_frame() then 64 - (if card.casting_cost != "" then 8 else 0)
- else if styling.planechase_frame == "CBG" then 82
- else 64 - (if card.casting_cost != "" then 9 else 0)
+ if canon_frame() then 64 - (if card.casting_cost != "" then 8 else 0)
+ else if styling.frame_type == "CBG" then 82
+ else 64 - (if card.casting_cost != "" then 9 else 0)
width:
script:
- if canon_frame() then 1248 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+15 else 0)
- else if styling.planechase_frame == "CBG" then 1260 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+15 else 0)
- else 1248 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+15 else 0)
+ if canon_frame() then 1248 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+15 else 0)
+ else if styling.frame_type == "CBG" then 1260 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+15 else 0)
+ else 1248 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+15 else 0)
height:
script:
- if canon_frame() then 54
- else if styling.planechase_frame == "CBG" then 53
- else 51
+ if canon_frame() then 54
+ else if styling.frame_type == "CBG" then 53
+ else 51
z index: 900
alignment: { if card.casting_cost != "" then "middle left shrink-overflow" else "middle center shrink-overflow" }
font:
@@ -431,70 +431,70 @@ card style:
casting cost:
right:
script:
- if canon_frame() then 1369
- else if styling.planechase_frame == "CBG" then 1374
- else 1369
+ if canon_frame() then 1369
+ else if styling.frame_type == "CBG" then 1374
+ else 1369
top:
script:
- if canon_frame() then 56
- else if styling.planechase_frame == "CBG" then 88
- else 56
+ if canon_frame() then 56
+ else if styling.frame_type == "CBG" then 88
+ else 56
width:
script:
max(card_style.casting_cost.content_width, 120)
height:
script:
- if canon_frame() then 54
- else if styling.planechase_frame == "CBG" then 53
- else 51
+ if canon_frame() then 54
+ else if styling.frame_type == "CBG" then 53
+ else 51
z index: 920
alignment: middle right shrink-overflow
always symbol: true
font:
name: { casting_cost_font() }
italic name: { casting_cost_font_italic() }
- size: { casting_cost_font_size() - (if styling.planechase_frame == "CBG" then 0 else 2) }
+ size: { casting_cost_font_size() - (if styling.frame_type == "CBG" then 0 else 2) }
color: { casting_cost_font_color() }
symbol font:
name: { styling.casting_cost_mana_symbols or else "magic-mana-large" }
- size: { casting_cost_font_size() - (if styling.planechase_frame == "CBG" then 0 else 2) }
+ size: { casting_cost_font_size() - (if styling.frame_type == "CBG" then 0 else 2) }
alias:
left:
script:
- if canon_frame() then 510
- else if styling.planechase_frame == "CBG" then 435
- else 510
+ if canon_frame() then 510
+ else if styling.frame_type == "CBG" then 435
+ else 510
top:
script:
- if canon_frame() then 144
- else if styling.planechase_frame == "CBG" then 156
- else 143
+ if canon_frame() then 144
+ else if styling.frame_type == "CBG" then 156
+ else 143
width:
script:
- if canon_frame() then 468
- else if styling.planechase_frame == "CBG" then 618
- else 468
+ if canon_frame() then 468
+ else if styling.frame_type == "CBG" then 618
+ else 468
height:
script:
- if canon_frame() then 27
- else if styling.planechase_frame == "CBG" then 25
- else 25
+ if canon_frame() then 27
+ else if styling.frame_type == "CBG" then 25
+ else 25
alignment: center middle shrink-overflow
z index: 900
font:
name: MPlantin-Italic
size:
script:
- if canon_frame() then 20
- else if styling.planechase_frame == "CBG" then 20
- else 20
+ if canon_frame() then 20
+ else if styling.frame_type == "CBG" then 20
+ else 20
style: bold
weight: bold
color:
script:
- if canon_frame() then "black"
- else if styling.planechase_frame == "CBG" then "white"
- else "black"
+ if canon_frame() then "black"
+ else if styling.frame_type == "CBG" then "white"
+ else "black"
############################# Image
image:
left: { art_left() }
@@ -513,24 +513,24 @@ card style:
type:
left:
script:
- if canon_frame() then 340
- else if styling.planechase_frame == "CBG" then 114
- else 340
+ if canon_frame() then 340
+ else if styling.frame_type == "CBG" then 114
+ else 340
top:
script:
- if canon_frame() then 696
- else if styling.planechase_frame == "CBG" then 611
- else 696
+ if canon_frame() then 696
+ else if styling.frame_type == "CBG" then 611
+ else 696
width:
script:
- if canon_frame() then 808
- else if styling.planechase_frame == "CBG" then 1260
- else 808
+ if canon_frame() then 808
+ else if styling.frame_type == "CBG" then 1260
+ else 808
height:
script:
- if canon_frame() then 41
- else if styling.planechase_frame == "CBG" then 50
- else 38
+ if canon_frame() then 41
+ else if styling.frame_type == "CBG" then 50
+ else 38
z index: 900
alignment: middle center shrink-overflow
font:
@@ -543,24 +543,24 @@ card style:
text:
left:
script:
- if canon_frame() then 175
- else if styling.planechase_frame == "CBG" then 135
- else 170
+ if canon_frame() then 175
+ else if styling.frame_type == "CBG" then 135
+ else 170
top:
script:
- if canon_frame() then 754 + chop_top() + body_font_vertical()
- else if styling.planechase_frame == "CBG" then 685 + chop_top() + body_font_vertical()
- else 759 + chop_top() + body_font_vertical()
+ if canon_frame() then 754 + chop_top() + body_font_vertical()
+ else if styling.frame_type == "CBG" then 685 + chop_top() + body_font_vertical()
+ else 759 + chop_top() + body_font_vertical()
width:
script:
- if canon_frame() then 1138
- else if styling.planechase_frame == "CBG" then 1217
- else 1148
+ if canon_frame() then 1138
+ else if styling.frame_type == "CBG" then 1217
+ else 1148
bottom:
script:
- if canon_frame() then (if flat_copyright() then 981 else 956) - chop_bot()
- else if styling.planechase_frame == "CBG" then 909 - chop_bot()
- else (if flat_copyright() then 977 else 960) - chop_bot()
+ if canon_frame() then (if flat_copyright() then 981 else 956) - chop_bot()
+ else if styling.frame_type == "CBG" then 909 - chop_bot()
+ else (if flat_copyright() then 977 else 960) - chop_bot()
z index: 900
line height soft: 0.9
line height hard: 1.2
@@ -582,24 +582,24 @@ card style:
pt:
left:
script:
- if canon_frame() then 1265
- else if styling.planechase_frame == "CBG" then 1294
- else 1283
+ if canon_frame() then 1265
+ else if styling.frame_type == "CBG" then 1294
+ else 1283
top:
script:
- if canon_frame() then 941
- else if styling.planechase_frame == "CBG" then 910
- else 940
+ if canon_frame() then 941
+ else if styling.frame_type == "CBG" then 910
+ else 940
width:
script:
- if canon_frame() then 121
- else if styling.planechase_frame == "CBG" then 128
- else 111
+ if canon_frame() then 121
+ else if styling.frame_type == "CBG" then 128
+ else 111
height:
script:
- if canon_frame() then 58
- else if styling.planechase_frame == "CBG" then 65
- else 54
+ if canon_frame() then 58
+ else if styling.frame_type == "CBG" then 65
+ else 54
z index: 900
alignment: center middle shrink-overflow
font:
@@ -610,7 +610,7 @@ card style:
############################# Information
illustrator:
left: { illustrator_brush_left() + (if card.illustrator_brush == "art old" then 30 else if contains(card.illustrator_brush, match: "wide") then 15 else 12) * 744/375 + 4 }
- top: { if flat_copyright() then 1004 else (if canon_frame() then 977 else if styling.planechase_frame == "CBG" then 947 else 985) + (if trim(to_text(card.card_code + card.set_code + card.copyright)) == "" then 10 else 0) }
+ top: { if flat_copyright() then 1004 else (if canon_frame() then 977 else if styling.frame_type == "CBG" then 947 else 985) + (if trim(to_text(card.card_code + card.set_code + card.copyright)) == "" then 10 else 0) }
right: { if flat_copyright() then 722 else 956 }
height: 20
z index: 900
@@ -621,7 +621,7 @@ card style:
color: { styling.copyright_text_color }
illustrator brush:
left: { illustrator_brush_left() }
- top: { if flat_copyright() then 1007 else (if canon_frame() then 981 else if styling.planechase_frame == "CBG" then 951 else 989) + (if trim(to_text(card.card_code + card.set_code + card.copyright)) == "" then 10 else 0) }
+ top: { if flat_copyright() then 1007 else (if canon_frame() then 981 else if styling.frame_type == "CBG" then 951 else 989) + (if trim(to_text(card.card_code + card.set_code + card.copyright)) == "" then 10 else 0) }
width: { (if card.illustrator_brush == "art old" then 30 else if contains(card.illustrator_brush, match: "wide") then 15 else 12) * 744/375 }
height: { 7 * 1039/523 }
popup style: in place
@@ -631,7 +631,7 @@ card style:
z index: 900
card code:
left: { card_code_left() }
- top: { if flat_copyright() then 1003 else if canon_frame() then 1003 else if styling.planechase_frame == "CBG" then 973 else 1011 }
+ top: { if flat_copyright() then 1003 else if canon_frame() then 1003 else if styling.frame_type == "CBG" then 973 else 1011 }
width: { max(30, card_style.card_code.content_width) }
height: 20
z index: 900
@@ -642,7 +642,7 @@ card style:
color: { styling.copyright_text_color }
set code:
left: { set_code_left() }
- top: { if flat_copyright() then 1003 else if canon_frame() then 1003 else if styling.planechase_frame == "CBG" then 973 else 1011 }
+ top: { if flat_copyright() then 1003 else if canon_frame() then 1003 else if styling.frame_type == "CBG" then 973 else 1011 }
width: { max(30, card_style.set_code.content_width) }
height: 20
z index: 900
@@ -653,7 +653,7 @@ card style:
color: { styling.copyright_text_color }
copyright:
left: { if flat_copyright() then 766 else set_code_left() + card_style.set_code.content_width + 8 }
- top: { if flat_copyright() then 1004 else if canon_frame() then 1003 else if styling.planechase_frame == "CBG" then 973 else 1011 }
+ top: { if flat_copyright() then 1004 else if canon_frame() then 1003 else if styling.frame_type == "CBG" then 973 else 1011 }
right: { if flat_copyright() then (if card.pt == "" then 1336 else 1254) else 1111 }
height: 20
z index: 900
@@ -781,9 +781,9 @@ extra card style:
chaos symbol:
left:
script:
- if canon_frame() then 179 + (72 - chaos_symbol_width())/2
- else if styling.planechase_frame == "CBG" then 136 + (72 - chaos_symbol_width())/2
- else 174 + (72 - chaos_symbol_width())/2
+ if canon_frame() then 179 + (72 - chaos_symbol_width())/2
+ else if styling.frame_type == "CBG" then 136 + (72 - chaos_symbol_width())/2
+ else 174 + (72 - chaos_symbol_width())/2
top: { chaos_symbol_top() }
width: { chaos_symbol_width() }
height: { chaos_symbol_height() }
@@ -798,24 +798,24 @@ extra card style:
ptbox:
left:
script:
- if canon_frame() then 1248
- else if styling.planechase_frame == "CBG" then 1277
- else 1255
+ if canon_frame() then 1248
+ else if styling.frame_type == "CBG" then 1277
+ else 1255
top:
script:
- if canon_frame() then 927
- else if styling.planechase_frame == "CBG" then 900
- else 919
+ if canon_frame() then 927
+ else if styling.frame_type == "CBG" then 900
+ else 919
width:
script:
- if canon_frame() then 156
- else if styling.planechase_frame == "CBG" then 162
- else 167
+ if canon_frame() then 156
+ else if styling.frame_type == "CBG" then 162
+ else 167
height:
script:
- if canon_frame() then 91
- else if styling.planechase_frame == "CBG" then 91
- else 98
+ if canon_frame() then 91
+ else if styling.frame_type == "CBG" then 91
+ else 98
z index: 800
visible: { card.pt != "" }
render style: image
@@ -823,22 +823,22 @@ extra card style:
namebox:
left:
script:
- if canon_frame() then 99
- else 101
+ if canon_frame() then 99
+ else 101
top:
script:
- if canon_frame() then 46
- else 50
+ if canon_frame() then 46
+ else 50
width:
script:
- if canon_frame() then 1290
- else 1286
+ if canon_frame() then 1290
+ else 1286
height:
script:
- if canon_frame() then 92
- else 79
+ if canon_frame() then 92
+ else 79
z index: 190
- visible: { styling.planechase_frame != "CBG" }
+ visible: { styling.frame_type != "CBG" }
render style: image
image: { set_alpha(frame_type() + "namebox.png", alpha: get_alpha_percentage(styling.nameline_opacity_percentage, default: 80)) }
aliasbar:
@@ -852,43 +852,43 @@ extra card style:
aliasbox:
left:
script:
- if canon_frame() then 398
- else 397
+ if canon_frame() then 398
+ else 397
top:
script:
- if canon_frame() then 131
- else 128
+ if canon_frame() then 131
+ else 128
width:
script:
- if canon_frame() then 692
- else 694
+ if canon_frame() then 692
+ else 694
height:
script:
- if canon_frame() then 48
- else 50
+ if canon_frame() then 48
+ else 50
z index: 190
- visible: { card.alias != "" and styling.planechase_frame != "CBG" }
+ visible: { card.alias != "" and styling.frame_type != "CBG" }
render style: image
image: { set_alpha(frame_type() + "aliasbox.png", alpha: get_alpha_percentage(styling.aliasline_opacity_percentage, default: 80)) }
typebox:
left:
script:
- if canon_frame() then 308
- else 306
+ if canon_frame() then 308
+ else 306
top:
script:
- if canon_frame() then 688
- else 686
+ if canon_frame() then 688
+ else 686
width:
script:
- if canon_frame() then 872
- else 876
+ if canon_frame() then 872
+ else 876
height:
script:
- if canon_frame() then 54
- else 54
+ if canon_frame() then 54
+ else 54
z index: 190
- visible: { styling.planechase_frame != "CBG" }
+ visible: { styling.frame_type != "CBG" }
render style: image
image: { set_alpha(frame_type() + "typebox.png", alpha: get_alpha_percentage(styling.typeline_opacity_percentage, default: 80)) }
textbox full:
@@ -897,7 +897,7 @@ extra card style:
width: 1252
height: 255
z index: 180
- visible: { styling.planechase_frame == "CBG" and styling.typeline_opacity_percentage == "100" }
+ visible: { styling.frame_type == "CBG" and styling.typeline_opacity_percentage == "100" }
render style: image
image: cbg/textbox_full.png
textbox 1:
@@ -954,14 +954,14 @@ extra card style:
height: { stylesheet.card_height }
z index: 200
render style: image
- image: { frame_type() + "copyright" + (if styling.planechase_frame == "CBG" and art_size() != "contained" then "_extended" else "") + (if flat_copyright() then ".png" else "_round.png") }
+ image: { frame_type() + "copyright" + (if styling.frame_type == "CBG" and art_size() != "contained" then "_extended" else "") + (if flat_copyright() then ".png" else "_round.png") }
girders:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 180
- visible: { styling.planechase_frame == "original" }
+ visible: { styling.frame_type == "original" }
render style: image
image: mom/girders.png
foil layer:
@@ -991,7 +991,7 @@ extra card style:
z index: 200
popup style: in place
render style: image
- image: { frame_type() + "card" + (if styling.planechase_frame == "original" then "_og" else "") + (if art_size() != "contained" then "_extended.png" else ".png") }
+ image: { frame_type() + "card" + (if styling.frame_type == "original" then "_og" else "") + (if art_size() != "contained" then "_extended.png" else ".png") }
mask: { frame_type() + "card_mask.png" }
choice images:
original: mom/choice_image.png
diff --git a/data/magic-vanguard.mse-style/style b/data/magic-vanguard.mse-style/style
index d6faf1c90..7e1aa30f5 100644
--- a/data/magic-vanguard.mse-style/style
+++ b/data/magic-vanguard.mse-style/style
@@ -47,7 +47,7 @@ init script:
swap_fonts_body_default :=
[
- name: {if styling.vanguard_frame == "paper" then "MPlantin" else if styling.vanguard_frame == "MtGO new" then "MPlantin" else "Arial"},
+ name: {if styling.frame_type == "paper" then "MPlantin" else if styling.frame_type == "MtGO new" then "MPlantin" else "Arial"},
size: {28.0},
color: {"black"},
vertical: {0},
@@ -56,8 +56,8 @@ init script:
swap_fonts_type_default :=
[
- name: {if styling.vanguard_frame == "paper" then "Fritz Quadrata Cyrillic" else if styling.vanguard_frame == "MtGO new" then "Beleren Bold" else "Arial"},
- size: {if styling.vanguard_frame == "paper" then 22 else if styling.vanguard_frame == "MtGO new" then 25 else 22},
+ name: {if styling.frame_type == "paper" then "Fritz Quadrata Cyrillic" else if styling.frame_type == "MtGO new" then "Beleren Bold" else "Arial"},
+ size: {if styling.frame_type == "paper" then 22 else if styling.frame_type == "MtGO new" then 25 else 22},
color: {"black"},
vertical: {0},
italic: {""}
@@ -65,14 +65,14 @@ init script:
swap_fonts_name_default :=
[
- name: {if styling.vanguard_frame == "paper" then "Fritz Quadrata Cyrillic" else if styling.vanguard_frame == "MtGO new" then "Beleren Bold" else "Arial"},
- size: {if styling.vanguard_frame == "paper" then 37 else if styling.vanguard_frame == "MtGO new" then 30 else 30},
+ name: {if styling.frame_type == "paper" then "Fritz Quadrata Cyrillic" else if styling.frame_type == "MtGO new" then "Beleren Bold" else "Arial"},
+ size: {if styling.frame_type == "paper" then 37 else if styling.frame_type == "MtGO new" then 30 else 30},
color: {"black"},
vertical: {0},
italic: {""}
]
- flavor_bar_disabled_1 := { styling.vanguard_frame == "paper" }
+ flavor_bar_disabled_1 := { styling.frame_type == "paper" }
invert_watermark_1 := { false }
@@ -92,31 +92,31 @@ init script:
art_left :=
{
- if styling.stretch_art_to_whole_card then 0
- else if styling.vanguard_frame == "paper" then 91
- else if styling.vanguard_frame == "MtGO new" then 79
- else 94
+ if styling.stretch_art_to_whole_card then 0
+ else if styling.frame_type == "paper" then 91
+ else if styling.frame_type == "MtGO new" then 79
+ else 94
}
art_top :=
{
- if styling.stretch_art_to_whole_card then 0
- else if styling.vanguard_frame == "paper" then 104
- else if styling.vanguard_frame == "MtGO new" then 119
- else 118
+ if styling.stretch_art_to_whole_card then 0
+ else if styling.frame_type == "paper" then 104
+ else if styling.frame_type == "MtGO new" then 119
+ else 118
}
art_width :=
{
- if styling.stretch_art_to_whole_card then stylesheet.card_width
- else if styling.vanguard_frame == "paper" then 562
- else if styling.vanguard_frame == "MtGO new" then 586
- else 551
+ if styling.stretch_art_to_whole_card then stylesheet.card_width
+ else if styling.frame_type == "paper" then 562
+ else if styling.frame_type == "MtGO new" then 586
+ else 551
}
art_height :=
{
- if styling.stretch_art_to_whole_card then stylesheet.card_height
- else if styling.vanguard_frame == "paper" then 494
- else if styling.vanguard_frame == "MtGO new" then 479
- else 447
+ if styling.stretch_art_to_whole_card then stylesheet.card_height
+ else if styling.frame_type == "paper" then 494
+ else if styling.frame_type == "MtGO new" then 479
+ else 447
}
art_mask :=
@@ -126,21 +126,21 @@ init script:
frame_type :=
{
- if styling.vanguard_frame == "paper" then "paper/"
- else if styling.vanguard_frame == "MtGO new" then "mtgo_new/"
- else "mtgo_old/"
+ if styling.frame_type == "paper" then "paper/"
+ else if styling.frame_type == "MtGO new" then "mtgo_new/"
+ else "mtgo_old/"
}
vanguard_hand_mod_label_default :=
{
- frame := styling.vanguard_frame or else "paper"
+ frame := styling.frame_type or else "paper"
if frame == "paper" then "Starting & Max. Hand Size"
else if frame == "MtGO new" then ""
else "Hand"
}
vanguard_life_mod_label_default :=
{
- frame := styling.vanguard_frame or else "paper"
+ frame := styling.frame_type or else "paper"
if frame == "paper" then "Starting Life"
else if frame == "MtGO new" then ""
else "Life"
@@ -148,34 +148,33 @@ init script:
############################################################## Extra style options
-styling field:
- type: text
- name: popout art coordinates
- description: The coordinates for the popout image field, formatted as "left,top,width,height". Used to make the illustration jump in front of the frame.
-styling field:
- type: boolean
- 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.
- initial: no
-
styling field:
type: choice
- name: vanguard frame
+ name: frame type
+ description: What version of the frame should be used?
choice: paper
choice: MtGO new
choice: MtGO old
- description: The frame of the Vanguard card.
styling field:
type: text
name: alt hand mod label
description: Overwrite the default label for the starting hand size modifier.
-
styling field:
type: text
name: alt life mod label
description: Overwrite the default label for the starting life total modifier.
-
+
+styling field:
+ type: text
+ name: popout art coordinates
+ description: The coordinates for the popout image field, formatted as "left,top,width,height". Used to make the illustration jump in front of the frame.
+styling field:
+ type: boolean
+ 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.
+ initial: no
+
include file: /magic-modules.mse-include/texts/styling_fields
include file: /magic-modules.mse-include/watermarks/styling_fields
@@ -226,26 +225,26 @@ card style:
name:
left:
script:
- if styling.vanguard_frame == "paper" then 137
- else if styling.vanguard_frame == "MtGO new" then 106
- else 114
+ if styling.frame_type == "paper" then 137
+ else if styling.frame_type == "MtGO new" then 106
+ else 114
top:
script:
- if styling.vanguard_frame == "paper" then 53
- else if styling.vanguard_frame == "MtGO new" then 55
- else 69
+ if styling.frame_type == "paper" then 53
+ else if styling.frame_type == "MtGO new" then 55
+ else 69
width:
script:
- if styling.vanguard_frame == "paper" then 470 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
- else if styling.vanguard_frame == "MtGO new" then 534 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
- else 516 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
+ if styling.frame_type == "paper" then 470 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
+ else if styling.frame_type == "MtGO new" then 534 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
+ else 516 - (if card_style.casting_cost.content_width > 0 then card_style.casting_cost.content_width+10 else 0)
height:
script:
- if styling.vanguard_frame == "paper" then 43
- else if styling.vanguard_frame == "MtGO new" then 44
- else 38
+ if styling.frame_type == "paper" then 43
+ else if styling.frame_type == "MtGO new" then 44
+ else 38
z index: 900
- alignment: { if card.casting_cost != "" or styling.vanguard_frame == "MtGO new" then "middle left shrink-overflow" else "middle center shrink-overflow" }
+ alignment: { if card.casting_cost != "" or styling.frame_type == "MtGO new" then "middle left shrink-overflow" else "middle center shrink-overflow" }
font:
name: { name_font() }
italic name: { name_font_italic() }
@@ -259,22 +258,22 @@ card style:
casting cost:
right:
script:
- if styling.vanguard_frame == "paper" then 608
- else if styling.vanguard_frame == "MtGO new" then 640
- else 631
+ if styling.frame_type == "paper" then 608
+ else if styling.frame_type == "MtGO new" then 640
+ else 631
top:
script:
- if styling.vanguard_frame == "paper" then 53
- else if styling.vanguard_frame == "MtGO new" then 56
- else 68
+ if styling.frame_type == "paper" then 53
+ else if styling.frame_type == "MtGO new" then 56
+ else 68
width:
script:
max(card_style.casting_cost.content_width, 30)
height:
script:
- if styling.vanguard_frame == "paper" then 43
- else if styling.vanguard_frame == "MtGO new" then 44
- else 38
+ if styling.frame_type == "paper" then 43
+ else if styling.frame_type == "MtGO new" then 44
+ else 38
z index: 920
alignment: middle right shrink-overflow
always symbol: true
@@ -289,24 +288,24 @@ card style:
alias:
left:
script:
- if styling.vanguard_frame == "paper" then 193
- else if styling.vanguard_frame == "MtGO new" then 146
- else 230
+ if styling.frame_type == "paper" then 193
+ else if styling.frame_type == "MtGO new" then 146
+ else 230
top:
script:
- if styling.vanguard_frame == "paper" then 112
- else if styling.vanguard_frame == "MtGO new" then 121
- else 132
+ if styling.frame_type == "paper" then 112
+ else if styling.frame_type == "MtGO new" then 120
+ else 132
width:
script:
- if styling.vanguard_frame == "paper" then 358
- else if styling.vanguard_frame == "MtGO new" then 452
- else 282
+ if styling.frame_type == "paper" then 358
+ else if styling.frame_type == "MtGO new" then 452
+ else 282
height:
script:
- if styling.vanguard_frame == "paper" then 25
- else if styling.vanguard_frame == "MtGO new" then 21
- else 19
+ if styling.frame_type == "paper" then 25
+ else if styling.frame_type == "MtGO new" then 21
+ else 19
alignment: center middle shrink-overflow
z index: 900
font:
@@ -316,9 +315,9 @@ card style:
weight: bold
color:
script:
- if styling.vanguard_frame == "paper" then "black"
- else if styling.vanguard_frame == "MtGO new" then "white"
- else "black"
+ if styling.frame_type == "paper" then "black"
+ else if styling.frame_type == "MtGO new" then "white"
+ else "black"
############################# Image
image:
left: { art_left() }
@@ -337,26 +336,26 @@ card style:
type:
left:
script:
- if styling.vanguard_frame == "paper" then 125
- else if styling.vanguard_frame == "MtGO new" then 83
- else 117
+ if styling.frame_type == "paper" then 125
+ else if styling.frame_type == "MtGO new" then 83
+ else 117
top:
script:
- if styling.vanguard_frame == "paper" then 613
- else if styling.vanguard_frame == "MtGO new" then 609
- else 584
+ if styling.frame_type == "paper" then 613
+ else if styling.frame_type == "MtGO new" then 609
+ else 584
width:
script:
- if styling.vanguard_frame == "paper" then 494
- else if styling.vanguard_frame == "MtGO new" then 578
- else 510
+ if styling.frame_type == "paper" then 494
+ else if styling.frame_type == "MtGO new" then 578
+ else 510
height:
script:
- if styling.vanguard_frame == "paper" then 26
- else if styling.vanguard_frame == "MtGO new" then 37
- else 33
+ if styling.frame_type == "paper" then 26
+ else if styling.frame_type == "MtGO new" then 37
+ else 33
z index: 900
- alignment: { if styling.vanguard_frame == "MtGO new" then "middle left shrink-overflow" else "middle center shrink-overflow" }
+ alignment: { if styling.frame_type == "MtGO new" then "middle left shrink-overflow" else "middle center shrink-overflow" }
font:
name: { type_font() }
italic name: { type_font_italic() }
@@ -367,24 +366,24 @@ card style:
text:
left:
script:
- if styling.vanguard_frame == "paper" then 88
- else if styling.vanguard_frame == "MtGO new" then 86
- else 104
+ if styling.frame_type == "paper" then 88
+ else if styling.frame_type == "MtGO new" then 86
+ else 104
top:
script:
- if styling.vanguard_frame == "paper" then 655
- else if styling.vanguard_frame == "MtGO new" then 670
- else 632
+ if styling.frame_type == "paper" then 655
+ else if styling.frame_type == "MtGO new" then 670
+ else 632
width:
script:
- if styling.vanguard_frame == "paper" then 0
- else if styling.vanguard_frame == "MtGO new" then 571
- else 536
+ if styling.frame_type == "paper" then 0
+ else if styling.frame_type == "MtGO new" then 571
+ else 536
height:
script:
- if styling.vanguard_frame == "paper" then 268
- else if styling.vanguard_frame == "MtGO new" then 246
- else 248
+ if styling.frame_type == "paper" then 268
+ else if styling.frame_type == "MtGO new" then 246
+ else 248
z index: 900
line height hard: 1.2
line height line: 1.5
@@ -398,7 +397,7 @@ card style:
else if (not contains(match:"\n", card.rule_text) and
card.flavor_text == "" and
card_style.text.content_lines <= 2)
- or styling.vanguard_frame == "paper"
+ or styling.frame_type == "paper"
then "middle center"
else "middle left"
font:
@@ -416,7 +415,7 @@ card style:
top: 655
width:
script:
- if styling.vanguard_frame == "paper" then 568
+ if styling.frame_type == "paper" then 568
else 0
height: 115
z index: 900
@@ -432,7 +431,7 @@ card style:
else if (not contains(match:"\n", card.rule_text) and
card.flavor_text == "" and
card_style.text.content_lines <= 2)
- or styling.vanguard_frame == "paper"
+ or styling.frame_type == "paper"
then "middle center"
else "middle left"
font:
@@ -450,8 +449,8 @@ card style:
top: 782
width:
script:
- if styling.vanguard_frame == "paper" then 437
- else 0
+ if styling.frame_type == "paper" then 437
+ else 0
height: 140
z index: 900
line height hard: 1.2
@@ -466,7 +465,7 @@ card style:
else if (not contains(match:"\n", card.rule_text) and
card.flavor_text == "" and
card_style.text.content_lines <= 2)
- or styling.vanguard_frame == "paper"
+ or styling.frame_type == "paper"
then "middle center"
else "middle left"
font:
@@ -482,136 +481,136 @@ card style:
hand mod:
left:
script:
- if styling.vanguard_frame == "paper" then 83
- else if styling.vanguard_frame == "MtGO new" then 160
- else 186
+ if styling.frame_type == "paper" then 83
+ else if styling.frame_type == "MtGO new" then 160
+ else 186
top:
script:
- if styling.vanguard_frame == "paper" then 872
- else if styling.vanguard_frame == "MtGO new" then 936
- else 900
+ if styling.frame_type == "paper" then 872
+ else if styling.frame_type == "MtGO new" then 936
+ else 900
width:
script:
- if styling.vanguard_frame == "paper" then 44
- else if styling.vanguard_frame == "MtGO new" then 76
- else 40
+ if styling.frame_type == "paper" then 44
+ else if styling.frame_type == "MtGO new" then 76
+ else 40
height:
script:
- if styling.vanguard_frame == "paper" then 47
- else if styling.vanguard_frame == "MtGO new" then 44
- else 41
+ if styling.frame_type == "paper" then 47
+ else if styling.frame_type == "MtGO new" then 44
+ else 41
z index: 900
alignment: center middle shrink-overflow
font:
name:
script:
- if styling.vanguard_frame == "paper" then "Fritz Quadrata Cyrillic"
- else if styling.vanguard_frame == "MtGO new" then "Beleren Bold"
- else "Arial"
+ if styling.frame_type == "paper" then "Fritz Quadrata Cyrillic"
+ else if styling.frame_type == "MtGO new" then "Beleren Bold"
+ else "Arial"
size:
script:
- if styling.vanguard_frame == "paper" then 25
- else if styling.vanguard_frame == "MtGO new" then 35
- else 20
+ if styling.frame_type == "paper" then 25
+ else if styling.frame_type == "MtGO new" then 35
+ else 20
weight:
script:
- if styling.vanguard_frame == "paper" then "bold"
- else if styling.vanguard_frame == "MtGO new" then "bold"
- else ""
+ if styling.frame_type == "paper" then "bold"
+ else if styling.frame_type == "MtGO new" then "bold"
+ else ""
scale down to: 7
color: black
life mod:
left:
script:
- if styling.vanguard_frame == "paper" then 615
- else if styling.vanguard_frame == "MtGO new" then 508
- else 520
+ if styling.frame_type == "paper" then 615
+ else if styling.frame_type == "MtGO new" then 508
+ else 520
top:
script:
- if styling.vanguard_frame == "paper" then 872
- else if styling.vanguard_frame == "MtGO new" then 936
- else 900
+ if styling.frame_type == "paper" then 872
+ else if styling.frame_type == "MtGO new" then 936
+ else 900
width:
script:
- if styling.vanguard_frame == "paper" then 44
- else if styling.vanguard_frame == "MtGO new" then 76
- else 40
+ if styling.frame_type == "paper" then 44
+ else if styling.frame_type == "MtGO new" then 76
+ else 40
height:
script:
- if styling.vanguard_frame == "paper" then 47
- else if styling.vanguard_frame == "MtGO new" then 44
- else 41
+ if styling.frame_type == "paper" then 47
+ else if styling.frame_type == "MtGO new" then 44
+ else 41
z index: 900
alignment: center middle shrink-overflow
font:
name:
script:
- if styling.vanguard_frame == "paper" then "Fritz Quadrata Cyrillic"
- else if styling.vanguard_frame == "MtGO new" then "Beleren Bold"
- else "Arial"
+ if styling.frame_type == "paper" then "Fritz Quadrata Cyrillic"
+ else if styling.frame_type == "MtGO new" then "Beleren Bold"
+ else "Arial"
size:
script:
- if styling.vanguard_frame == "paper" then 25
- else if styling.vanguard_frame == "MtGO new" then 35
- else 20
+ if styling.frame_type == "paper" then 25
+ else if styling.frame_type == "MtGO new" then 35
+ else 20
weight:
script:
- if styling.vanguard_frame == "paper" then "bold"
- else if styling.vanguard_frame == "MtGO new" then "bold"
- else ""
+ if styling.frame_type == "paper" then "bold"
+ else if styling.frame_type == "MtGO new" then "bold"
+ else ""
scale down to: 7
color: black
############################# Information
illustrator:
left:
script:
- if styling.vanguard_frame == "paper" then 194
- else if styling.vanguard_frame == "MtGO new" then (max(262,372 - (card_style.illustrator_brush.width + card_style.illustrator.content_width + 4)/2) + card_style.illustrator_brush.width + 4)
- else 125
+ if styling.frame_type == "paper" then 194
+ else if styling.frame_type == "MtGO new" then (max(262,372 - (card_style.illustrator_brush.width + card_style.illustrator.content_width + 4)/2) + card_style.illustrator_brush.width + 4)
+ else 125
top:
script:
- if styling.vanguard_frame == "paper" then 920
- else if styling.vanguard_frame == "MtGO new" then 974
- else 953
+ if styling.frame_type == "paper" then 920
+ else if styling.frame_type == "MtGO new" then 974
+ else 953
right:
script:
- if styling.vanguard_frame == "paper" then 550
- else if styling.vanguard_frame == "MtGO new" then 482
- else 610
+ if styling.frame_type == "paper" then 550
+ else if styling.frame_type == "MtGO new" then 482
+ else 610
height:
script:
- if styling.vanguard_frame == "paper" then 32
- else if styling.vanguard_frame == "MtGO new" then 22
- else 27
+ if styling.frame_type == "paper" then 32
+ else if styling.frame_type == "MtGO new" then 22
+ else 27
z index: 900
alignment:
script:
- if styling.vanguard_frame == "paper" then "bottom center shrink-overflow"
- else if styling.vanguard_frame == "MtGO new" then "middle left shrink-overflow"
- else "middle left shrink-overflow"
+ if styling.frame_type == "paper" then "bottom center shrink-overflow"
+ else if styling.frame_type == "MtGO new" then "middle left shrink-overflow"
+ else "middle left shrink-overflow"
font:
name:
script:
- if styling.vanguard_frame == "paper" then "MPlantin"
- else if styling.vanguard_frame == "MtGO new" then "Matrix"
- else "Arial-Mdm"
+ if styling.frame_type == "paper" then "MPlantin"
+ else if styling.frame_type == "MtGO new" then "Matrix"
+ else "Arial-Mdm"
size:
script:
- if styling.vanguard_frame == "paper" then 15
- else if styling.vanguard_frame == "MtGO new" then 16
- else 24
+ if styling.frame_type == "paper" then 15
+ else if styling.frame_type == "MtGO new" then 16
+ else 24
weight:
script:
- if styling.vanguard_frame == "paper" then ""
- else if styling.vanguard_frame == "MtGO new" then "bold"
- else ""
+ if styling.frame_type == "paper" then ""
+ else if styling.frame_type == "MtGO new" then "bold"
+ else ""
color:
script:
- if styling.vanguard_frame == "paper" then "black"
- else if styling.vanguard_frame == "MtGO new" then "white"
- else "black"
+ if styling.frame_type == "paper" then "black"
+ else if styling.frame_type == "MtGO new" then "white"
+ else "black"
illustrator brush:
- left: { if styling.vanguard_frame == "MtGO new" then max(262,372 - (card_style.illustrator_brush.width + card_style.illustrator.content_width + 4)/2) else stylesheet.card_width + 1 }
+ left: { if styling.frame_type == "MtGO new" then max(262,372 - (card_style.illustrator_brush.width + card_style.illustrator.content_width + 4)/2) else stylesheet.card_width + 1 }
top: 978
width: { (if card.illustrator_brush == "art old" then 30 else if contains(card.illustrator_brush, match: "wide") then 15 else 12) * 744/375 }
height: { 7 * 1039/523 }
@@ -627,51 +626,51 @@ card style:
copyright:
left:
script:
- if styling.vanguard_frame == "paper" then 194
- else if styling.vanguard_frame == "MtGO new" then 199
- else (335 + max(0, card_style.illustrator.content_width-200))
+ if styling.frame_type == "paper" then 194
+ else if styling.frame_type == "MtGO new" then 199
+ else (335 + max(0, card_style.illustrator.content_width-200))
top:
script:
- if styling.vanguard_frame == "paper" then 949
- else if styling.vanguard_frame == "MtGO new" then 1002
- else 953
+ if styling.frame_type == "paper" then 949
+ else if styling.frame_type == "MtGO new" then 1002
+ else 953
right:
script:
- if styling.vanguard_frame == "paper" then 550
- else if styling.vanguard_frame == "MtGO new" then 545
- else 610
+ if styling.frame_type == "paper" then 550
+ else if styling.frame_type == "MtGO new" then 545
+ else 610
height:
script:
- if styling.vanguard_frame == "paper" then 20
- else if styling.vanguard_frame == "MtGO new" then 22
- else 27
+ if styling.frame_type == "paper" then 20
+ else if styling.frame_type == "MtGO new" then 22
+ else 27
z index: 900
alignment:
script:
- if styling.vanguard_frame == "paper" then "top center shrink-overflow"
- else if styling.vanguard_frame == "MtGO new" then "middle center shrink-overflow"
- else "middle right shrink-overflow"
+ if styling.frame_type == "paper" then "top center shrink-overflow"
+ else if styling.frame_type == "MtGO new" then "middle center shrink-overflow"
+ else "middle right shrink-overflow"
font:
name:
script:
- if styling.vanguard_frame == "paper" then "Matrix"
- else if styling.vanguard_frame == "MtGO new" then "Matrix"
- else "Arial-Mdm"
+ if styling.frame_type == "paper" then "Matrix"
+ else if styling.frame_type == "MtGO new" then "Matrix"
+ else "Arial-Mdm"
size:
script:
- if styling.vanguard_frame == "paper" then 12
- else if styling.vanguard_frame == "MtGO new" then 16
- else 24
+ if styling.frame_type == "paper" then 12
+ else if styling.frame_type == "MtGO new" then 16
+ else 24
weight:
script:
- if styling.vanguard_frame == "paper" then ""
- else if styling.vanguard_frame == "MtGO new" then "bold"
- else ""
+ if styling.frame_type == "paper" then ""
+ else if styling.frame_type == "MtGO new" then "bold"
+ else ""
color:
script:
- if styling.vanguard_frame == "paper" then "black"
- else if styling.vanguard_frame == "MtGO new" then "white"
- else "black"
+ if styling.frame_type == "paper" then "black"
+ else if styling.frame_type == "MtGO new" then "white"
+ else "black"
############################################################## Extra card fields
extra card field:
@@ -701,7 +700,7 @@ extra card field:
extra card field:
type: choice
name: vanguard frame
- script: styling.vanguard_frame
+ script: styling.frame_type
save value: false
editable: false
extra card field:
@@ -726,7 +725,7 @@ extra card style:
width: 36
height: 36
z index: 210
- visible: { styling.vanguard_frame == "paper" }
+ visible: { styling.frame_type == "paper" }
popup style: in place
render style: image
choice images:
@@ -775,72 +774,72 @@ extra card style:
hand mod label:
left:
script:
- if styling.vanguard_frame == "paper" then 80
- else if styling.vanguard_frame == "MtGO new" then 100
- else 102
+ if styling.frame_type == "paper" then 80
+ else if styling.frame_type == "MtGO new" then 100
+ else 102
top:
script:
- if styling.vanguard_frame == "paper" then 809
- else if styling.vanguard_frame == "MtGO new" then 946
- else 901
+ if styling.frame_type == "paper" then 809
+ else if styling.frame_type == "MtGO new" then 946
+ else 901
width:
script:
- if styling.vanguard_frame == "paper" then 51
- else if styling.vanguard_frame == "MtGO new" then 35
- else 74
+ if styling.frame_type == "paper" then 51
+ else if styling.frame_type == "MtGO new" then 35
+ else 74
height:
script:
- if styling.vanguard_frame == "paper" then 56
- else if styling.vanguard_frame == "MtGO new" then 32
- else 41
+ if styling.frame_type == "paper" then 56
+ else if styling.frame_type == "MtGO new" then 32
+ else 41
z index: 900
alignment: center middle
font:
name:
script:
- if styling.vanguard_frame == "paper" then "MPlantin"
- else if styling.vanguard_frame == "MtGO new" then "MPlantin"
- else "Arial-Mdm"
+ if styling.frame_type == "paper" then "MPlantin"
+ else if styling.frame_type == "MtGO new" then "MPlantin"
+ else "Arial-Mdm"
size:
script:
- if styling.vanguard_frame == "paper" then 10.5
- else if styling.vanguard_frame == "MtGO new" then 12
- else 20
+ if styling.frame_type == "paper" then 10.5
+ else if styling.frame_type == "MtGO new" then 12
+ else 20
scale down to: 7
color: black
life mod label:
left:
script:
- if styling.vanguard_frame == "paper" then 612
- else if styling.vanguard_frame == "MtGO new" then 617
- else 572
+ if styling.frame_type == "paper" then 612
+ else if styling.frame_type == "MtGO new" then 617
+ else 572
top:
script:
- if styling.vanguard_frame == "paper" then 809
- else if styling.vanguard_frame == "MtGO new" then 946
- else 901
+ if styling.frame_type == "paper" then 809
+ else if styling.frame_type == "MtGO new" then 946
+ else 901
width:
script:
- if styling.vanguard_frame == "paper" then 51
- else if styling.vanguard_frame == "MtGO new" then 29
- else 73
+ if styling.frame_type == "paper" then 51
+ else if styling.frame_type == "MtGO new" then 29
+ else 73
height:
script:
- if styling.vanguard_frame == "paper" then 56
- else if styling.vanguard_frame == "MtGO new" then 32
- else 41
+ if styling.frame_type == "paper" then 56
+ else if styling.frame_type == "MtGO new" then 32
+ else 41
z index: 900
alignment: center middle
font:
name:
script:
- if styling.vanguard_frame == "paper" then "MPlantin"
- else if styling.vanguard_frame == "MtGO new" then "MPlantin"
- else "Arial-Mdm"
+ if styling.frame_type == "paper" then "MPlantin"
+ else if styling.frame_type == "MtGO new" then "MPlantin"
+ else "Arial-Mdm"
size:
script:
- if styling.vanguard_frame == "paper" then 10.5
- else if styling.vanguard_frame == "MtGO new" then 12
- else 20
+ if styling.frame_type == "paper" then 10.5
+ else if styling.frame_type == "MtGO new" then 12
+ else 20
scale down to: 7
color: black