1149 lines
32 KiB
Plaintext
1149 lines
32 KiB
Plaintext
mse version: 2.0.0
|
|
game: magic
|
|
short name: Godzilla Saga
|
|
full name: M15 Godzilla Saga
|
|
installer group: magic/m15 style/sagas
|
|
icon: card-sample.png
|
|
position hint: 018
|
|
|
|
version: 2020-05-10
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2014-06-25
|
|
depends on:
|
|
package: magic-watermarks.mse-include
|
|
version: 2007-09-23
|
|
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
|
|
depends on:
|
|
package: magic-identity-new.mse-include
|
|
version: 2012-01-22
|
|
depends on:
|
|
package: magic-mainframe-extras.mse-include
|
|
version: 2018-01-01
|
|
|
|
card width: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
############################################################## Extra scripts
|
|
init script:
|
|
# Should hybrids have a grey name?
|
|
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
|
|
|
template_prefix := [card: "" pt: "" stamp: "" nyx:"nyx/", crown:"legend/" alias: "alias/" identity: "/magic-identity-new.mse-include/"]
|
|
template_suffix := [card: "card.png" pt:"pt.png" stamp: "stamp.png" nyx:"nyx.png", crown:"crown.png" alias: "card.png" identity: "identity.png"]
|
|
template := { crown_lead(type) + template_prefix[type] + (if type == "crown" and not show_alias() then "noals/") + input + crown_follow(type) + template_suffix[type] }
|
|
land_template := template
|
|
# Use land templates for previews because they show more contrast
|
|
hybrid_previews := "land,hybrid"
|
|
landless := {if input == "nyx" or input == "crown" then true else false}
|
|
|
|
saga_text := {card.level_1_text + card.level_2_text + card.level_3_text + card.level_4_text}
|
|
is_nyx := {styling.legend_crown == "nyx" or (styling.legend_crown == "auto" and contains(card.super_type, match: "Enchantment Creature"))}
|
|
is_com := {styling.legend_crown == "companion" or (styling.legend_crown == "auto" and contains(saga_text(), match: "Companion"))}
|
|
|
|
show_border := {chosen(styling.other_options, choice: "show border")}
|
|
|
|
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 is_nyx()
|
|
then "nyx"
|
|
else if is_com()
|
|
then "com"
|
|
else ""
|
|
}
|
|
|
|
# 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 }
|
|
|
|
paintbrush_color := {
|
|
if to_int(card.border_color) < 96 then "white" else "black"
|
|
}
|
|
|
|
# Loyalty cost arrows
|
|
loyalty_image := {
|
|
if contains(input, match: "+") then "loyalty up"
|
|
else if contains(input, match: "-") then "loyalty down"
|
|
else "loyalty naught"
|
|
}
|
|
|
|
card_shape := {"saga"}
|
|
|
|
# Is the card a promo card?
|
|
is_promo := { styling.promo }
|
|
starting_loyalty := {chosen(styling.other_options, choice:"use starting loyalty")}
|
|
|
|
is_stamped := { is_rare() and styling.holofoil_stamped_rares }
|
|
split_12 := {to_number(pull_comma_array(styling.chapter_divider_coordinates, cell:0, end:true, default:(if two_boxes() then 296 else if four_boxes() then 225 else 249)))}
|
|
split_23 := {to_number(pull_comma_array(styling.chapter_divider_coordinates, cell:1, end:true, default:(if two_boxes() then 437 else if four_boxes() then 296 else 343)))}
|
|
split_34 := {to_number(pull_comma_array(styling.chapter_divider_coordinates, cell:2, end:true, default:(if three_boxes() then 437 else if four_boxes() then 367 else 600)))}
|
|
|
|
chapter1 := { to_number(pull_comma_array(styling.chapter_number_coordinates, cell:0, end:true, default:(if two_boxes() then 183 else 185))) }
|
|
chapter2 := { to_number(pull_comma_array(styling.chapter_number_coordinates, cell:1, end:true, default:(if two_boxes() then 223 else 279))) }
|
|
chapter3 := { to_number(pull_comma_array(styling.chapter_number_coordinates, cell:2, end:true, default:(if two_boxes() then 329 else 373))) }
|
|
chapter4 := { to_number(pull_comma_array(styling.chapter_number_coordinates, cell:3, end:true, default:600)) }
|
|
chapter5 := { to_number(pull_comma_array(styling.chapter_number_coordinates, cell:4, end:true, default:600)) }
|
|
chapter6 := { to_number(pull_comma_array(styling.chapter_number_coordinates, cell:5, end:true, default:600)) }
|
|
chapter_custom := { to_number(pull_comma_array(styling.custom_chapter_coordinate, cell:0, end:false, default:600)) }
|
|
custom_chapter_node := {if contains(styling.custom_chapter_location, match:".png") then "/magic-mainframe-extras.mse-include/" + styling.custom_chapter_location else "chapter6.png"}
|
|
custom_name := {if styling.custom_chapter_name == "" then "C" else styling.custom_chapter_name}
|
|
|
|
comma_count := filter_text@(match:",")
|
|
shrink_type := {if styling.shrink_typeline_text != "" then to_int(styling.shrink_typeline_text) else 0 }
|
|
shrink_name := {if styling.shrink_name_text != "" then to_int(styling.shrink_name_text) else 0 }
|
|
text_size := { 13 -(if styling.separated_text_size == "" then 0 else to_number(styling.separated_text_size))}
|
|
has_identity := { styling.color_indicator_dot}
|
|
is_unsorted := {styling.remove_from_autocount}
|
|
build_array := {
|
|
if input +17 >= (if split_34() != "" then split_34() else 600) then 4
|
|
else if input +17 >= (if split_23() != "" then split_23() else 343) then 3
|
|
else if input +17 >= (if split_12() != "" then split_12() else 249) then 2
|
|
else if input +17 <= (if split_12() != "" then split_12() else 249) then 1
|
|
else 0
|
|
}
|
|
level_leader := {
|
|
(if build_array((if chapter1() != "" then chapter1() else 185)) == input then "I, " else "")
|
|
+(if build_array((if chapter2() != "" then chapter2() else 279)) == input then "II, " else "")
|
|
+(if build_array((if chapter3() != "" then chapter3() else 373)) == input then "III, " else "")
|
|
+(if build_array((if chapter4() != "" then chapter4() else 600)) == input then "IV, " else "")
|
|
+(if build_array((if chapter5() != "" then chapter5() else 600)) == input then "V, " else "")
|
|
+(if build_array((if chapter6() != "" then chapter6() else 600)) == input then "VI, " else "")
|
|
+(if build_array((if chapter_custom() != "" then chapter_custom() else 600)) == input then custom_name() + ", " else "")
|
|
}
|
|
end_leader := replace@(match:", $", replace:" — ")
|
|
special_text := {
|
|
card.rule_text
|
|
+(if card.level_1_text != "" then "\n" + end_leader(level_leader(1)) + card.level_1_text)
|
|
+(if card.level_2_text != "" then "\n" + end_leader(level_leader(2)) + card.level_2_text)
|
|
+(if card.level_3_text != "" then "\n" + end_leader(level_leader(3)) + card.level_3_text)
|
|
+(if card.level_4_text != "" then "\n" + end_leader(level_leader(4)) + card.level_4_text)
|
|
}
|
|
saga_rules_text := { chapter3() + "|" + (if split_12() != "" then split_12() else 249) + "|" + (if split_23() != "" then split_23() else 343) }
|
|
|
|
two_boxes := {styling.chapter_textboxes == "two" }
|
|
three_boxes := {styling.chapter_textboxes == "three" or comma_count(styling.chapter_divider_coordinates) == ",,"}
|
|
four_boxes := {styling.chapter_textboxes == "four" or comma_count(styling.chapter_divider_coordinates) == ",,,"}
|
|
use_main_rarity := { contains(styling.mainframe_rarity, match: ".png")}
|
|
un_png := replace@(match:".png", replace: "")
|
|
a_saga := {true}
|
|
show_alias := {if chosen(styling.other_options, choice: "no alias") then "false" else "true"}
|
|
is_legend := {( set.auto_legends and contains(card.super_type, match:"Legendary") ) or chosen(styling.other_options, choice: "legend")}
|
|
nyx_background := { color_background(type:"nyx", base_hybrid:card_hybrid) }
|
|
crown_background := { color_background(type:"crown", base_hybrid: card_hybrid)}
|
|
alt_loc := { if styling.replacement_chapter_location != "" then styling.replacement_chapter_location else "no"}
|
|
alt_chapters := { (if match(styling.replacement_chapter_location, match:"/$") then "/magic-mainframe-extras.mse-include/" + styling.replacement_chapter_location else "") + "chapter" + input + ".png"}
|
|
|
|
alias_background := {color_background(type: "alias", base_hybrid: card_hybrid)}
|
|
############################################################## 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: choice
|
|
name: chapter textboxes
|
|
description: How many textboxes does this Saga have?
|
|
choice: two
|
|
choice: three
|
|
choice: four
|
|
initial: three
|
|
styling field:
|
|
type: text
|
|
name: chapter number coordinates
|
|
description: Sets the chapter symbols at the given height. Formatted as "1,2,3," Defaults are "183,223,329," for two and "185,279,373," for three. Use 40px offset.
|
|
styling field:
|
|
type: text
|
|
name: chapter divider coordinates
|
|
description: Sets the position of the chapter breaks. Formatted as "1,2," Defaults are "296," for two "249,343," for three and "225,296,367," for four.
|
|
styling field:
|
|
type: text
|
|
name: custom chapter location
|
|
description: The location of the custom chapter symbol inside magic-mainframe-extras
|
|
styling field:
|
|
type: text
|
|
name: custom chapter coordinate
|
|
description: Set the custom symbol at the given height
|
|
styling field:
|
|
type: text
|
|
name: custom chapter name
|
|
description: Set how this symbol will be called in text exports (ie I, II...). Default is C.
|
|
styling field:
|
|
type: text
|
|
name: separated text size
|
|
description: Use to standardize the font size of separated abilities. Default is size 13.
|
|
styling field:
|
|
type: multiple choice
|
|
name: other options
|
|
choice: legend
|
|
choice: no alias
|
|
choice: show border
|
|
choice: use starting loyalty
|
|
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: choice
|
|
name: legend crown
|
|
choice: auto
|
|
choice: standard
|
|
choice: nyx
|
|
choice: companion
|
|
choice: custom
|
|
initial: auto
|
|
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: text
|
|
name: replacement chapter location
|
|
description: location of replacement chapter symbols in magic-mainframe-extras, formatted as "folder/"
|
|
styling field:
|
|
type: boolean
|
|
name: wider watermarks
|
|
description: Use the full watermark size for custom full-size backgrounds.
|
|
initial: no
|
|
styling field:
|
|
type: boolean
|
|
name: holofoil stamped rares
|
|
description: Use holofoil stamped rares
|
|
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: text
|
|
name: mainframe rarity
|
|
description: Use rarity symbols from magic-mainframe-extras.mse-include
|
|
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: 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: 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: 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: 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") }
|
|
other options:
|
|
render style: checklist
|
|
direction: vertical
|
|
############################################################## Card fields
|
|
card style:
|
|
alias:
|
|
left: 54
|
|
top: 57.5
|
|
width: 268
|
|
height: 15
|
|
z index: 3
|
|
visible: {show_alias()}
|
|
font:
|
|
name: MPlantin-Italic
|
|
size: 10
|
|
scale down to: 6
|
|
color: white
|
|
alignment: middle center
|
|
############################# Background stuff
|
|
border color:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
radius: 18
|
|
left width: 17
|
|
right width: 17
|
|
top width: 17
|
|
bottom width: 18
|
|
z index: 4
|
|
mask: { if show_border() then ( (if is_legend() then "crown_border" else "border_mask") + (if card.border_color == rgb(200,200,200) then "_silver" else "") + ".png" ) else "borderless_mask.png"}
|
|
card color:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: 0
|
|
render style: image
|
|
popup style: in place
|
|
image: { card_background() }
|
|
############################# Name line
|
|
name:
|
|
left: { if card.card_symbol=="none" then 32 else 50 }
|
|
top: {if is_legend() and show_alias() then 29 else 30}
|
|
right: { 341 - card_style.casting_cost.content_width }
|
|
height: { 23- (0.5 * shrink_name())}
|
|
alignment: bottom shrink-overflow
|
|
padding bottom: 0
|
|
z index: 2
|
|
font:
|
|
name: Beleren Bold
|
|
size: {16 - shrink_name()}
|
|
color: white
|
|
casting cost:
|
|
right: 348
|
|
top: {if is_legend() and show_alias() then 28 else 29}
|
|
width: { max(30, card_style.casting_cost.content_width) + 5 }
|
|
height: 23
|
|
alignment: middle right
|
|
font:
|
|
name: MPlantin
|
|
size: 15
|
|
symbol font:
|
|
name: magic-mana-large
|
|
size: 15
|
|
alignment: middle right
|
|
always symbol: true
|
|
z index: 2
|
|
padding top: 0
|
|
card symbol:
|
|
left: {if card.card_symbol=="none" then 20 else 29}
|
|
top: 23
|
|
height: 18
|
|
width: 14
|
|
z index: 1
|
|
render style: image
|
|
choice images:
|
|
tombstone: tombstone.png
|
|
############################# Image
|
|
image:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: 1
|
|
mask: { "image_mask" + (if show_alias() then "_alias" else "") + ".png" }
|
|
############################# Card type
|
|
indicator:
|
|
left: 30
|
|
top: 449
|
|
width: 17
|
|
height: 17
|
|
z index: 2
|
|
render style: image
|
|
visible: { has_identity()}
|
|
image: { card_identity() }
|
|
type:
|
|
left: { if has_identity() then "53" else "33" }
|
|
top: { 444 + shrink_type() }
|
|
width: { 309 - max(22,card_style.rarity.content_width) }
|
|
height: { 20 - shrink_type() }
|
|
alignment: top shrink-overflow
|
|
z index: 2
|
|
padding top: 2
|
|
font:
|
|
name: Beleren Bold
|
|
size: { 13 - shrink_type() }
|
|
color: white
|
|
separator color: red
|
|
rarity:
|
|
right: 345
|
|
top: 445
|
|
width: 42
|
|
height: 21
|
|
z index: 2
|
|
render style: image
|
|
alignment: middle right
|
|
choice images:
|
|
# Images based on the set symbol
|
|
basic land:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
|
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
|
else symbol_variation(symbol: set.symbol, variation: "common")
|
|
common:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
|
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
|
else symbol_variation(symbol: set.symbol, variation: "common")
|
|
uncommon:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "u.png"
|
|
else symbol_variation(symbol: set.symbol, variation: "uncommon")
|
|
rare:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "r.png"
|
|
else symbol_variation(symbol: set.symbol, variation: "rare")
|
|
mythic rare:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "m.png"
|
|
else symbol_variation(symbol: set.symbol, variation: "mythic rare")
|
|
special:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "s.png"
|
|
else symbol_variation(symbol: set.symbol, variation: "special")
|
|
masterpiece:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "mp.png"
|
|
else symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
|
|
############################# Text box
|
|
watermark:
|
|
left: { if styling.wider_watermarks then 29 else 45 }
|
|
top: 77
|
|
width: { if styling.wider_watermarks then 157 else 133 }
|
|
height: 359
|
|
z index: 5
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: /magic-watermarks.mse-include/watermarks
|
|
chapter text:
|
|
left: 30
|
|
top: 78
|
|
width: 153
|
|
height: 76
|
|
z index: 3
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
scale down to: 6
|
|
color: white
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
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"
|
|
mask: textmask.png
|
|
z index: 5
|
|
padding left: 3
|
|
padding right: 1
|
|
line height hard: 1.2
|
|
line height line: 1.5
|
|
line height soft: 0.85
|
|
line height hard max: 1.3
|
|
line height line max: 1.6
|
|
############################# Levels
|
|
level 1 text:
|
|
left: 45
|
|
top: 155
|
|
width: 138
|
|
bottom: { if split_12() == "" then 249 else split_12() }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
scale down to: 6
|
|
color: white
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
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: 5
|
|
padding left: 6
|
|
padding right: 4
|
|
padding top: 3
|
|
padding bottom: 3
|
|
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
|
|
level 2 text:
|
|
left: 45
|
|
top: { if split_12() == "" then 249 else split_12() }
|
|
width: 138
|
|
bottom: { if split_23() == "" then 343 else split_23() }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
scale down to: 6
|
|
color: white
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
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: 5
|
|
padding left: 6
|
|
padding right: 4
|
|
padding top: 3
|
|
padding bottom: 3
|
|
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
|
|
level 3 text:
|
|
left: 45
|
|
top: { if split_23() == "" then 343 else split_23() }
|
|
width: 138
|
|
bottom: {if split_34() == "" then 437 else split_34() }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
scale down to: 6
|
|
color: white
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
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: 5
|
|
padding left: 6
|
|
padding right: 4
|
|
padding top: 3
|
|
padding bottom: 3
|
|
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
|
|
level 4 text:
|
|
left: 45
|
|
top: {if split_34() == "" then 437 else split_34() }
|
|
width: 138
|
|
bottom: 437
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
scale down to: 6
|
|
color: white
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { if styling.separated_text_size != "" then styling.separated_text_size else 13 }
|
|
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: 5
|
|
padding left: 6
|
|
padding right: 4
|
|
padding top: 3
|
|
padding bottom: 3
|
|
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
|
|
############################# PT
|
|
pt:
|
|
z index: 4
|
|
left: 286
|
|
top: 469
|
|
width: {if starting_loyalty() then 0 else 60}
|
|
height: 28
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: Beleren Bold
|
|
size: 16
|
|
color: white
|
|
separator color: red
|
|
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: 24
|
|
top: 498
|
|
width: 40
|
|
height: 10
|
|
z index: 6
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
############################# Copyright stuff
|
|
illustrator:
|
|
left: { 44 + card_style.set_code.content_width }
|
|
top: 497.5
|
|
width: 200
|
|
height: 10
|
|
z index: 2
|
|
font:
|
|
name: Beleren Small Caps Bold
|
|
size: 7.25
|
|
color: white
|
|
copyright:
|
|
right: 350
|
|
top: { if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty()) then 500 else 498 }
|
|
width: {if set.automatic_copyright then 0 else 140}
|
|
height: 10
|
|
z index: 6
|
|
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
|
|
save value: false
|
|
script:
|
|
if set.automatic_card_numbers and not styling.remove_from_autocount then
|
|
forward_editor(prefix: card_number_m15() + "/" + 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: choice
|
|
name: pt box
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty box
|
|
editable: false
|
|
choice: loyalty
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: foil stamp
|
|
choice: stamp
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: multiple choice
|
|
name: stamp
|
|
empty choice: colorless
|
|
choice: white
|
|
choice: blue
|
|
choice: black
|
|
choice: red
|
|
choice:
|
|
name: green
|
|
line below: true
|
|
choice: artifact
|
|
choice: land
|
|
choice: multicolor
|
|
choice:
|
|
name: hybrid
|
|
line below: true
|
|
choice:
|
|
name: horizontal
|
|
type: radio
|
|
choice:
|
|
name: vertical
|
|
type: radio
|
|
choice:
|
|
name: radial
|
|
type: radio
|
|
choice:
|
|
name: diagonal
|
|
type: radio
|
|
choice:
|
|
name: overlay
|
|
type: radio
|
|
choice:
|
|
name: reversed
|
|
script: card_color_filter(value)
|
|
default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name)
|
|
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: clear frame
|
|
choice: frame
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter 1
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter 2
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter 3
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter 4
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter 5
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter 6
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: chapter custom
|
|
choice: chapter
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: text
|
|
name: filler text
|
|
editable: true
|
|
save value: true
|
|
show statistics: false
|
|
multi line: true
|
|
script:
|
|
forward_editor(field: card.special_text)
|
|
special_text()
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 1
|
|
choice: line
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 2
|
|
choice: line
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 3
|
|
choice: line
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 4
|
|
choice: line
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 5
|
|
choice: line
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 6
|
|
choice: line
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: linebreak 7
|
|
choice: line
|
|
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: choice
|
|
name: alias
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: stamp back
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
choice: sb
|
|
extra card style:
|
|
stamp back:
|
|
left: 166
|
|
top: 475
|
|
width: 44
|
|
height: 30
|
|
z index: 1
|
|
visible: { is_stamped() }
|
|
render style: image
|
|
image: stamp_back.png
|
|
stamp:
|
|
left: 171
|
|
top: 478.5
|
|
width: 34
|
|
height: 20
|
|
z index: 2
|
|
visible: { is_stamped() }
|
|
render style: image
|
|
image: { card_stamp() }
|
|
alias:
|
|
left: 0
|
|
top: -1
|
|
width: 375
|
|
height: 523
|
|
render style: image
|
|
image: {alias_background()}
|
|
mask: alias_mask.png
|
|
visible: {show_alias()}
|
|
z index: 2
|
|
z index: 2
|
|
card code:
|
|
left: 24
|
|
top: 488
|
|
width: 120
|
|
height: 10
|
|
z index: 6
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
artist arrow:
|
|
left: { 28 + card_style.set_code.content_width }
|
|
top: 500
|
|
width: 12
|
|
height: 7
|
|
z index: 6
|
|
render style: image
|
|
image: artist_arrow.png
|
|
pt box:
|
|
left: 273
|
|
top: 466
|
|
width: 81
|
|
height: 42
|
|
z index: 3
|
|
visible: { card.pt != "" and not starting_loyalty() }
|
|
render style: image
|
|
image: { card_ptbox() }
|
|
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: 170
|
|
top: 474
|
|
width: 36.5
|
|
height: 22.5
|
|
z index: 6
|
|
visible: { is_stamped() }
|
|
render style: image
|
|
image: foil_stamp.png
|
|
mask: stamp_mask.png
|
|
foil layer:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
z index: 4
|
|
render style: image
|
|
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
|
auto copyright:
|
|
right: 350
|
|
top: {if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty()) then 500 else 498}
|
|
width: {if set.automatic_copyright then 140 else 0}
|
|
height: 10
|
|
z index: 6
|
|
alignment: middle right shrink-overflow
|
|
visible: {set.automatic_copyright}
|
|
font:
|
|
name: Matrix
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
chapter 1:
|
|
left: 14
|
|
top: { if chapter1() == "" then 185 else chapter1() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {alt_chapters("1")}
|
|
chapter 2:
|
|
left: 14
|
|
top: { if chapter2() == "" then 279 else chapter2() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {alt_chapters("2")}
|
|
chapter 3:
|
|
left: 14
|
|
top: { if chapter3() == "" then 373 else chapter3() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {alt_chapters("3")}
|
|
chapter 4:
|
|
left: 14
|
|
top: { if chapter4() == "" then 600 else chapter4() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {alt_chapters("4")}
|
|
chapter 5:
|
|
left: 14
|
|
top: { if chapter5() == "" then 600 else chapter5() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {alt_chapters("5")}
|
|
chapter 6:
|
|
left: 14
|
|
top: { if chapter6() == "" then 600 else chapter6() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {alt_chapters("6")}
|
|
chapter custom:
|
|
left: 14
|
|
top: { if chapter_custom() == "" then 600 else chapter_custom() }
|
|
width: 30
|
|
height: 34
|
|
render style: image
|
|
z index: 5
|
|
image: {custom_chapter_node()}
|
|
linebreak 1:
|
|
left: 41
|
|
top: 154
|
|
width: 142.5
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
linebreak 2:
|
|
left: 44
|
|
top: {if split_12() == "" then 248 else split_12()-1}
|
|
width: 139
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
linebreak 3:
|
|
left: 44
|
|
top: {if split_23() == "" then 342 else split_23()-1}
|
|
width: 139
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
visible: {three_boxes() or four_boxes()}
|
|
linebreak 4:
|
|
left: 44
|
|
top: {if split_34() == "" then 600 else split_34()-1}
|
|
width: 139
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
visible: {four_boxes()}
|
|
linebreak 5:
|
|
left: 44
|
|
top: {to_number(pull_comma_array(styling.chapter_divider_coordinates, cell:3, end:true, default:600))}
|
|
width: 139
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
visible: {four_boxes()}
|
|
linebreak 6:
|
|
left: 44
|
|
top: {to_number(pull_comma_array(styling.chapter_divider_coordinates, cell:4, end:true, default:600))}
|
|
width: 139
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
visible: {four_boxes()}
|
|
linebreak 7:
|
|
left: 44
|
|
top: {to_number(pull_comma_array(styling.chapter_divider_coordinates, cell:5, end:true, default:600))}
|
|
width: 139
|
|
height: 3
|
|
render style: image
|
|
z index: 6
|
|
image: line.png
|
|
visible: {four_boxes()}
|
|
crown:
|
|
left: 0
|
|
top: {if show_alias() then -1 else 0}
|
|
width: 375
|
|
height: 523
|
|
render style: image
|
|
image: {crown_background()}
|
|
z index: 3
|
|
visible: {is_legend()}
|
|
mask: {if show_alias() then "alias_mask.png" else ""} |