1304 lines
49 KiB
Plaintext
1304 lines
49 KiB
Plaintext
mse version: 2.0.0
|
|
game: magic
|
|
short name: Sci-Fi
|
|
full name: InvertedVertex's Sci-Fi Mainframe
|
|
icon: card-sample.png
|
|
installer group: magic/m15 style/normal cards
|
|
position hint: 052
|
|
|
|
version: 2024-05-30
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2020-04-25
|
|
depends on:
|
|
package: magic-default-image.mse-include
|
|
version: 2007-09-23
|
|
depends on:
|
|
package: magic-modules.mse-include
|
|
version: 2024-10-01
|
|
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: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
##### Flavor bar image by SirnightNano
|
|
##### Ancestral generic mana by ancestral
|
|
##### Nyx crowns by Angelus
|
|
##### Companion crowns, nyx extensions, DOM FNM frame, THB fullart lands by silverback_ape
|
|
##### PUMA by kebelqwa and cajun
|
|
##### Frames by InvertedVertex
|
|
############################################################## 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.hybrid_name == "grey" }
|
|
mask_hybrid_with_gold := { styling.hybrid_name == "gold" }
|
|
|
|
#Should multicolor lands with basic land types have a colored name?
|
|
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
|
|
|
|
base_template_prefix := [card: "" sync: "sync/" miracle: "miracles/" promo: "promo/" crown: "legend/" cons:"conspiracy/" curtain: "curtains/" fnm: "fnm/", fnmpt: "paradox/", map: "maps/" energy: "energies/", mappt: "maps/" pt: "", slide: "masks/", slide2: "masks/", arrow: "arrows/", arrow2: "arrows/", arrow3: "arrows/", season: "season/" stamp: "" identity: "/magic-modules.mse-include/indicators/"]
|
|
shifted_template_prefix := [card: "shifted/" sync: "sync/" miracle: "shifted/" promo: "promo/" crown: "shifted/" cons:"conspiracy/" curtain: "curtains/" fnm:"fnm/", fnmpt: "paradox/", map: "maps/" energy: "energies/", mappt: "maps/" pt: "shifted/", slide: "shifted/", slide2: "shifted/", arrow: "arrows/", arrow2: "arrows/", arrow3: "arrows/", season: "season/" stamp: "shifted/" identity: "/magic-modules.mse-include/indicators/"]
|
|
template_prefix := { if is_shifted() then shifted_template_prefix else base_template_prefix }
|
|
template_suffix := [card: "card.jpg" sync: "sync.jpg" miracle: "miracle.png" promo: "card.jpg" crown: "crown.png" cons:"cons.png" curtain: "card.png" fnm:"card.png", fnmpt: "pt.png", map: "card.png", energy: "card.png", mappt: "pt.png" pt: "pt.png", slide: "slide.png", slide2: "slide2.png", stamp: "stamp.jpg", arrow: "arrow.png", arrow2: "arrow2.png", arrow3: "arrow3.png", season: "flag.png" identity: "identity.png"]
|
|
template := { crown_lead(type) + template_prefix()[type] + input + crown_follow(type) + template_suffix[type] }
|
|
land_template := { crown_lead(type) + template_prefix()[type] + (if input == "a" then "c" else input) + (if landless(type) then "" else "l") + crown_follow(type) + template_suffix[type] }
|
|
# Use land templates for previews because they show more contrast
|
|
hybrid_previews := "land,hybrid"
|
|
|
|
landless := {if input == "energy" or input == "season" or input == "cons" or input == "arrow" or input == "crown" or input == "nyxcrown" then true else false}
|
|
|
|
crown_lead := {
|
|
if input != "crown" then ""
|
|
else if (styling.legend_crown == "custom" and styling.custom_crown_location != "")
|
|
then "/magic-mainframe-extras.mse-include/" + styling.custom_crown_location
|
|
else ""
|
|
}
|
|
crown_follow := {
|
|
if input != "crown" then ""
|
|
else if styling.legend_crown == "nyx"
|
|
then "nyx"
|
|
else if styling.legend_crown == "companion"
|
|
then "com"
|
|
else ""
|
|
}
|
|
transfer_levels := {if is_mutate() then false else true}
|
|
sync_background := { color_background(type:"sync", base_hybrid:card_hybrid) }
|
|
fnm_background := { color_background(type:"fnm", base_hybrid:card_hybrid) }
|
|
miracle_background := { color_background(type:"miracle", base_hybrid:card_hybrid) }
|
|
map_background := { color_background(type:"map", base_hybrid:card_hybrid) }
|
|
energy_background := { color_background(type:"energy", base_hybrid:card_hybrid) }
|
|
promo_background := { color_background(type:"promo", base_hybrid:card_hybrid) }
|
|
fnm_ptbox := { color_background(type:"fnmpt", base_hybrid:pt_hybrid) }
|
|
mappt_background := { color_background(type:"mappt", base_hybrid:pt_hybrid) }
|
|
arrow_background := { color_background(type:"arrow", base_hybrid:pt_hybrid) }
|
|
arrow_background_2 := { color_background(type:"arrow2", base_hybrid:pt_hybrid) }
|
|
arrow_background_3 := { color_background(type:"arrow3", base_hybrid:pt_hybrid) }
|
|
crown_background := { color_background(type:"crown", base_hybrid: card_hybrid)}
|
|
curtain_background := { color_background(type:"curtain", base_hybrid: card_hybrid)}
|
|
cons_background := { color_background(type:"cons", base_hybrid: card_hybrid)}
|
|
background_slide := { color_background(type:"slide", base_hybrid: card_hybrid)}
|
|
background_slide_2 := { color_background(type:"slide2", base_hybrid: card_hybrid)}
|
|
season_background := { color_background(type:"season", base_hybrid:card_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"
|
|
}
|
|
loyalty_image := {
|
|
if contains(input, match: "+") then "loyaltyup.png"
|
|
else if contains(input, match: "-") then "loyaltydown.png"
|
|
else "loyaltynaught.png"
|
|
}
|
|
|
|
# Use guild mana symbols?
|
|
guild_mana := { styling.use_guild_mana_symbols }
|
|
|
|
# Is the card a promo card?
|
|
is_promo := { styling.promo }
|
|
shrink_type := {if styling.shrink_typeline_text != "" then to_int(styling.shrink_typeline_text) else if length(remove_tags(card.type)) > 41 then 2 else if length(remove_tags(card.type)) > 38 then 1 else 0 }
|
|
shrink_name := {if styling.shrink_name_text != "" then to_int(styling.shrink_name_text) else 0 }
|
|
is_unsorted := {styling.remove_from_autocount}
|
|
is_clear := { chosen(styling.frames, choice: "clear") and not is_map()}
|
|
is_puma := { not is_expanded_art() and not is_full_art() and chosen(styling.frames, choice: "puma") and not is_map()}
|
|
is_mutate := { not is_expanded_art() and not is_full_art() and chosen(styling.frames, choice: "mutate") and not is_map()}
|
|
is_miracle := { chosen(styling.frames, choice: "miracle") and not is_map() and not is_expanded_art() and not is_cons() and not is_fnm()}
|
|
is_sync := { chosen(styling.frames, choice: "sync") }
|
|
is_vehicle := { chosen(styling.frames, choice: "vehicle") and not is_map()}
|
|
is_cons := { chosen(styling.frames, choice: "conspiracy") or chosen(styling.frames, choice: "draft matters") and not is_map()}
|
|
is_conspiracy := { chosen(styling.frames, choice: "conspiracy") and not is_map()}
|
|
is_shifted := { chosen(styling.frames, choice: "planeshifted") and not is_map() and not is_full_art() and not is_fnm()}
|
|
is_fnm := {chosen(styling.frames, choice:"fnm promo") and not is_clear() and not is_full_art() and not is_map()}
|
|
is_map := { chosen(styling.frames, choice: "map") }
|
|
is_season := { chosen(styling.frames, choice: "season") and not is_map() }
|
|
is_legend := {not is_map() and (chosen(styling.frames, choice: "legend") or (set.auto_legends and contains(card.super_type, match:"Legendary"))) }
|
|
is_full_art := {chosen(styling.frames, choice:"fullart") and not is_map() and not is_clear()}
|
|
is_expanded_art := {not is_map() and not is_clear() and contains(styling.frames, match:"less art")}
|
|
is_borderless := {not is_map() and not is_clear() and chosen(styling.frames, choice:"borderless art")}
|
|
is_thbland := {chosen(styling.frames, choice:"frameless art") and not is_leveler() and remove_tags(card.text) == "\n"}
|
|
expanded_mask := { "bigimagemasks/" + (if is_full_art() then "dka_" else "") + (if is_borderless() then (if is_stamped() then "rare_" else "") + "borderless_" else "") + "frameless.png"}
|
|
is_curtains := {contains(card.notes, match:"!curtain")}
|
|
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
|
|
un_png := replace@(match:".png", replace: "")
|
|
ancestral_mana := { chosen(styling.other_options, choice:"ancestral generic mana")}
|
|
override_clear := replace@(match:"</color>(</b></code>)?", replace: "")+
|
|
replace@(match:"(<code><b>)?<color:black>", replace: "")
|
|
override_filter := replace@(match:"\\[([^\\]]+)]", replace: "<code><b><color:black>[\\1]</color></b></code>")
|
|
text_filter := text_filter + override_clear + {if chosen(styling.other_options, choice:"override-style text") then override_filter(input) else input}
|
|
center_map := {is_map() and (card.casting_cost == "" or chosen(styling.other_options, choice:"always center map names"))}
|
|
use_evobar := {chosen(styling.other_options, choice:"pokemon evobar")}
|
|
is_skinned := {chosen(styling.other_options, choice:"godzilla style alias")}
|
|
is_tarot := {chosen(styling.other_options, choice:"text watermarks")}
|
|
chop_top := {if styling.chop_top == "" then 0 else if comma_count(styling.chop_top) == "," or comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).0 else styling.chop_top}
|
|
chop_bot := {if comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).1 else if styling.chop_bottom == "" then 0 else styling.chop_bottom}
|
|
top_of_textbox := {(if is_map() then 340 else if is_full_art() then 359 else if is_mutate() then 395 else 327) - (-chop_top()) }
|
|
bottom_of_textbox := {(if is_map() then 475 else 481) - chop_bot() }
|
|
|
|
bar_offset := {if styling_offset() == "-" then 0 else if styling_offset() != "" then -styling_offset() else 0}
|
|
styling_offset := { replace(styling.flavor_bar_offset, match:"(u|d)+", replace: "") }
|
|
offset_lines := {offset_counter(styling.flavor_bar_offset)}
|
|
bar_equation := {if card_style.text.layout.blocks[0].bottom or else 0 > 0 then card_style.text.top + 0.5*(card_style.text.layout.blocks[0].bottom+card_style.text.layout.blocks[1].top) else old_bar_equation()}
|
|
|
|
is_leveler := {chosen(styling.frames, choice:"leveler")}
|
|
box_leveler := {styling.level_containers == "pt boxes"}
|
|
loy_leveler := {styling.level_containers == "loyalty boxes"}
|
|
aug_leveler := {box_leveler() and center_label(input)}
|
|
level_label := {if styling.level_label == "" then "level" else pull_comma_array(styling.level_label, end:false, cell:input, default:styling.level_label)}
|
|
center_label := {loy_leveler() or level_label(input) == " "}
|
|
lv_1_height := {lv_2_coordinate()}
|
|
lv_2_coordinate := {max(min(52 + to_number(pull_comma_array(styling.level_offset, cell:0))+(if is_full_art() then 20 else if is_mutate() then 12 else nil),152), 0)}
|
|
lv_3_coordinate := {max(min(101 + to_number(pull_comma_array(styling.level_offset, cell:1)+(if is_full_art() then 10 else if is_mutate() then 12 else nil)),152), lv_2_coordinate())}
|
|
lv_2_height := {lv_3_coordinate() - lv_2_coordinate()}
|
|
lv_3_height := {152-lv_3_coordinate()}
|
|
l1_center := {327 + (if is_full_art() then 16 else 0) + 0.5*lv_1_height()}
|
|
l2_center := {327 + lv_2_coordinate() + 0.5*lv_2_height()}
|
|
l3_center := {327 + lv_3_coordinate() + 0.5*lv_3_height()}
|
|
overlay1 := {slice_crop(background_slide(), height: lv_2_height(), width:314, distance:(152-lv_2_coordinate()))}
|
|
overlay2 := {slice_crop(background_slide_2(), height: lv_3_height(), width:314, distance:lv_3_height())}
|
|
mask_height := {if input == "one" then lv_1_height() else if input == "two" then lv_2_height() else if input == "three" then lv_3_height() else 0}
|
|
lone_pt := {chosen(styling.other_options, choice:"regular pt on levelers") and not starting_loyalty()}
|
|
starting_loyalty := {chosen(styling.other_options, choice:"use starting loyalty")}
|
|
choose_ptbox := {if is_fnm() then fnm_ptbox() else card_ptbox()}
|
|
lv_2_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else leveler_ptbox2() }
|
|
lv_3_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else leveler_ptbox3() }
|
|
arrow_left := {if box_leveler() then -3 else if loy_leveler() then 10 else 18}
|
|
arrow_width := {if box_leveler() then 84 else if loy_leveler() then 42 else 56}
|
|
arrow_height := {if aug_leveler(input) then 42 else if box_leveler() then 50 else if loy_leveler() then 40 else 40}
|
|
arrow_offset := {
|
|
to_number(pull_comma_array(styling.arrow_or_bullet_offsets, cell:input, end: 0))
|
|
+ (if box_leveler() then -5 else 0)
|
|
+ (if aug_leveler(input) then 4 else 0)
|
|
}
|
|
|
|
special_text := {if is_leveler() then ((if card.level_0 != "" then "[" + level_label(0) + " " + card.level_0 + "] " else "") + card.level_1_text + (if card.pt != "" then " [" + card.pt + "]" else "") + "\n"
|
|
+ (if card.level_1 != "" then "[" + level_label(1) + " " + card.level_1 + "] " else "") + card.level_2_text + (if card.pt_2 != "" then " [" + card.pt_2 + "]" else "") + "\n"
|
|
+ (if card.level_2 != "" then "[" + level_label(2) + " " + card.level_2 + "] " else "") + card.level_3_text + (if card.pt_3 != "" then " [" + card.pt_3 + "]" else "")
|
|
) else if is_mutate() then
|
|
card.level_1_text + "\n" + card.text
|
|
else ""
|
|
}
|
|
card_shape := {if is_leveler() then "leveler" else "normal"}
|
|
watermark_include := "/magic-modules.mse-include/watermarks"
|
|
############################################################## 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)
|
|
set info style:
|
|
symbol:
|
|
variation:
|
|
name: special
|
|
border radius: 0.10
|
|
fill type: solid
|
|
fill color: rgb(155,155,155)
|
|
border color: rgb(0,0,0)
|
|
############################################################## Extra style options
|
|
styling field:
|
|
type: text
|
|
name: chop top
|
|
description: Shrinks the textbox X pixels from the top OR shrinks "top,bottom,"
|
|
styling field:
|
|
type: text
|
|
name: chop bottom
|
|
description: Shrinks the textbox X pixels from the bottom.
|
|
styling field:
|
|
type: text
|
|
name: shrink name text
|
|
description: Reduces the name text N points.
|
|
styling field:
|
|
type: text
|
|
name: shrink typeline text
|
|
description: Reduces the typeline text N points.
|
|
styling field:
|
|
type: multiple choice
|
|
name: frames
|
|
description: Use these frames. Higher level frames may override lower levels.
|
|
choice: clear
|
|
choice: borderless art
|
|
choice: frameless art
|
|
choice: fullart
|
|
choice: mutate
|
|
choice: legend
|
|
choice: sync
|
|
choice: leveler
|
|
styling field:
|
|
type: text
|
|
name: flavor bar offset
|
|
description: Move the flavor bar up X pixels. Use negative to move down.
|
|
styling field:
|
|
type: text
|
|
name: popout image style
|
|
description: The styling instructions for the popout image field, formatted as "left,top,width,height,". The text MUST end with a comma.
|
|
styling field:
|
|
type: choice
|
|
name: legend crown
|
|
choice: standard
|
|
choice: nyx
|
|
choice: companion
|
|
choice: custom
|
|
description: The type of legend crown to use for this card.
|
|
styling field:
|
|
type: text
|
|
name: custom crown location
|
|
description: location of custom legend crown images in magic-mainframe-extras
|
|
styling field:
|
|
type: multiple choice
|
|
name: other options
|
|
description: Other frame options
|
|
choice: prerelease stamp
|
|
choice: regular pt on levelers
|
|
choice: text watermarks
|
|
initial: regular pt on levelers
|
|
styling field:
|
|
type: text
|
|
name: font cap
|
|
description: Caps the font size of all text boxes to allow consistent sizes. Default is 14.
|
|
styling field:
|
|
type: text
|
|
name: shrink last level
|
|
description: Shrinks the last textbox on leveler cards by X pixels.
|
|
styling field:
|
|
type: text
|
|
name: shrink last level font
|
|
description: Shrinks the font of the last textbox on leveler cards by X points.
|
|
styling field:
|
|
type: text
|
|
name: arrow or bullet offsets
|
|
description: Formatted as 1,2,3,. Move the level arrow down X pixels. Use negative to move up.
|
|
styling field:
|
|
type: text
|
|
name: level offset
|
|
description: Formatted as 1,2,3,. Move the level boxes down X pixels. Use negative to move up.
|
|
styling field:
|
|
type: text
|
|
name: level label
|
|
description: Change the level label. default is "LEVEL". Secondary lables can be added after a comma, "1,2,3,"
|
|
styling field:
|
|
type: choice
|
|
name: level containers
|
|
choice: arrows
|
|
choice: pt boxes
|
|
choice: loyalty boxes
|
|
styling field:
|
|
type: boolean
|
|
name: use holofoil stamps
|
|
description: Change to no to disable rare holofoil stamps
|
|
styling field:
|
|
type: boolean
|
|
name: color indicator dot
|
|
description: Use the color indicator dot
|
|
initial: no
|
|
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: choice
|
|
name: hybrid name
|
|
choice: grey
|
|
choice: gold
|
|
choice: hybrid
|
|
description: Use a grey background for the name and type line on hybrid cards like real cards, or gold or hybrid instead.
|
|
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: package choice
|
|
name: level mana symbols
|
|
match: magic-mana-*.mse-symbol-font
|
|
initial: magic-mana-large.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") }
|
|
frames:
|
|
render style: checklist
|
|
direction: vertical
|
|
other options:
|
|
render style: checklist
|
|
direction: vertical
|
|
############################################################## Card fields
|
|
include file: /magic-modules.mse-include/corners/card_fields
|
|
include file: /magic-modules.mse-include/card-symbols/card_fields
|
|
card style:
|
|
############################# Background stuff
|
|
border color:
|
|
left: 0
|
|
top : 0
|
|
width: {if is_borderless() then 0 else 375}
|
|
height: 523
|
|
radius: 18
|
|
left width: 17
|
|
right width: 17
|
|
top width: 17
|
|
bottom width: 18
|
|
z index: 4
|
|
mask: { (if is_puma() then "puma_" else "") + (if is_legend() then "crown_border" else "border_mask") + (if card.border_color == rgb(200,200,200) then "_silver" else "") + ".png" }
|
|
card color:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: 0
|
|
render style: image
|
|
popup style: in place
|
|
image: { if is_clear() then "" else if is_fnm() then fnm_background() else if is_full_art() then promo_background() else card_background() }
|
|
############################# Name line
|
|
name:
|
|
left: { if center_map() then 55 else if is_map() then 60 else if card.card_symbol=="none" then 32 else 50 }
|
|
top: { if is_map() then 27 else if is_clear() then 31 else 30 }
|
|
right: { if center_map() then 320 else (if is_map() then 320 else 341) - card_style.casting_cost.content_width }
|
|
height: { 23 - (0.5 * shrink_name()) }
|
|
alignment: {if center_map() then "center bottom shrink-overflow" else "left bottom shrink-overflow" }
|
|
padding bottom: 0
|
|
z index: 2
|
|
font:
|
|
name: { if is_map() then "Beleren Small Caps" else "Beleren Bold" }
|
|
size: { (if is_map() then 14.8 else 16) - shrink_name() }
|
|
color: {if is_shifted() or is_fnm() then "white" else "black"}
|
|
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
alias:
|
|
left: {if is_skinned() then 45 else if is_map() then 15 else 33}
|
|
top: {if is_map() then 58 else 53}
|
|
width: {if is_skinned() then 285 else if use_evobar() then max(100, card_style.alias.content_width) else 0}
|
|
height: 20
|
|
alignment: { (if is_skinned() then "center" else "") + "bottom shrink-overflow"}
|
|
padding bottom: 0
|
|
z index: 3
|
|
font:
|
|
name: Matrix
|
|
size: 10
|
|
style: italic
|
|
color: black
|
|
casting cost:
|
|
right: { if is_map() then 327 else 346}
|
|
top: { if is_map() then 27 else 29}
|
|
width: { max(30, card_style.casting_cost.content_width) + 5 }
|
|
height: 23
|
|
alignment: middle right
|
|
font:
|
|
name: MPlantin
|
|
size: { if is_map() then 14 else 15}
|
|
symbol font:
|
|
name: magic-mana-large
|
|
size: { if is_map() then 14 else 15}
|
|
alignment: middle right
|
|
always symbol: true
|
|
z index: 2
|
|
padding top: 0
|
|
############################# Image
|
|
image:
|
|
left: { if is_clear() or is_map() or is_expanded_art() or is_puma() then 0 else if is_full_art() then 23 else if is_mutate() then 22 else 29}
|
|
top: {if is_map() then 57 else if is_clear() or is_expanded_art() then 0 else 60}
|
|
width: {if is_clear() or is_map() or is_expanded_art() or is_puma() then 375 else if is_full_art() then 328 else if is_mutate() then 330 else 316}
|
|
height: {if is_clear() or is_expanded_art() then 523 else if is_map() then 241 else if is_puma() then 265 else if is_full_art() then 423 else if is_mutate() then 334 else 232}
|
|
z index: 1
|
|
default: {default_image(card.card_color)}
|
|
mask: { if is_clear() then "image_mask.png" else if is_thbland() then "cornermask.png" else if is_puma() then "puma_mask.png" else if is_expanded_art() then expanded_mask() else if is_full_art() then "promo/image_mask" + (if is_stamped() then "_rare") + ".png" else if is_mutate() then "mutate_mask.png" else ""}
|
|
mainframe image:
|
|
left: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).0 else "0"}
|
|
top: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).1 else "0"}
|
|
width: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).2 else "0"}
|
|
height: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).3 else "0"}
|
|
z index: 1010
|
|
############################# Card type
|
|
indicator:
|
|
left: { if is_map() then 18 else if is_season() then 43 else 31}
|
|
top: { if is_clear() or is_map() then 298 else if is_thbland() then 449 else if is_full_art() then 332 else 300 }
|
|
width: 17
|
|
height: 17
|
|
z index: 2
|
|
render style: image
|
|
visible: { has_identity() }
|
|
image: { module_identity() }
|
|
type:
|
|
left: { if is_map() then 85 else if is_season() then (if has_identity() then "64" else "44") else if has_identity() then "52" else "32" }
|
|
top: { (if is_map() then 297.5 else if is_clear() then 294 else if is_thbland() then 444 else if is_full_art() then 329 else 296) + shrink_type() }
|
|
width: { if is_map() then 205 else (if has_identity() then "290" else "310") - (if card_style.rarity.width == 0 then 0 else max(22,card_style.rarity.content_width)) - (if is_season() then 12 else 0) }
|
|
height: { (if is_map() then 18 else 20) - shrink_type() }
|
|
alignment: { if is_map() then "center top shrink-overflow" else "top shrink-overflow"}
|
|
z index: 5
|
|
padding top: 2
|
|
font:
|
|
name: Beleren Bold
|
|
size: { (if is_map() then 12 else 13) - shrink_type() }
|
|
color: { if is_full_art() or is_puma() or is_shifted() or is_fnm() then "white" else "black"}
|
|
shadow color: {if is_full_art() or is_puma() or is_shifted() or is_fnm() then "black" else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
separator color: red
|
|
rarity:
|
|
right: { if is_map() then 199 else 344}
|
|
top: { if is_map() then 53 else if is_clear() then 295 else if is_thbland() then 445 else if is_full_art() then 329 else 297 }
|
|
width: 44
|
|
height: 22
|
|
z index: 5
|
|
render style: image
|
|
alignment: middle right
|
|
include file: /magic-modules.mse-include/rarities/choice_images
|
|
############################# Text boxs
|
|
text:
|
|
left: { if (card.level_0 != "" or card.level_1 != "" or card.level_2 != "") then 75 else if is_map() then 40 else 29}
|
|
top: { top_of_textbox() }
|
|
width: { if is_leveler() then 0 else (if(card.level_0 != "" or card.level_1 != "" or card.level_2 != "") then -46 else 0) + if is_map() then 287 else 314 }
|
|
bottom: { bottom_of_textbox() }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else (if is_mutate() then 12 else 14)}
|
|
scale down to: 6
|
|
color: { if is_full_art() or is_fnm() then "white" else "black"}
|
|
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
|
|
scale down to: 6
|
|
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: 4
|
|
padding left: 6
|
|
padding right: 4
|
|
line height hard: {if is_modal(card.rule_text) then 0.9 else 1.2 }
|
|
line height line: 1.5
|
|
line height soft: 0.9
|
|
line height hard max: {if is_modal(card.rule_text) then 1.0 else 1.3 }
|
|
line height line max: 1.6
|
|
############################# leveler
|
|
level 1 text:
|
|
left: { if is_leveler() and card.level_0 != "" then (if loy_leveler() then 57 else if box_leveler() then 78 else 75) else if is_map() then 40 else 29}
|
|
top: {if is_mutate() then 329 else top_of_textbox()}
|
|
right: { if is_leveler() then (if lone_pt() or card.pt == "" then 342 else 277) else if is_mutate() then 342 else if is_map() then 40 else 29}
|
|
bottom: { if is_mutate() then 392 else if is_leveler() then (327+lv_1_height()) else bottom_of_textbox() }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
|
|
scale down to: 6
|
|
color: { if is_full_art() or is_fnm() then "white" else "black"}
|
|
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
|
|
scale down to: 6
|
|
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: {if is_modal(card.level_1_text) then 0.9 else 1.2 }
|
|
line height line: 1.5
|
|
line height soft: 0.9
|
|
line height hard max: {if is_modal(card.level_1_text) then 1.0 else 1.3 }
|
|
line height line max: 1.6
|
|
level 2 text:
|
|
left: { if is_leveler() then (if card.level_1 != "" then (if loy_leveler() then 57 else if box_leveler() then 78 else 75) else if is_map() then 40 else 29) else 0}
|
|
top: { if is_leveler() then (329 + lv_2_coordinate()) else 0 }
|
|
right: { if is_leveler() then (if card.pt_2 != "" then 277 else 342) else 0 }
|
|
bottom: { if is_leveler() then (329 + lv_2_coordinate()) + lv_2_height()-2 else 0 }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
|
|
scale down to: 6
|
|
color: { if is_full_art() or is_fnm() then "white" else "black"}
|
|
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
|
|
scale down to: 6
|
|
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: {if is_modal(card.level_2_text) then 0.9 else 1.2 }
|
|
line height line: 1.5
|
|
line height soft: 0.9
|
|
line height hard max: {if is_modal(card.level_2_text) then 1.0 else 1.3 }
|
|
line height line max: 1.6
|
|
level 3 text:
|
|
left: {if card.level_2 != "" then (if loy_leveler() then 57 else if box_leveler() then 78 else 75) else if is_map() then 40 else 29}
|
|
top: {331 + lv_3_coordinate()}
|
|
right: {if card.pt_3 != "" then 277 else 342 - to_number(styling.shrink_last_level)}
|
|
height: {if not is_leveler() then 0 else lv_3_height()-2}
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else if styling.shrink_last_level_font != "" then 14 - to_number(styling.shrink_last_level_font) else 14}
|
|
scale down to: 6
|
|
color: { if is_full_art() or is_fnm() then "white" else "black"}
|
|
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
|
|
scale down to: 6
|
|
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: {if is_modal(card.level_3_text) then 0.9 else 1.2 }
|
|
line height line: 1.5
|
|
line height soft: 0.9
|
|
line height hard max: {if is_modal(card.level_3_text) then 1.0 else 1.3 }
|
|
line height line max: 1.6
|
|
watermark:
|
|
left: { if is_map() then 40 else 19 }
|
|
top: { if is_full_art() then 359 else 330 }
|
|
width: { if is_tarot() then 0 else if is_map() then 287 else 334 }
|
|
height: { if is_map() then 154 else if is_full_art() then 120 else 152 }
|
|
z index: 2
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: /magic.mse-game/watermarks/menu_choice_images
|
|
image: { watermark_image_1() }
|
|
############################# Levels
|
|
level 0:
|
|
z index: 7
|
|
left: {if box_leveler() then 8 else if loy_leveler() then 14 else 21}
|
|
top: {l1_center() - (if aug_leveler(0) then 4 else 2) - (if center_label(0) then 6 else 0) + arrow_offset(0)}
|
|
width: {if is_leveler() or card.level_0 != "" then (34 + (if box_leveler() then 30 else 0)) else 0}
|
|
height: 22
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: {if loy_leveler() then 11 else 12 + if center_label(0) then 2 else 0}
|
|
weight: bold
|
|
color: {if loy_leveler() then "white" else "black"}
|
|
shadow color: { if loy_leveler() then rgba(0,0,0,0) else "white"}
|
|
shadow blur: 2
|
|
symbol font:
|
|
name: { styling.level_mana_symbols }
|
|
size: {12 + if center_label(0) then 0.5 else 0}
|
|
level 1:
|
|
z index: 7
|
|
left: {if box_leveler() then 8 else if loy_leveler() then 14 else 21}
|
|
top: {l2_center() - (if aug_leveler(1) then 4 else 2) - (if center_label(1) then 6 else 0) + arrow_offset(1)}
|
|
height: 22
|
|
width: {if is_leveler() or card.level_1 != "" then (34 + (if box_leveler() then 30 else 0)) else 0}
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: {if loy_leveler() then 11 else 12 + if center_label(0) then 2 else 0}
|
|
weight: bold
|
|
color: {if loy_leveler() then "white" else "black"}
|
|
shadow color: { if loy_leveler() then rgba(0,0,0,0) else "white"}
|
|
shadow blur: 2
|
|
symbol font:
|
|
name: { styling.level_mana_symbols }
|
|
size: {12 + if center_label(0) then 0.5 else 0}
|
|
level 2:
|
|
z index: 7
|
|
left: {if box_leveler() then 8 else if loy_leveler() then 14 else 21}
|
|
top: {l3_center() - (if aug_leveler(2) then 4 else 2) - (if center_label(2) then 6 else 0) + arrow_offset(2)}
|
|
width: {if is_leveler() or card.level_2 != "" then (34 + (if box_leveler() then 30 else 0)) else 0}
|
|
height: 22
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: {if loy_leveler() then 11 else 12 + if center_label(0) then 2 else 0}
|
|
weight: bold
|
|
color: {if loy_leveler() then "white" else "black"}
|
|
shadow color: { if loy_leveler() then rgba(0,0,0,0) else "white"}
|
|
shadow blur: 2
|
|
symbol font:
|
|
name: { styling.level_mana_symbols }
|
|
size: {12 + if center_label(0) then 0.5 else 0}
|
|
############################# PT
|
|
pt:
|
|
z index: 4
|
|
left: {if is_leveler() and not lone_pt() then 291 else 286}
|
|
top: { if is_leveler() and not lone_pt() then (l1_center() - 14) else if is_map() then 467 else 469}
|
|
width: {if starting_loyalty() and not is_leveler() then 0 else 60}
|
|
height: 28
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: {if is_map() then 14 else 16}
|
|
color: {if is_shifted() or is_fnm() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
|
|
separator color: red
|
|
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
|
|
pt 2:
|
|
z index: 4
|
|
left: 291
|
|
top: {(l2_center() - 12)}
|
|
width: {if is_leveler() and not lone_pt() or card.pt_2 != "" then 60 else 0}
|
|
height: 28
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: {if is_map() then 14 else 16}
|
|
color: {if is_shifted() or is_fnm() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
|
|
separator color: red
|
|
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
pt 3:
|
|
z index: 4
|
|
left: 291
|
|
top: {(l3_center() - 12)}
|
|
width: {if is_leveler() and not lone_pt() or card.pt_3 != "" then 60 else 0}
|
|
height: 28
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: {if is_map() then 14 else 16}
|
|
color: {if is_shifted() or is_fnm() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
|
|
separator color: red
|
|
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
|
|
shadow displacement x: -1
|
|
shadow displacement y: 1
|
|
loyalty:
|
|
z index: 7
|
|
left: 326
|
|
top: 468
|
|
width: {if starting_loyalty() then 13.16 else 0}
|
|
height: 34.63
|
|
alignment: center middle
|
|
font:
|
|
name: Beleren Bold
|
|
size: 14
|
|
color: white
|
|
############################# Card sorting / numbering
|
|
set code:
|
|
left: 19
|
|
top: 509
|
|
width: 40
|
|
height: 10
|
|
z index: 3
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
############################# Copyright stuff
|
|
illustrator:
|
|
right: 353
|
|
top: 509
|
|
width: {max(50, card_style.illustrator.content_width + 5)}
|
|
height: 10
|
|
z index: 3
|
|
alignment: middle right shrink-overflow
|
|
font:
|
|
name: Beleren Small Caps Bold
|
|
size: 7.25
|
|
color: white
|
|
copyright:
|
|
right: 350
|
|
top: { if is_leveler() and not lone_pt() then 488 else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty()) then 500 else 488 }
|
|
width: {if set.automatic_copyright then 0 else 140}
|
|
height: 10
|
|
z index: 4
|
|
alignment: middle right shrink-overflow
|
|
font:
|
|
name: MPlantin
|
|
size: 6.5
|
|
color: white
|
|
weight: bold
|
|
############################################################## Extra card fields
|
|
extra card field:
|
|
type: text
|
|
name: card code
|
|
save value: false
|
|
script: card_code_script(value)
|
|
extra card field:
|
|
type: choice
|
|
name: artist arrow
|
|
editable: false
|
|
save value: false
|
|
choice: white
|
|
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
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: pt box 3
|
|
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: clear frame
|
|
choice: frame
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: foil layer
|
|
choice: foil
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: text
|
|
name: auto copyright
|
|
script: set.copyright
|
|
save value: false
|
|
editable: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: mainframe rarity
|
|
choice: rarity
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: sync overlay
|
|
choice: sync
|
|
save value: false
|
|
editable: false
|
|
script: card.card_color
|
|
extra card field:
|
|
type: choice
|
|
name: miracle overlay
|
|
choice: miracle
|
|
save value: false
|
|
editable: false
|
|
script: card.card_color
|
|
extra card field:
|
|
type: choice
|
|
name: map frame
|
|
script: card.card_color
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: flavor bar
|
|
choice: bar
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: text
|
|
name: tarot watermark
|
|
extra card field:
|
|
type: choice
|
|
name: curtain
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: scrolls
|
|
choice: scroll
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: crown
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: text
|
|
name: promo label
|
|
save value: true
|
|
description: The golden promo label.
|
|
extra card field:
|
|
type: choice
|
|
name: evobar
|
|
choice: evo
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: evobar tip
|
|
choice: evo
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: evobar start
|
|
choice: evo
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: flash indicator
|
|
choice: dot
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: text
|
|
name: bullet 1
|
|
save value: false
|
|
editable: false
|
|
script: "•"
|
|
extra card field:
|
|
type: text
|
|
name: bullet 2
|
|
save value: false
|
|
script: "•"
|
|
editable: false
|
|
extra card field:
|
|
type: text
|
|
name: bullet 3
|
|
save value: false
|
|
script: "•"
|
|
editable: false
|
|
extra card field:
|
|
type: text
|
|
name: bullet 4
|
|
save value: false
|
|
script: "•"
|
|
editable: false
|
|
extra card field:
|
|
type: text
|
|
name: bullet 5
|
|
save value: false
|
|
script: "•"
|
|
editable: false
|
|
# Add the word "LEVEL" to the top arrow.
|
|
extra card field:
|
|
type: text
|
|
name: lvl label 0
|
|
editable: false
|
|
save value: false
|
|
script: if loy_leveler() then ":" else level_label(0)
|
|
# Add the word "LEVEL" to the first arrow.
|
|
extra card field:
|
|
type: text
|
|
name: lvl label 1
|
|
editable: false
|
|
save value: false
|
|
script: if loy_leveler() then ":" else level_label(1)
|
|
# Add the word "LEVEL" to the second arrow.
|
|
extra card field:
|
|
type: text
|
|
name: lvl label 2
|
|
editable: false
|
|
save value: false
|
|
script: if loy_leveler() then ":" else level_label(2)
|
|
extra card field:
|
|
type: choice
|
|
name: level 2 overlay
|
|
script: card.card_color
|
|
choice: mask
|
|
editable: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: level 3 overlay
|
|
script: card.card_color
|
|
choice: mask
|
|
editable: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: arrow 1
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: arrow 2
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: arrow 3
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: mutbar
|
|
choice: bar
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: color
|
|
name: silver patch
|
|
script: rgb(0,0,0)
|
|
extra card field:
|
|
type: text
|
|
name: ascend
|
|
script: text_filter(value, card_name:card.name, margin_code:"unknown")
|
|
extra card field:
|
|
type: choice
|
|
name: season flag
|
|
script: card.card_color
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty box
|
|
editable: false
|
|
choice: loyalty
|
|
save value: false
|
|
extra card style:
|
|
promo label:
|
|
left: 40
|
|
top: { if is_full_art() then 295 else 262 }
|
|
width: {if chosen(styling.other_options, choice:"prerelease stamp") then 295 else 0}
|
|
height: 29
|
|
alignment: middle right
|
|
z index: 4
|
|
font:
|
|
name: ModMatrix
|
|
size: 14
|
|
color: rgb(223,169,41)
|
|
card code:
|
|
left: 47
|
|
top: 509
|
|
width: 120
|
|
height: 10
|
|
z index: 3
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
artist arrow:
|
|
right: {348 - (card_style.illustrator.content_width + 5)}
|
|
top: 512
|
|
width: 12
|
|
height: 7
|
|
z index: 3
|
|
render style: image
|
|
image: artist_arrow.png
|
|
pt box:
|
|
left: { if is_leveler() and not lone_pt() then 278 else if is_map() then 270 else 273}
|
|
top: { if is_leveler() and not lone_pt() then (l1_center() - (if is_map() then 26 else 18)) else if is_map() then 453 else 466}
|
|
width: { if starting_loyalty() and not is_leveler() then 0 else if is_map() then 90 else 81}
|
|
height: { if is_map() then 54 else 42}
|
|
z index: 3
|
|
visible: { card.pt != "" }
|
|
render style: image
|
|
image: { if is_map() then mappt_background() else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "vpt.png" else if is_clear() then "cpt.png" else choose_ptbox() }
|
|
pt box 2:
|
|
left: 278
|
|
top: { l2_center() - (if is_map() then 26 else 15)}
|
|
width: { if (is_leveler() and not lone_pt()) or card.pt_2 != "" then (if is_map() then 90 else 81) else 0}
|
|
height: { if (is_leveler() and not lone_pt()) or card.pt_2 != "" then (if is_map() then 54 else 42) else 0}
|
|
z index: 3
|
|
visible: { card.pt_2 != "" }
|
|
render style: image
|
|
image: {if is_map() then mappt_background() else combine_blend(image1: lv_2_ptbox(), image2: "ptbox_multiply_1.png", combine: "multiply")}
|
|
pt box 3:
|
|
left: 278
|
|
top: { l3_center() - (if is_map() then 26 else 15)}
|
|
width: { if (is_leveler() and not lone_pt()) or card.pt_3 != "" then (if is_map() then 90 else 81) else 0}
|
|
height: { if (is_leveler() and not lone_pt()) or card.pt_3 != "" then (if is_map() then 54 else 42) else 0}
|
|
z index: 3
|
|
visible: { card.pt_3 != "" }
|
|
render style: image
|
|
image: {if is_map() then mappt_background() else combine_blend(image1: lv_3_ptbox(), image2: "ptbox_multiply_2.png", combine: "multiply")}
|
|
loyalty box:
|
|
right: 362
|
|
top: 466
|
|
width: 60
|
|
height: 38
|
|
z index: 6
|
|
render style: image
|
|
visible: { starting_loyalty() and card.loyalty != "" }
|
|
choice images:
|
|
loyalty: loyalty.png
|
|
foil stamp:
|
|
left: 168
|
|
top: 491
|
|
width: 40
|
|
height: 23
|
|
z index: 3
|
|
visible: { is_stamped() and not is_clear() }
|
|
render style: image
|
|
image: foil_stamp.png
|
|
foil layer:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
z index: 1050
|
|
render style: image
|
|
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
|
mask: { "foil_mask" + (if card.pt != "" then "_pt") + (if is_stamped() then "_rare") + ".png" }
|
|
auto copyright:
|
|
right: 350
|
|
top: { if is_leveler() and not lone_pt() then 488 else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty()) then 500 else 488 }
|
|
width: {if set.automatic_copyright then 140 else 0}
|
|
height: 10
|
|
z index: 4
|
|
alignment: middle right shrink-overflow
|
|
font:
|
|
name: MPlantin
|
|
size: 6.5
|
|
color: white
|
|
weight: bold
|
|
sync overlay:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
render style: image
|
|
image: {sync_background()}
|
|
z index: 0
|
|
visible: {is_sync()}
|
|
### FNM has a teeny mask because of a few pixel disagreements between it and normal frames
|
|
crown:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
render style: image
|
|
image: {if is_clear() then "legend/xcrown.png" else if is_fnm() then set_mask(image:crown_background(), mask:"legend/fnm_mask.png") else crown_background()}
|
|
z index: 5
|
|
visible: {is_legend() and not is_map()}
|
|
mask: {if is_legend() and (is_curtains() or is_expanded_art() or is_puma()) then "curtainmask.png" else if is_season() then "crown_season_mask.png" else ""}
|
|
clear frame:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: 1
|
|
render style: image
|
|
image: { if is_stamped() then "clear_rare.png" else "clear.png"}
|
|
visible: { is_clear() }
|
|
map frame:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: 1
|
|
render style: image
|
|
image: { if is_map() then map_background() else energy_background() }
|
|
visible: { is_map() or is_thbland() }
|
|
flavor bar:
|
|
left: 0
|
|
top: { bar_equation() }
|
|
width: 375
|
|
height: 1
|
|
z index: 1
|
|
render style: image
|
|
image: bar.png
|
|
visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar }
|
|
tarot watermark:
|
|
left: { if is_map() then 40 else 19 }
|
|
top: { if is_full_art() then 359 else 330 }
|
|
width: { if not is_tarot() then 0 else if is_map() then 287 else 334 }
|
|
height: { if is_map() then 154 else if is_full_art() then 120 else 152 }
|
|
z index: 2
|
|
alignment: middle center
|
|
font:
|
|
name: MPlantin
|
|
size: 90
|
|
color: {rgba(0,0,0,40)}
|
|
lvl label 0:
|
|
left: {if box_leveler() then 8 else if loy_leveler() then 48 else 21}
|
|
top: {l1_center() - (if loy_leveler() then 2 else 10) + arrow_offset(0)}
|
|
width: {if is_leveler() or card.level_0 != "" then (if loy_leveler() then 10 else 34 + (if box_leveler() then 30 else 0)) else 0}
|
|
height: {if loy_leveler() then 10 else if center_label(0) then 0 else 10}
|
|
z index: 6
|
|
alignment: middle center
|
|
font:
|
|
name: {if loy_leveler() then "MPlantin" else "Beleren Small Caps"}
|
|
size: {if loy_leveler() then 15 else if length(level_label(0)) < 8 or box_leveler() then 7 else 6}
|
|
color: black
|
|
weight: {if loy_leveler() then "" else "bold"}
|
|
visible: {card.level_0 != ""}
|
|
lvl label 1:
|
|
left: {if box_leveler() then 8 else if loy_leveler() then 48 else 21}
|
|
top: {l2_center() - (if loy_leveler() then 2 else 10) + arrow_offset(1)}
|
|
width: {if is_leveler() or card.level_1 != "" then (if loy_leveler() then 10 else 34 + (if box_leveler() then 30 else 0)) else 0}
|
|
height: {if loy_leveler() then 10 else if center_label(1) then 0 else 10}
|
|
z index: 6
|
|
alignment: middle center
|
|
font:
|
|
name: {if loy_leveler() then "MPlantin" else "Beleren Small Caps"}
|
|
size: {if loy_leveler() then 15 else if length(level_label(1)) < 8 or box_leveler() then 7 else 6}
|
|
color: black
|
|
weight: {if loy_leveler() then "" else "bold"}
|
|
visible: {card.level_1 != ""}
|
|
lvl label 2:
|
|
left: {if box_leveler() then 8 else if loy_leveler() then 48 else 21}
|
|
top: {l3_center() - (if loy_leveler() then 2 else 10) + arrow_offset(2)}
|
|
width: {if is_leveler() or card.level_2 != "" then (if loy_leveler() then 10 else 34 + (if box_leveler() then 30 else 0)) else 0}
|
|
height: {if loy_leveler() then 10 else if center_label(2) then 0 else 10}
|
|
z index: 6
|
|
alignment: middle center
|
|
font:
|
|
name: {if loy_leveler() then "MPlantin" else "Beleren Small Caps"}
|
|
size: {if loy_leveler() then 15 else if length(level_label(2)) < 8 or box_leveler() then 7 else 6}
|
|
color: black
|
|
weight: {if loy_leveler() then "" else "bold"}
|
|
visible: {card.level_2 != ""}
|
|
level 2 overlay:
|
|
left: 29
|
|
top: { 329 + lv_2_coordinate()}
|
|
height: { lv_2_height()}
|
|
width: 314
|
|
z index: 0
|
|
render style: image
|
|
image: {overlay1()}
|
|
visible: {is_leveler() and not is_full_art() and not is_map() and not is_fnm()}
|
|
level 3 overlay:
|
|
left: 29
|
|
top: { 329 + lv_3_coordinate()}
|
|
height: { lv_3_height()}
|
|
width: 314
|
|
z index: 0
|
|
render style: image
|
|
image: {overlay2()}
|
|
visible: {is_leveler() and not is_full_art() and not is_map() and not is_fnm()}
|
|
arrow 1:
|
|
z index: 5
|
|
left: {arrow_left()}
|
|
top: {l1_center() - 16 + arrow_offset(0)}
|
|
width: {if card.level_0 != "" then arrow_width() else 0}
|
|
height: {arrow_height(0)}
|
|
render style: image
|
|
image: {if loy_leveler() then loyalty_image(card.level_0) else if box_leveler() then choose_ptbox() else arrow_background()}
|
|
arrow 2:
|
|
z index: 5
|
|
left: {arrow_left()}
|
|
top: {l2_center() - 16 + arrow_offset(1)}
|
|
width: {if card.level_1 != "" then arrow_width() else 0}
|
|
height: {arrow_height(1)}
|
|
render style: image
|
|
image: {if loy_leveler() then loyalty_image(card.level_1) else if box_leveler() then choose_ptbox() else arrow_background()}
|
|
arrow 3:
|
|
z index: 5
|
|
left: {arrow_left()}
|
|
top: {l3_center() - 16 + arrow_offset(2)}
|
|
width: {if card.level_2 != "" then arrow_width() else 0}
|
|
height: {arrow_height(2)}
|
|
render style: image
|
|
image: {if loy_leveler() then loyalty_image(card.level_2) else if box_leveler() then choose_ptbox() else arrow_background()}
|