277 lines
7.8 KiB
Plaintext
277 lines
7.8 KiB
Plaintext
mse version: 2.1.2
|
|
game: magic
|
|
short name: Compleated
|
|
full name: Planeswalkers
|
|
icon: card_sample.png
|
|
position hint: 017
|
|
|
|
version: 2024-09-20
|
|
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: 750
|
|
card height: 1046
|
|
card dpi: 300
|
|
|
|
############################################################## Extra scripts
|
|
init script:
|
|
template_prefix := [
|
|
card: "card/",
|
|
stamp: "stamp/",
|
|
identity: "/magic-modules.mse-include/indicators/"
|
|
]
|
|
template_suffix := [
|
|
card: "card.png",
|
|
stamp: "stamp.png",
|
|
identity: "identity.png"
|
|
]
|
|
template := { template_prefix[type] + input + template_suffix[type] }
|
|
land_template := { template_prefix[type] + input + template_suffix[type] }
|
|
|
|
is_promo := { styling.promo }
|
|
is_unsorted := { styling.remove_from_autocount }
|
|
|
|
swap_fonts_name_default := [
|
|
name: {"Beleren Bold"},
|
|
italic: {""},
|
|
color: {"black"},
|
|
vertical: {0},
|
|
size: {30}
|
|
]
|
|
swap_fonts_type_default := [
|
|
name: {"Beleren Bold"},
|
|
italic: {""},
|
|
color: {"black"},
|
|
vertical: {0},
|
|
size: {26}
|
|
]
|
|
swap_fonts_body_default := [
|
|
name: {"MPlantin"},
|
|
italic: {"MPlantin-Italic"},
|
|
color: {styling.rule_text_color},
|
|
vertical: {0},
|
|
size: {28}
|
|
]
|
|
|
|
include file: /magic-modules.mse-include/loyalty/init_script
|
|
loyalty_textbox_mask := {"loyalty_mask.png"}
|
|
loyalty_textbox_background_image :=
|
|
{
|
|
color := if instance <= 1 then (styling.textbox_color or else rgb(255,255,255)) else (styling["textbox_color_" + instance] or else rgb(255,255,255))
|
|
alpha := if instance <= 1 then (styling.textbox_opacity_percentage or else "60") else (styling["textbox_opacity_percentage_" + instance] or else "70")
|
|
set_alpha(
|
|
recolor_image(
|
|
"/magic-modules.mse-include/loyalty/color.png",
|
|
color: color
|
|
),
|
|
alpha: get_alpha_percentage(
|
|
alpha,
|
|
default: 60
|
|
)
|
|
)
|
|
}
|
|
|
|
foil_mask_added_sections := {
|
|
output := []
|
|
if card.loyalty != "" then output := output + ["foil_mask_loyalty.png"]
|
|
output
|
|
}@(face:1)
|
|
|
|
foil_mask_removed_sections := {
|
|
output := []
|
|
if is_stamped() then output := output + ["foil_mask_round.png"]
|
|
output
|
|
}@(face:1)
|
|
|
|
typeline_offset_top_1 := {-72}
|
|
nameline_offset_top_1 := {-16}
|
|
############################################################## Extra style options
|
|
include file: /magic-modules.mse-include/popouts/styling_fields
|
|
include file: /magic-modules.mse-include/texts/styling_fields
|
|
styling field:
|
|
type: choice
|
|
name: number of textboxes
|
|
description: Number of textboxes for abilities and passives. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED.
|
|
choice: automatic
|
|
choice: 1
|
|
choice: 2
|
|
choice: 3
|
|
choice: 4
|
|
choice: 5
|
|
choice: 6
|
|
choice: 7
|
|
choice: 8
|
|
initial: automatic
|
|
styling field:
|
|
type: text
|
|
name: move separators
|
|
description: Moves the limits between abilities down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5"
|
|
styling field:
|
|
type: text
|
|
name: move loyalty costs
|
|
description: Moves loyalty costs down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6"
|
|
styling field:
|
|
type: text
|
|
name: textbox opacity percentage
|
|
description: Set the opacity percentage for textboxes. Opaque is 100, transparent is 0, default is 60.
|
|
styling field:
|
|
type: color
|
|
name: textbox color
|
|
description: Use the specified color for the textbox background.
|
|
choice:
|
|
name: gray
|
|
color: rgb(170,170,170)
|
|
choice:
|
|
name: black
|
|
color: rgb(0,0,0)
|
|
choice:
|
|
name: white
|
|
color: rgb(255,255,255)
|
|
initial: rgb(170,170,170)
|
|
styling field:
|
|
type: text
|
|
name: stripes opacity percentage
|
|
description: Set the opacity percentage for stripes separating abilities. Opaque is 100, transparent is 0, default is 40.
|
|
styling field:
|
|
type: color
|
|
name: stripes color
|
|
description: Use the specified color for the textbox background.
|
|
choice:
|
|
name: grey
|
|
color: rgb(225,225,225)
|
|
choice:
|
|
name: black
|
|
color: rgb(0,0,0)
|
|
choice:
|
|
name: white
|
|
color: rgb(255,255,255)
|
|
initial: rgb(225,225,225)
|
|
styling field:
|
|
type: color
|
|
name: rule text color
|
|
description: Use the specified color for the rule text.
|
|
choice:
|
|
name: black
|
|
color: rgb(0,0,0)
|
|
choice:
|
|
name: white
|
|
color: rgb(255,255,255)
|
|
initial: rgb(0,0,0)
|
|
|
|
include file: /magic-modules.mse-include/rarities/styling_fields
|
|
include file: /magic-modules.mse-include/watermarks/styling_fields
|
|
include file: /magic-modules.mse-include/information/styling_fields
|
|
include file: /magic-modules.mse-include/foils/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/namelines/card_fields
|
|
include file: /magic-modules.mse-include/popouts/card_fields
|
|
include file: /magic-modules.mse-include/typelines/card_fields
|
|
include file: /magic-modules.mse-include/watermarks/card_fields
|
|
include file: /magic-modules.mse-include/stamps/card_fields
|
|
include file: /magic-modules.mse-include/information/card_fields
|
|
include file: /magic-modules.mse-include/foils/card_fields
|
|
include file: /magic-modules.mse-include/loyalty/card_fields
|
|
include file: /magic-modules.mse-include/corners/card_fields
|
|
card style:
|
|
############################# Background stuff
|
|
border color:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 500
|
|
mask: border_mask.png
|
|
card color:
|
|
left: 0
|
|
top: 0
|
|
width: { stylesheet.card_width }
|
|
height: { stylesheet.card_height }
|
|
z index: 200
|
|
popup style: in place
|
|
render style: image
|
|
image: { module_card() }
|
|
mask: card/frame_mask.png
|
|
############################# Image
|
|
image:
|
|
left: { if styling.stretch_art_to_whole_card then 0 else 56 }
|
|
top: { if styling.stretch_art_to_whole_card then 0 else 103 }
|
|
width: { if styling.stretch_art_to_whole_card then stylesheet.card_width else 644 }
|
|
height: { if styling.stretch_art_to_whole_card then stylesheet.card_height else 856 }
|
|
z index: 100
|
|
############################# Text box
|
|
text:
|
|
left: 92
|
|
top: { 586 + chop_top() + body_font_vertical() }
|
|
right: { 698 - chop_right() }
|
|
bottom: { 958 - chop_bottom() - if is_stamped() then 7 else 0 }
|
|
z index: 900
|
|
padding left: 12
|
|
padding right: 8
|
|
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: 2.2
|
|
alignment:
|
|
script:
|
|
if styling.center_text == "always"
|
|
then "middle center"
|
|
else "middle left"
|
|
font:
|
|
name: { body_font() }
|
|
italic name: { body_font_italic() }
|
|
size: { body_font_size() }
|
|
color: { body_font_color() }
|
|
scale down to: 12
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: { body_font_size() }
|
|
scale down to: 12
|
|
############################################################## Extra card fields
|
|
extra card field:
|
|
type: choice
|
|
name: stamp backing
|
|
script: card.card_color
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: color
|
|
name: stamp border
|
|
script: card.border_color
|
|
editable: false
|
|
save value: false
|
|
|
|
extra card style:
|
|
stamp backing:
|
|
left: 318
|
|
top: 920
|
|
width: 114
|
|
height: 70
|
|
z index: 840
|
|
render style: image
|
|
image: { module_stamp() }
|
|
visible: { is_stamped() }
|
|
stamp border:
|
|
left: 318
|
|
top: 920
|
|
width: 114
|
|
height: 70
|
|
z index: 840
|
|
visible: { is_stamped() }
|
|
mask: stamp/border_mask.png
|