407 lines
11 KiB
Plaintext
407 lines
11 KiB
Plaintext
mse version: 2.1.2
|
|
game: magic
|
|
short name: TARDIS
|
|
full name: Doctor Who Showcase
|
|
icon: card_sample.png
|
|
position hint: 095
|
|
|
|
version: 2024-10-01
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2014-06-25
|
|
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-modules.mse-include
|
|
version: 2024-10-01
|
|
depends on:
|
|
package: magic-mainframe-extras.mse-include
|
|
version: 2007-09-23
|
|
|
|
card width: 744
|
|
card height: 1039
|
|
card dpi: 297
|
|
|
|
### blanks by GenevensiS
|
|
### code by GenevensiS
|
|
|
|
############################################################## Extra scripts
|
|
|
|
init script:
|
|
swap_fonts_pt_default :=
|
|
[
|
|
name: {"Beleren Bold"},
|
|
size: {29.0},
|
|
color: {"white"},
|
|
vertical: {0},
|
|
italic: {"Beleren Bold"}
|
|
]
|
|
|
|
swap_fonts_body_default :=
|
|
[
|
|
name: {"MPlantin"},
|
|
size: {26.0},
|
|
color: {"white"},
|
|
vertical: {0},
|
|
italic: {"MPlantin-Italic"}
|
|
]
|
|
|
|
typeline_offset_top_1 := { 2 }
|
|
type_offset_top_1 := { 1 }
|
|
rarity_offset_left_1 := { 1 }
|
|
swap_fonts_type_default :=
|
|
[
|
|
name: {"Chantilly-Medium-Regular-AllCaps"},
|
|
size: {25.5},
|
|
color: {"white"},
|
|
vertical: {0},
|
|
italic: {""}
|
|
]
|
|
|
|
transform_symbol_disabled_1 := { true }
|
|
nameline_offset_top_1 := { 2 }
|
|
swap_fonts_name_default :=
|
|
[
|
|
name: {"Chantilly-Medium-Regular-AllCaps"},
|
|
size: {32.0},
|
|
color: {"white"},
|
|
vertical: {0},
|
|
italic: {""}
|
|
]
|
|
|
|
foil_mask_added_sections := {
|
|
output := []
|
|
if card.pt != "" then output := output + ["foil_mask_pt.png"]
|
|
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
|
output
|
|
}@(face:1)
|
|
|
|
template_prefix :=
|
|
[
|
|
card: "card/",
|
|
crown: "crown/",
|
|
identity: "/magic-modules.mse-include/indicators/"
|
|
]
|
|
template_suffix :=
|
|
[
|
|
card: "card.png",
|
|
crown: "crown.png",
|
|
identity: "identity.png"
|
|
]
|
|
template := { template_prefix[type] + input + template_suffix[type] }
|
|
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + template_suffix[type] }
|
|
|
|
card_background := { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
|
|
card_crown := { color_background(input: card.card_color, type: "crown", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
|
|
|
|
is_promo := { styling.promo }
|
|
|
|
is_unsorted := { styling.remove_from_autocount }
|
|
|
|
|
|
is_crowned := { styling.legend_crown == "yes" or (styling.legend_crown == "if legendary" and lang_setting("is_legendary")(card.super_type)) }
|
|
|
|
chop_top := { split := split_comma(styling.chop_text_box); if length(split) > 0 and split.0 != "" then clamp(split.0, maximum: 1500, minimum: -1500) else 0 }
|
|
chop_bot := { split := split_comma(styling.chop_text_box); if length(split) > 1 and split.1 != "" then clamp(split.1, maximum: 1500, minimum: -1500) else 0 }
|
|
|
|
popout_left := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.0 != "" then clamp(split.0, maximum: 1500, minimum: -500) else 0 }
|
|
popout_top := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.1 != "" then clamp(split.1, maximum: 2000, minimum: -500) else 0 }
|
|
popout_width := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, maximum: 1500, minimum: 0) else 0 }
|
|
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
|
|
|
############################################################## Extra style options
|
|
|
|
styling field:
|
|
type: text
|
|
name: popout image coordinates
|
|
description: The coordinates for the popout image field, formatted as "left,top,width,height". Used to make the illustration jump in front of the frame.
|
|
styling field:
|
|
type: boolean
|
|
name: stretch image to whole card
|
|
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
|
|
initial: no
|
|
|
|
include file: /magic-modules.mse-include/texts/styling_fields
|
|
|
|
styling field:
|
|
type: choice
|
|
name: legend crown
|
|
description: Use the legend crown?
|
|
choice: yes
|
|
choice: if legendary
|
|
choice: no
|
|
initial: if legendary
|
|
styling field:
|
|
type: boolean
|
|
name: circle around rarity
|
|
description: Should there be a white circle around the set symbol?
|
|
initial: yes
|
|
|
|
include file: /magic-modules.mse-include/stamps/styling_fields_ub
|
|
|
|
include file: /magic-modules.mse-include/rarities/styling_fields
|
|
|
|
include file: /magic-modules.mse-include/watermarks/styling_fields
|
|
|
|
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 field:
|
|
type: boolean
|
|
name: colored border
|
|
description: Tint the border?
|
|
initial: no
|
|
|
|
include file: /magic-modules.mse-include/information/styling_fields
|
|
|
|
include file: /magic-modules.mse-include/symbol-fonts/styling_fields
|
|
|
|
include file: /magic-modules.mse-include/fonts/styling_fields
|
|
|
|
############################################################## Card fields
|
|
|
|
include file: /magic-modules.mse-include/information/card_fields
|
|
|
|
include file: /magic-modules.mse-include/stamps/card_fields
|
|
|
|
include file: /magic-modules.mse-include/corners/card_fields
|
|
|
|
include file: /magic-modules.mse-include/watermarks/card_fields
|
|
|
|
include file: /magic-modules.mse-include/separators/card_fields
|
|
|
|
include file: /magic-modules.mse-include/namelines/card_fields
|
|
|
|
include file: /magic-modules.mse-include/typelines/card_fields
|
|
|
|
include file: /magic-modules.mse-include/foils/card_fields
|
|
|
|
card style:
|
|
############################# Background stuff
|
|
border color:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 100
|
|
mask: border_mask.png
|
|
card color:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 210
|
|
popup style: in place
|
|
render style: image
|
|
image: { card_background() }
|
|
mask: card_mask.png
|
|
############################# Image
|
|
image:
|
|
left: { if styling.stretch_image_to_whole_card then 0 else 57 }
|
|
top: { if styling.stretch_image_to_whole_card then 0 else 130 }
|
|
width: { if styling.stretch_image_to_whole_card then stylesheet.card_width else 630 }
|
|
height: { if styling.stretch_image_to_whole_card then stylesheet.card_height else 445 }
|
|
z index: 0
|
|
mainframe image:
|
|
left: { popout_left() }
|
|
top: { popout_top() }
|
|
width: { popout_width() }
|
|
height: { popout_height() }
|
|
z index: 1010
|
|
############################# Text box
|
|
text:
|
|
left: 65
|
|
top: { 662 + chop_top() + body_font_vertical() }
|
|
right: 679
|
|
bottom: { 943 - chop_bot() }
|
|
z index: 900
|
|
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
|
|
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"
|
|
font:
|
|
name: { body_font() }
|
|
italic name: { body_font_italic() }
|
|
size: { body_font_size() }
|
|
scale down to: 12
|
|
color: { body_font_color() }
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { body_font_size() }
|
|
scale down to: 12
|
|
############################# PT
|
|
pt:
|
|
left: 593
|
|
top: { 929 + pt_font_vertical() }
|
|
width: 93
|
|
height: 51
|
|
z index: 900
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: { pt_font() }
|
|
size: { pt_font_size() }
|
|
color: { pt_font_color() }
|
|
separator color: red
|
|
|
|
############################################################## Extra card fields
|
|
|
|
extra card field:
|
|
type: choice
|
|
name: rarity circle
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
choice: rarity circle
|
|
extra card field:
|
|
type: choice
|
|
name: card background
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
choice: card background
|
|
extra card field:
|
|
type: color
|
|
name: card colored border
|
|
script: rgb(0, 21, 34)
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: crown background
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
choice: crown background
|
|
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: pt box
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
choice: pt box
|
|
extra card field:
|
|
type: choice
|
|
name: pt shadow
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
choice: pt shadow
|
|
extra card field:
|
|
type: color
|
|
name: card stamp background border
|
|
script: card.border_color
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: color
|
|
name: card stamp colored border
|
|
script: rgb(0, 21, 34)
|
|
editable: false
|
|
save value: false
|
|
show statistics: false
|
|
|
|
extra card style:
|
|
rarity circle:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 1020
|
|
visible: { styling.circle_around_rarity }
|
|
render style: image
|
|
image: circle.png
|
|
card background:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 200
|
|
render style: image
|
|
image: card.png
|
|
crown:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 310
|
|
visible: { is_crowned() }
|
|
render style: image
|
|
image: { card_crown() }
|
|
crown background:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 300
|
|
visible: { is_crowned() }
|
|
render style: image
|
|
image: crown.png
|
|
pt box:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 810
|
|
visible: { card.pt != "" }
|
|
render style: image
|
|
image: pt.png
|
|
pt shadow:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 800
|
|
visible: { card.pt != "" }
|
|
render style: image
|
|
image: pt_shadow.png
|
|
card stamp background border:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 700
|
|
visible: { is_stamped() }
|
|
mask: {"border_stamp_" + (if stamp_shape() == "triangle" then "tri_" else "") + "mask.png" }
|
|
card stamp colored border:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 701
|
|
visible: { is_stamped() and styling.colored_border }
|
|
mask: {"border_stamp_" + (if stamp_shape() == "triangle" then "tri_" else "") + "mask.png" }
|
|
card colored border:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 101
|
|
visible: { styling.colored_border }
|
|
mask: border_mask.png
|