[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -6,7 +6,7 @@ icon: card-sample.png
|
||||
position hint: 066
|
||||
installer group: magic/m15 style/double faced
|
||||
|
||||
version: 2018-02-22
|
||||
version: 2024-06-07
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2014-06-25
|
||||
@@ -16,9 +16,6 @@ depends on:
|
||||
depends on:
|
||||
package: magic-modules.mse-include
|
||||
version: 2024-05-20
|
||||
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
|
||||
@@ -40,8 +37,20 @@ init script:
|
||||
#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_prefix := [
|
||||
card: ""
|
||||
pt: "/magic-modules.mse-include/pts/375 m15/"
|
||||
stamp: "/magic-modules.mse-include/stamps/backs/375 round/"
|
||||
ubstamp: "/magic-modules.mse-include/stamps/backs/375 ub/"
|
||||
identity: "/magic-modules.mse-include/indicators/"
|
||||
]
|
||||
template_suffix := [
|
||||
card: "card.jpg"
|
||||
pt: "pt.png"
|
||||
stamp: "stamp.png"
|
||||
ubstamp: "stamp.png"
|
||||
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
|
||||
@@ -70,30 +79,74 @@ init script:
|
||||
has_pt_2 := { card.power_2 != "" or card.toughness_2 != "" }
|
||||
|
||||
card_shape := { "double faced" }
|
||||
faces_coordinates := {[
|
||||
[
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 188,
|
||||
height: 261
|
||||
],
|
||||
[
|
||||
left: 0,
|
||||
top: 263,
|
||||
width: 188,
|
||||
height: 260
|
||||
],
|
||||
[
|
||||
left: 193,
|
||||
top: 0,
|
||||
width: 375,
|
||||
height: 523
|
||||
faces_coordinates := {
|
||||
if styling.three_cards then
|
||||
[
|
||||
[
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 188,
|
||||
height: 261
|
||||
],
|
||||
[
|
||||
left: 0,
|
||||
top: 263,
|
||||
width: 188,
|
||||
height: 261
|
||||
],
|
||||
[
|
||||
left: 193,
|
||||
top: 0,
|
||||
width: 375,
|
||||
height: 523
|
||||
]
|
||||
]
|
||||
else [
|
||||
[
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 375,
|
||||
height: 523
|
||||
],
|
||||
[
|
||||
left: 193,
|
||||
top: 0,
|
||||
width: 375,
|
||||
height: 523
|
||||
]
|
||||
]
|
||||
]}
|
||||
|
||||
has_identity := { styling.color_indicator_dot }
|
||||
has_identity_2 := {styling.color_indicator_dot_2 }
|
||||
}
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
is_unsorted := {styling.remove_from_autocount}
|
||||
transform_symbol_default := {
|
||||
stylesheet
|
||||
if margin_code == "transform1" then "meld"
|
||||
else if margin_code == "transform2" then "meld"
|
||||
else "eldrazi"
|
||||
}
|
||||
card_symbol_left := {
|
||||
map := face_coordinates_map(face)
|
||||
has_tr := (transform_symbol_field(face) != "none")
|
||||
has_sym := (card_symbol_field(face) != "none")
|
||||
default := if not has_sym
|
||||
then 0
|
||||
else if has_tr
|
||||
then 9 + 18 + 28
|
||||
else if has_sym
|
||||
then 9 + 18
|
||||
else 0
|
||||
if map.width > map.height then map.left + default * map.width/523 + offset
|
||||
else map.left + default * map.width/375 + offset
|
||||
}
|
||||
card_stamp_default := {
|
||||
shape := styling.default_stamp or else set.default_stamp
|
||||
stamp_behavior := styling.stamp_behavior or else set.stamp_behavior
|
||||
if stamp_behavior == "default" or stamp_behavior == "flatstamped default" then stamp_behavior := set.stamp_behavior
|
||||
|
||||
if field > 2
|
||||
then "none" #### backface doesn't have it by default
|
||||
else stamp_behavior_checks[stamp_behavior](rare_face:is_rare(field:field), shape:shape)
|
||||
}@(field:1)
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -104,25 +157,11 @@ set info style:
|
||||
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
|
||||
@@ -200,6 +239,15 @@ styling style:
|
||||
no: { symbol_variation(symbol: set.symbol, variation: "common") }
|
||||
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
|
||||
############################################################## Card fields
|
||||
include file: /magic-modules.mse-include/corners/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/information/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/card-symbols/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/symbols/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/stamps/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/stamps/stamp_back_tfc
|
||||
include file: /magic-modules.mse-include/rarities/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/watermarks/card_fields_tfc
|
||||
include file: /magic-modules.mse-include/separators/card_fields_tfc
|
||||
card style:
|
||||
############################# Background stuff
|
||||
card color:
|
||||
@@ -220,42 +268,42 @@ card style:
|
||||
z index: 0
|
||||
render style: image
|
||||
popup style: in place
|
||||
image: { card_background2() }
|
||||
image: { card_background() }
|
||||
visible: { styling.three_cards }
|
||||
############################# Name line
|
||||
name:
|
||||
left: {if styling.three_cards == "yes" then 30 else 56}
|
||||
left: {if styling.three_cards == "yes" then (if card.card_symbol == "none" then 30 else 40) else if card.card_symbol == "none" then 58 else 79}
|
||||
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
|
||||
z index: 900
|
||||
font:
|
||||
name: Beleren Bold
|
||||
size: {if styling.three_cards == "yes" then 8 else 16}
|
||||
color: black
|
||||
name 2:
|
||||
left: 30
|
||||
left: {if styling.three_cards == "yes" then (if card.card_symbol_2 == "none" then 30 else 40) else if card.card_symbol_2 == "none" then 58 else 79}
|
||||
top: 277
|
||||
right: { 170- card_style.casting_cost_2.content_width }
|
||||
height: 12
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 1
|
||||
z index: 900
|
||||
font:
|
||||
name: Beleren Bold
|
||||
size: 8
|
||||
color: black
|
||||
visible: { styling.three_cards }
|
||||
name 3:
|
||||
left: 255
|
||||
left: { if card.card_symbol_3 == "none" then 255 else 275 }
|
||||
top: 30
|
||||
right: 534
|
||||
height: 23
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 2
|
||||
z index: 900
|
||||
font:
|
||||
name: Beleren Bold
|
||||
size: 16
|
||||
@@ -274,7 +322,7 @@ card style:
|
||||
size: {if styling.three_cards == "yes" then 7.5 else 15}
|
||||
alignment: middle right
|
||||
always symbol: true
|
||||
z index: 12
|
||||
z index: 920
|
||||
padding top: 0
|
||||
casting cost 2:
|
||||
right: 173
|
||||
@@ -287,28 +335,9 @@ card style:
|
||||
size: 7.5
|
||||
alignment: middle right
|
||||
always symbol: true
|
||||
z index: 2
|
||||
z index: 920
|
||||
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}
|
||||
@@ -327,16 +356,6 @@ card style:
|
||||
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
|
||||
@@ -355,16 +374,6 @@ card style:
|
||||
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
|
||||
@@ -402,10 +411,10 @@ card style:
|
||||
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) }
|
||||
width: { (if has_identity() then if styling.three_cards == "yes" then "145" else "155" else if styling.three_cards == "yes" then 290 else 145) - 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
|
||||
z index: 900
|
||||
padding top: 1
|
||||
font:
|
||||
name: Beleren Bold
|
||||
@@ -418,7 +427,7 @@ card style:
|
||||
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
|
||||
z index: 900
|
||||
padding top: 1
|
||||
font:
|
||||
name: Beleren Bold
|
||||
@@ -432,101 +441,31 @@ card style:
|
||||
width: { 307 - max(22,card_style.rarity.content_width) }
|
||||
height: 20
|
||||
alignment: top shrink-overflow
|
||||
z index: 2
|
||||
z index: 900
|
||||
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
|
||||
z index: 800
|
||||
render style: image
|
||||
visible: { has_identity() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
indicator 2:
|
||||
left: 15
|
||||
top: 412
|
||||
width: 8
|
||||
height: 8
|
||||
z index: 2
|
||||
z index: 800
|
||||
render style: image
|
||||
visible: { has_identity_2() and styling.three_cards == "yes"}
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
############################# Text box
|
||||
text:
|
||||
left: {if styling.three_cards == "yes" then 15 else 31 }
|
||||
@@ -551,7 +490,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 12
|
||||
z index: 900
|
||||
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
|
||||
@@ -582,7 +521,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 2
|
||||
z index: 900
|
||||
padding left: 3
|
||||
padding right: 2
|
||||
line height hard: 1.2
|
||||
@@ -614,7 +553,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 3
|
||||
z index: 900
|
||||
padding left: 6
|
||||
padding right: 4
|
||||
line height hard: 1.2
|
||||
@@ -622,43 +561,9 @@ card style:
|
||||
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.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_scripts[card.watermark](face:1) }
|
||||
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.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_scripts[card.watermark](face:2) }
|
||||
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.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_scripts[card.watermark](face:3) }
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 12
|
||||
z index: 900
|
||||
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}
|
||||
@@ -670,7 +575,7 @@ card style:
|
||||
color: black
|
||||
separator color: red
|
||||
pt 2:
|
||||
z index: 2
|
||||
z index: 900
|
||||
left: 143
|
||||
top: 498
|
||||
width: 30
|
||||
@@ -683,7 +588,7 @@ card style:
|
||||
separator color: red
|
||||
visible: { styling.three_cards }
|
||||
pt 3:
|
||||
z index: 3
|
||||
z index: 900
|
||||
left: 479
|
||||
top: 469
|
||||
width: 60
|
||||
@@ -729,168 +634,7 @@ card style:
|
||||
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
|
||||
@@ -962,27 +706,6 @@ extra card field:
|
||||
|
||||
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
|
||||
@@ -1013,7 +736,7 @@ extra card style:
|
||||
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
|
||||
z index: 1050
|
||||
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" }
|
||||
@@ -1022,13 +745,13 @@ extra card style:
|
||||
top: 263
|
||||
width: 188
|
||||
height: 262
|
||||
z index: 3
|
||||
z index: 1050
|
||||
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
|
||||
z index: 900
|
||||
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}
|
||||
@@ -1041,7 +764,7 @@ extra card style:
|
||||
color: grey
|
||||
separator color: red
|
||||
pt 3 copy 2:
|
||||
z index: 4
|
||||
z index: 900
|
||||
left: 156
|
||||
top: 488
|
||||
width: 15
|
||||
@@ -1054,71 +777,12 @@ extra card style:
|
||||
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
|
||||
z index: 840
|
||||
visible: { card.pt != "" }
|
||||
render style: image
|
||||
image: { card_ptbox() }
|
||||
@@ -1127,7 +791,7 @@ extra card style:
|
||||
top: 496
|
||||
width: 40.5
|
||||
height: 21
|
||||
z index: 1
|
||||
z index: 840
|
||||
visible: { card.pt_2 != "" and styling.three_cards == "yes"}
|
||||
render style: image
|
||||
image: { card_ptbox2() }
|
||||
@@ -1136,82 +800,7 @@ extra card style:
|
||||
top: 466
|
||||
width: 81
|
||||
height: 42
|
||||
z index: 2
|
||||
z index: 840
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user