Files
magic-set-editor-fork/data/magic-m15-meld-3in1.mse-style/style
GenevensiS b7fb27fbb5 Fix various template warnings (#32)
- Missing :
- Deprecated =
- Not valid color name
- Must always return statement
2024-02-10 21:37:08 -06:00

1194 lines
34 KiB
Plaintext

mse version: 2.0.0
game: magic
short name: EMN Meld (3-in-1)
full name: M15 Style Meld cards (3-in-1)
icon: card-sample.png
position hint: 066
installer group: magic/m15 style/double faced
version: 2018-02-22
depends on:
package: magic.mse-game
version: 2014-06-25
depends on:
package: magic-default-image.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
depends on:
package: magic-identity-new.mse-include
version: 2012-01-22
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
card width: 568
card height: 523
card dpi: 150
############################################################## Extra scripts
init script:
# Load scripts for image box
include file: /magic-default-image.mse-include/scripts
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
#Should multicolor lands with basic land types have a colored name?
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
template_prefix := [card: "" card2: "" pt: "" pt2: "" stamp: "" identity: "/magic-identity-new.mse-include/"]
template_suffix := [card: "card.jpg" card2: "card.jpg" pt: "pt.png", pt2: "pt.png" stamp: "stamp.jpg" identity: "identity.png"]
template := { template_prefix[type] + input + template_suffix[type] }
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + "l" + template_suffix[type] }
# Use land templates for previews because they show more contrast
hybrid_previews := "land,hybrid"
# This will create two seperate card faces
card_background2 := { color_background(type:"card2", base_hybrid:card_hybrid) }
card_ptbox2 := { color_background(type:"pt2", base_hybrid:pt_hybrid) }
# Use the normal tap symbol
mana_t := {
if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older"
else "new"
}
# Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols }
typesymbol_for := { "none" }
# Is the card a promo card?
is_promo := { styling.promo }
# Is the second card face a creature?
has_pt_2 := { card.power_2 != "" or card.toughness_2 != "" }
card_shape := { "double faced" }
has_identity := { styling.color_indicator_dot }
has_identity_2 := {styling.color_indicator_dot_2 }
is_unsorted := {styling.remove_from_autocount}
############################################################## Set info fields
set info style:
symbol:
variation:
name: invertedcommon
border radius: 0.10
fill type: solid
fill color: rgb(255,255,255)
border color: rgb(0,0,0)
############################################################## Extra style options
styling field:
type: boolean
name: use holofoil stamps
description: Change to no to disable rare holofoil stamps
styling field:
type: boolean
name: remove from autocount
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
initial: no
styling field:
type: boolean
name: color indicator dot
description: Use the color indicator dot
initial: no
styling field:
type: boolean
name: color indicator dot 2
description: Use the second color indicator dot
initial: no
styling field:
type: boolean
name: three cards
description: Display both meld cards? (Default yes)
initial: yes
styling field:
type: boolean
name: grey hybrid name
description: Use a grey background for the name and type line on hybrid cards. This is done on real cards.
styling field:
type: boolean
name: colored multicolor land name
description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards.
styling field:
type: boolean
name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no
styling field:
type: choice
name: tap symbol
description: What tap and untap symbols should be used on cards?
initial: modern
choice: modern
choice: old
choice: diagonal T
styling field:
type: package choice
name: text box mana symbols
match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font
styling field:
type: choice
name: center text
description: When to center text (short text only means only on one-line cards with no flavor text)
choice: always
choice: short text only
choice: never
initial: never
styling field:
type: boolean
name: promo
description: Is this card a promo card, with the "P" rarity?
initial: no
styling field:
type: boolean
name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no
styling field:
type: package choice
name: overlay
description: Should there be an overlay applied, such as foil?
match: magic-overlay-*.mse-include
required: false
styling style:
use guild mana symbols:
choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small.mse-symbol-font/mana_rg.png
tap symbol:
render style: both
choice images:
modern: /magic-mana-large.mse-symbol-font/mana_t.png
old: /magic-mana-large.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png
center text:
render style: both
choice images:
always: /magic.mse-game/icons/center-all-text.png
short text only: /magic.mse-game/icons/center-short-text.png
never: /magic.mse-game/icons/center-no-text.png
inverted common symbol:
choice images:
no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields
card style:
############################# Background stuff
card color:
left: 0
top: {if styling.three_cards == "yes" then -1 else 0}
width: {if styling.three_cards == "yes" then 188 else 375}
height: {if styling.three_cards == "yes" then 262 else 523}
z index: 10
render style: image
popup style: in place
image: { card_background() }
mask: cornermask.png
card color 2:
left: 0
top: 263
width: 188
height: 262
z index: 0
render style: image
popup style: in place
image: { card_background2() }
visible: { styling.three_cards }
############################# Name line
name:
left: {if styling.three_cards == "yes" then 30 else 56}
top: {if styling.three_cards == "yes" then 14 else 30}
right: {if styling.three_cards == "yes" then 170 - card_style.casting_cost.content_width else 341 - card_style.casting_cost.content_width}
height: {if styling.three_cards == "yes" then 12 else 24}
alignment: bottom shrink-overflow
padding bottom: 0
z index: 11
font:
name: Beleren Bold
size: {if styling.three_cards == "yes" then 8 else 16}
color: black
name 2:
left: 30
top: 277
right: { 170- card_style.casting_cost_2.content_width }
height: 12
alignment: bottom shrink-overflow
padding bottom: 0
z index: 1
font:
name: Beleren Bold
size: 8
color: black
visible: { styling.three_cards }
name 3:
left: 255
top: 30
right: 534
height: 23
alignment: bottom shrink-overflow
padding bottom: 0
z index: 2
font:
name: Beleren Bold
size: 16
color: black
casting cost:
right: {if styling.three_cards == "yes" then 173 else 346}
top: {if styling.three_cards == "yes" then 14 else 28}
width: { max(if styling.three_cards == "yes" then 15 else 30, card_style.casting_cost.content_width) + if styling.three_cards == "yes" then 3 else 5}
height: {if styling.three_cards == "yes" then 12 else 23}
alignment: middle right
font:
name: MPlantin
size: {if styling.three_cards == "yes" then 7.5 else 15}
symbol font:
name: magic-mana-large
size: {if styling.three_cards == "yes" then 7.5 else 15}
alignment: middle right
always symbol: true
z index: 12
padding top: 0
casting cost 2:
right: 173
top: 276
width: { max(15, card_style.casting_cost_2.content_width) + 3 }
height: 12
alignment: middle right
symbol font:
name: magic-mana-large
size: 7.5
alignment: middle right
always symbol: true
z index: 2
padding top: 0
visible: { styling.three_cards }
card symbol:
left: {if card.card_symbol=="none" then 23 else 28}
top: 15
height: 10
width: 7
z index: 12
render style: image
choice images:
tombstone: tombstone.png
transformation:
left: {if styling.three_cards == "yes" then 9 else 19}
top: {if styling.three_cards == "yes" then 11 else 25}
height: {if styling.three_cards == "yes" then 16 else 31}
width: {if styling.three_cards == "yes" then 16 else 31}
render style: image
choice images:
day: sun_circle.png
night: night_circle.png
z index: 14
type symbol:
left: {if styling.three_cards == "yes" then 9 else 19}
top: {if styling.three_cards == "yes" then 11 else 25}
height: { if card.type_symbol == "none" then if styling.three_cards == "yes" then 8 else 16 else if styling.three_cards == "yes" then 16 else 31}
width: {if card.type_symbol == "none" then if styling.three_cards == "yes" then 8 else 16 else if styling.three_cards == "yes" then 16 else 31 }
z index: 11
render style: image
choice images:
artifact: artifact.png
test: border_mask.png
creature: creature.png
enchantment: enchantment.png
instant: instant.png
land: land.png
multitype: multitype.png
sorcery: sorcery.png
planeswalker: planeswalker.png
structure: structure.png
transformation 2:
left: 9
top: 275
height: 16
width: 16
render style: image
choice images:
day: sun_circle.png
night: night_circle.png
visible: { styling.three_cards }
type symbol 2:
left: 9
top: 275
height: { if card.type_symbol_2 == "none" then 8 else 16 }
width: {if card.type_symbol_2 == "none" then 8 else 16 }
z index: 1
render style: image
choice images:
artifact: artifact.png
creature: creature.png
enchantment: enchantment.png
instant: instant.png
land: land.png
multitype: multitype.png
sorcery: sorcery.png
planeswalker: planeswalker.png
structure: structure.png
visible: { styling.three_cards }
transformation 3:
left: 212
top: 25
height: 31
width: 31
render style: image
choice images:
day: sun_circle.png
night: night_circle.png
z index: 4
type symbol 3:
left: 212
top: 25
height: 31
width: 31
z index: 3
render style: image
choice images:
artifact: artifact.png
creature: creature.png
enchantment: enchantment.png
instant: instant.png
land: land.png
multitype: multitype.png
sorcery: sorcery.png
planeswalker: planeswalker.png
structure: structure.png
############################# Image
image:
left: {if styling.three_cards == "yes" then 15 else 29}
top: {if styling.three_cards == "yes" then 29 else 60}
width: {if styling.three_cards == "yes" then 158 else 316}
height: {if styling.three_cards == "yes" then 115 else 231}
z index: 11
default: {default_image(card.card_color)}
image 2:
left: 15
top: 293
width: 158
height: 115
z index: 1
default: {default_image(card.card_color)}
visible: { styling.three_cards }
############################# Card type
type:
left: { if styling.three_cards == "yes" then if has_identity() then 26 else 16 else if has_identity() then 52 else 32}
top: { if styling.three_cards == "yes" then 147 else 296}
width: { (if has_identity() then if styling.three_cards == "yes" then "145" else "155" else if styling.three_cards == "yes" then 290 else 310) - max(if styling.three_cards == "yes" then 11 else 22,card_style.rarity.content_width) }
height: { if styling.three_cards == "yes" then 10 else 20}
alignment: top shrink-overflow
z index: 11
padding top: 1
font:
name: Beleren Bold
size: {if styling.three_cards == "yes" then 6.5 else 13}
color: black
separator color: red
type 2:
left: { if has_identity_2() then "26" else "16" }
top: 411
width: { (if has_identity_2() then "145" else "155") - max(11,card_style.rarity.content_width) }
height: 10
alignment: top shrink-overflow
z index: 2
padding top: 1
font:
name: Beleren Bold
size: 6.5
color: black
separator color: red
visible: { styling.three_cards }
type 3:
left: 227
top: 298
width: { 307 - max(22,card_style.rarity.content_width) }
height: 20
alignment: top shrink-overflow
z index: 2
padding top: 2
font:
name: Beleren Bold
size: 13
color: black
separator color: rgb(128,128,128)
rarity:
right: {if styling.three_cards == "yes" then 172 else 344}
top: {if styling.three_cards == "yes" then 148 else 297}
width: {if styling.three_cards == "yes" then 22 else 44}
height: {if styling.three_cards == "yes" then 11 else 22}
z index: 12
render style: image
alignment: middle right
choice images:
# Images based on the set symbol
basic land:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
common:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
rarity 3:
right: 172
top: 412
width: 22
height: 11
z index: 9
render style: image
alignment: middle right
choice images:
# Images based on the set symbol
basic land:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
common:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
visible: { styling.three_cards }
rarity 2:
right: 535
top : 299
width: 44
height: 22
z index: 3
render style: image
alignment: middle right
choice images:
# Images based on the set symbol
basic land:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
common:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
indicator:
left: {if styling.three_cards == "yes" then 15 else 31}
top: {if styling.three_cards == "yes" then 150 else 300}
width: {if styling.three_cards == "yes" then 8 else 17}
height: {if styling.three_cards == "yes" then 8 else 17}
z index: 11
render style: image
visible: { has_identity() }
image: { card_identity() }
indicator 2:
left: 15
top: 412
width: 8
height: 8
z index: 2
render style: image
visible: { has_identity_2() and styling.three_cards == "yes"}
image: { card_identity() }
############################# Text box
text:
left: {if styling.three_cards == "yes" then 15 else 31 }
top: {if styling.three_cards == "yes" then 163 else 328 }
width: {if styling.three_cards == "yes" then 157 else 311 }
height: {if styling.three_cards == "yes" then 76 else 142 }
font:
name: MPlantin
italic name: MPlantin-Italic
size: {if styling.three_cards == "yes" then 7 else 14 }
scale down to: 6
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: {if styling.three_cards == "yes" then 7 else 14 }
alignment:
script:
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_text == "always"
then "middle center"
else "middle left"
z index: 12
padding left: {if styling.three_cards == "yes" then 3 else 6}
padding right: {if styling.three_cards == "yes" then 2 else 4}
line height hard: 1.2
line height line: {if styling.three_cards == "yes" then 1.2 else 1.5}
line height soft: {if styling.three_cards == "yes" then 0.75 else 0.9 }
line height hard max: {if styling.three_cards == "yes" then 0.65 else 1.3 }
line height line max: {if styling.three_cards == "yes" then 0.2 else 1.6 }
text 2:
left: 15
top: 425
width: 157
height: 76
font:
name: MPlantin
italic name: MPlantin-Italic
size: 7
scale down to: 3
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: 7
alignment:
script:
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_text == "always"
then "middle center"
else "middle left"
z index: 2
padding left: 3
padding right: 2
line height hard: 1.2
line height line: 1.2
line height soft: 0.75
line height hard max: 0.65
line height line max: 0.2
visible: { styling.three_cards }
text 3:
left: 224
top : 328
width: 311
height: 142
font:
name: MPlantin
italic name: MPlantin-Italic
size: 14
scale down to: 6
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: 14
alignment:
script:
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_text == "always"
then "middle center"
else "middle left"
z index: 3
padding left: 6
padding right: 4
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
watermark:
left: {if styling.three_cards == "yes" then 59 else 117 }
top: {if styling.three_cards == "yes" then 160 else 321 }
width: {if styling.three_cards == "yes" then 69 else 138 }
height: {if styling.three_cards == "yes" then 83 else 156 }
z index: 11
render style: image
popup style: in place
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
watermark 2:
left: 59
top: 422
width: 69
height: 83
z index: 1
render style: image
popup style: in place
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
visible: { styling.three_cards }
watermark 3:
left: 310
top : 321
width: 138
height: 156
z index: 2
render style: image
popup style: in place
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
############################# PT
pt:
z index: 12
left: {if styling.three_cards == "yes" then 143 else 286}
top: {if styling.three_cards == "yes" then 237 else 469}
width: {if styling.three_cards == "yes" then 30 else 60}
height: {if styling.three_cards == "yes" then 14 else 28}
alignment: center middle shrink-overflow
font:
name: Beleren Bold
size: {if styling.three_cards == "yes" then 8 else 16 }
color: black
separator color: red
pt 2:
z index: 2
left: 143
top: 498
width: 30
height: 14
alignment: center middle shrink-overflow
font:
name: Beleren Bold
size: 8
color: black
separator color: red
visible: { styling.three_cards }
pt 3:
z index: 3
left: 479
top: 469
width: 60
height: 28
alignment: center middle shrink-overflow
font:
name: Beleren Bold
size: 16
color: black
separator color: red
############################# Card sorting / numbering
set code:
left: {if styling.three_cards == "yes" then 12 else 24}
top: {if styling.three_cards == "yes" then 249 else 498}
width: {if styling.three_cards == "yes" then 20 else 40}
height: {if styling.three_cards == "yes" then 5 else 10}
z index: 11
font:
name: Relay-Medium
size: {if styling.three_cards == "yes" then 3.5 else 7}
color: white
weight: bold
set code 2:
left: 12
top: 512
width: 20
height: 5
z index: 1
font:
name: Relay-Medium
size: 3.5
color: white
weight: bold
visible: { styling.three_cards }
set code 3:
left: 217
top: 498
width: 40
height: 10
z index: 2
font:
name: Relay-Medium
size: 7
color: white
weight: bold
############################# Copyright stuff
illustrator:
left: { if styling.three_cards == "yes" then (22 + card_style.set_code.content_width) else (44 + card_style.set_code.content_width) }
top: {if styling.three_cards == "yes" then 249 else 497.5}
width: {if styling.three_cards == "yes" then 100 else 200}
height: {if styling.three_cards == "yes" then 5 else 10}
z index: 11
font:
name: Beleren Small Caps Bold
size: {if styling.three_cards == "yes" then 4 else 7}
color: white
copyright:
right: {if styling.three_cards == "yes" then 175 else 350}
top: { if styling.three_cards == "yes" then if card.pt != "" then 252 else 244 else if card.pt != "" then 500 else 488 }
width: {if styling.three_cards == "yes" then 70 else 140}
height: {if styling.three_cards == "yes" then 5 else 10}
z index: 12
visible: {not set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: {if styling.three_cards == "yes" then 3.5 else 7}
color: white
weight: bold
illustrator 2:
left: { 22 + card_style.set_code_2.content_width }
top: 512
width: 100
height: 5
z index: 1
font:
name: Beleren Small Caps Bold
size: 4
color: white
visible: { styling.three_cards }
copyright 2:
right: 175
top: { if card.pt_2 != "" then 512 else 506}
width: 70
height: 5
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 3.5
color: white
weight: bold
visible: { styling.three_cards and not set.automatic_copyright}
illustrator 3:
left: { 238 + card_style.set_code_3.content_width }
top: 497
width: 200
height: 10
z index: 2
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
copyright 3:
right: 541
top: { if card.pt_3 != "" then 502 else 490}
width: 140
height: 10
z index: 2
visible: {not set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
color: white
weight: bold
############################################################## Extra card fields
extra card field:
type: text
name: card code
editable: false
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount then
forward_editor(prefix: card_number_m15() + "a/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
else
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
extra card field:
type: choice
name: artist arrow
editable: false
save value: false
choice: white
extra card field:
type: text
name: card code 2
editable: false
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount then
forward_editor(prefix: card_number_m15() + "b/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
else
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
extra card field:
type: text
name: card code 3
editable: false
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount then
forward_editor(prefix: card_number_m15() + "b/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
else
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
extra card field:
type: choice
name: artist arrow 2
editable: false
save value: false
choice: white
extra card field:
type: text
name: set code 2
editable: false
save value: false
script: card.set_code
extra card field:
type: text
name: card code 3
editable: false
save value: false
script: forward_editor(prefix: card_number_m15() + "b/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
extra card field:
type: choice
name: artist arrow 3
editable: false
save value: false
choice: white
extra card field:
type: text
name: set code 3
editable: false
save value: false
script: card.set_code
extra card field:
type: choice
name: stamp
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: foil stamp
choice: stamp
save value: false
editable: false
extra card field:
type: choice
name: stamp 2
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: foil stamp 2
choice: stamp
save value: false
editable: false
extra card field:
type: choice
name: foil layer
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: foil layer 2
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: foil layer 3
choice: foil
save value: false
editable: false
extra card field:
type: text
name: pt 3 copy
script: card.pt_3
editable: false
save value: false
extra card field:
type: text
name: pt 3 copy 2
script: card.pt_3
editable: false
save value: false
extra card field:
type: choice
name: pt box
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: pt box 2
script: card.card_color_2
editable: false
save value: false
extra card field:
type: choice
name: pt box 3
script: "pt"
editable: false
save value: false
################################# Meld Card Fields
extra card field:
type: choice
name: frame
script: "frame"
editable: false
save value: false
extra card field:
type: image
name: meld image
editable: true
save value: true
description: The image of the card
extra card field:
type: choice
name: change focus
choice:
name: Focus on front
choice:
name: Focus on meld
editable: false
save value: false
extra card field:
type: text
name: auto copyright
script: set.copyright
save value: false
editable: false
show statistics: false
extra card field:
type: text
name: auto copyright 2
script: set.copyright
save value: false
editable: false
show statistics: false
extra card field:
type: text
name: auto copyright 3
script: set.copyright
save value: false
editable: false
show statistics: false
#################################
extra card style:
################################# Meld Card Styles
change focus:
left: { if styling.three_cards == "yes" then -600 else 0 }
top: { if styling.three_cards == "yes" then -600 else 0 }
width: 568
height: 523
z index: 9
frame:
left: 193
top: 0
width: 375
height: 523
z index: 1
render style: image
image: frame.png
meld image:
left: 193
top: 0
width: 375
height: 523
z index: 0
mask: imagemask.png
#################################
foil layer:
left: 0
top: {if styling.three_cards == "yes" then -1 else 0}
width: {if styling.three_cards == "yes" then 188 else 375}
height: {if styling.three_cards == "yes" then 262 else 523}
z index: 13
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
mask: { "foil_mask" + ( if is_rare() then "_rare" else "" ) + ( if has_pt() then "_pt" else "" ) + ".png" }
foil layer 2:
left: 0
top: 263
width: 188
height: 262
z index: 3
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
mask: { "foil_mask" + ( if has_pt_2() then "_pt" else "" ) + ".png" }
visible: { styling.three_cards }
pt 3 copy:
z index: 14
left: {if styling.three_cards == "yes" then 156 else 311}
top: {if styling.three_cards == "yes" then 223 else 447}
width: {if styling.three_cards == "yes" then 15 else 30}
height: {if styling.three_cards == "yes" then 6 else 12}
alignment: bottom right
font:
name: ModMatrix
size: {if styling.three_cards == "yes" then 6 else 12}
weight: bold
color: grey
separator color: red
pt 3 copy 2:
z index: 4
left: 156
top: 488
width: 15
height: 6
alignment: bottom right
font:
name: ModMatrix
size: 6
weight: bold
color: grey
separator color: red
visible: { styling.three_cards }
card code:
left: {if styling.three_cards == "yes" then 12 else 24}
top: {if styling.three_cards == "yes" then 244 else 488}
width: {if styling.three_cards == "yes" then 60 else 120}
height: {if styling.three_cards == "yes" then 5 else 10}
z index: 12
font:
name: Relay-Medium
size: {if styling.three_cards == "yes" then 3.5 else 7}
color: white
weight: bold
artist arrow:
left: {if styling.three_cards == "yes" then 14 + card_style.set_code.content_width else 28 + card_style.set_code.content_width}
top: {if styling.three_cards == "yes" then 250 else 500}
width: {if styling.three_cards == "yes" then 6 else 12}
height: {if styling.three_cards == "yes" then 3.5 else 7}
z index: 12
render style: image
image: artist_arrow.png
artist arrow 2:
left: { 14 + card_style.set_code_2.content_width }
top: 513
width: 6
height: 3.5
z index: 2
render style: image
image: artist_arrow.png
visible: { styling.three_cards }
card code 2:
left: 12
top: 507
width: 60
height: 5
z index: 2
font:
name: Relay-Medium
size: 3.5
color: white
weight: bold
visible: { styling.three_cards }
card code 3:
left: 217
top: 488
width: 120
height: 10
z index: 2
font:
name: Relay-Medium
size: 7
color: white
weight: bold
artist arrow 3:
left: { 241 + card_style.set_code.content_width }
top: 500
width: 12
height: 7
z index: 2
render style: image
image: artist_arrow.png
pt box:
left: {if styling.three_cards == "yes" then 136 else 273}
top: {if styling.three_cards == "yes" then 235 else 466}
width: {if styling.three_cards == "yes" then 40.5 else 81}
height: {if styling.three_cards == "yes" then 21 else 42}
z index: 11
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
pt box 2:
left: 136
top: 496
width: 40.5
height: 21
z index: 1
visible: { card.pt_2 != "" and styling.three_cards == "yes"}
render style: image
image: { card_ptbox2() }
pt box 3:
left: 464
top: 466
width: 81
height: 42
z index: 2
visible: { card.pt_3 != "" }
render style: image
image: pt.png
stamp:
left: {if styling.three_cards == "yes" then 82.5 else 165}
top: {if styling.three_cards == "yes" then 235 else 472}
width: {if styling.three_cards == "yes" then 23 else 46}
height: {if styling.three_cards == "yes" then 13 else 26}
z index: 11
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: { card_stamp() }
foil stamp:
left: {if styling.three_cards == "yes" then 82.5 else 165}
top: {if styling.three_cards == "yes" then 235 else 472}
width: {if styling.three_cards == "yes" then 23 else 46}
height: {if styling.three_cards == "yes" then 13 else 26}
z index: 11
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: foil_stamp.png
stamp 2:
left: 82.5
top: 499
width: 23
height: 13
z index: 1
visible: { if styling.three_cards == "yes" and card.rarity_3 == "rare" and styling.use_holofoil_stamps then true else if styling.three_cards == "yes" and card.rarity_3 == "mythic rare" and styling.use_holofoil_stamps then true else false }
render style: image
image: { card_stamp() }
foil stamp 2:
left: 82.5
top: 499
width: 23
height: 13
z index: 1
visible: { if styling.three_cards == "yes" and card.rarity_3 == "rare" and styling.use_holofoil_stamps then true else if styling.three_cards == "yes" and card.rarity_3 == "mythic rare" and styling.use_holofoil_stamps then true else false }
render style: image
image: foil_stamp.png
auto copyright:
right: {if styling.three_cards == "yes" then 175 else 350}
top: { if styling.three_cards == "yes" then if card.pt != "" then 252 else 244 else if card.pt != "" then 500 else 488 }
width: {if styling.three_cards == "yes" then 70 else 140}
height: {if styling.three_cards == "yes" then 5 else 10}
z index: 12
visible: {set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: {if styling.three_cards == "yes" then 3.5 else 7}
color: white
weight: bold
auto copyright 2:
right: 175
top: { if card.pt_2 != "" then 512 else 506}
width: 70
height: 5
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 3.5
color: white
weight: bold
visible: { styling.three_cards and set.automatic_copyright}
auto copyright 3:
right: 541
top: { if card.pt_3 != "" then 502 else 490}
width: 140
height: 10
z index: 2
visible: {set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
color: white
weight: bold