646 lines
19 KiB
Plaintext
646 lines
19 KiB
Plaintext
mse version: 2.0.0
|
|
game: magic
|
|
short name: Invocation
|
|
full name: Amonkhet Invocations
|
|
icon: card-sample.png
|
|
installer group: magic/m15 style/amonkhet/invocations
|
|
position hint: 092
|
|
|
|
|
|
version: 2024-06-07
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2015-04-08
|
|
depends on:
|
|
package: magic-default-image.mse-include
|
|
version: 2007-09-23
|
|
depends on:
|
|
package: magic-mana-small.mse-symbol-font
|
|
version: 2020-02-07
|
|
depends on:
|
|
package: magic-mana-large.mse-symbol-font
|
|
version: 2020-02-07
|
|
depends on:
|
|
package: magic-mana-small-invocation.mse-symbol-font
|
|
version: 2017-03-31
|
|
depends on:
|
|
package: magic-modules.mse-include
|
|
version: 2024-10-01
|
|
|
|
card width: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
############################################################## 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 := { contains(styling.regular_options, match:"grey hybrid names") }
|
|
|
|
# Should multicolor lands with basic land types have a colored name?
|
|
mask_multi_land_with_color := { contains(styling.regular_options, match:"colored multicolor land names") }
|
|
|
|
# Build the template, new frames need to be added here
|
|
template_prefix := [
|
|
card: ""
|
|
card2: ""
|
|
identity: ""
|
|
]
|
|
template_suffix := [
|
|
card: "card.png"
|
|
card2: "card2.png"
|
|
identity: "identity.png"
|
|
]
|
|
template := { template_prefix[type] + (if input == "a" then "c" else input) + template_suffix[type] }
|
|
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + template_suffix[type] }
|
|
# Use land templates for previews because they show more contrast
|
|
hybrid_previews := "land,hybrid"
|
|
|
|
card_background2 := { color_background(type:"card2", base_hybrid:card_hybrid) }@(offset:0 )
|
|
|
|
# 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 := { contains(styling.regular_options, match:"guild mana symbols") }
|
|
|
|
# Is the card a promo card?
|
|
is_promo := { contains(styling.regular_options, match:"promo") }
|
|
|
|
# Should the frame be rendered in grayscale?
|
|
frame_saturation := { if contains(styling.regular_options, match:"grayscale") then -1 else 0 }
|
|
|
|
|
|
is_beleren := { contains(styling.regular_options, match: "Beleren") }
|
|
is_papyrus := { contains(styling.regular_options, match: "Papyrus") }
|
|
is_gothic := { contains(styling.regular_options, match: "ShangoGothic") }
|
|
|
|
is_unsorted := {styling.remove_from_autocount}
|
|
|
|
is_revamped := {styling.revamped_form}
|
|
card_stamp_disabled_1 := { not is_revamped() }
|
|
card_stamp_offset_top_1 := {5}
|
|
watermark_include := "/magic-modules.mse-include/watermarks"
|
|
card_symbol_offset_top := {2}
|
|
############################################################## 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: boolean
|
|
name: revamped form
|
|
description: Use the revamped form used in March of the Machines
|
|
styling field:
|
|
type: multiple choice
|
|
name: regular options
|
|
description: Which regular styling options would you like to use?
|
|
choice: center typeline
|
|
choice: show normal rarity
|
|
choice: guild mana symbols
|
|
choice: promo rarity
|
|
choice: grayscale
|
|
choice: silver border
|
|
choice: snap cartouche to name
|
|
choice: nonexistent mana cost
|
|
choice: Papyrus font
|
|
choice: Beleren font
|
|
choice: ShangoGothic font
|
|
initial: center typeline
|
|
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
|
|
include file: /magic-modules.mse-include/rarities/styling_fields
|
|
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: overlay
|
|
description: Should there be an overlay applied, such as foil?
|
|
match: magic-overlay-*.mse-include
|
|
required: false
|
|
styling style:
|
|
tap symbol:
|
|
render style: both
|
|
choice images:
|
|
modern: /magic-mana-small-invocation.mse-symbol-font/mana_t.png
|
|
old: /magic-mana-small-invocation.mse-symbol-font/mana_t_old.png
|
|
diagonal T: /magic-mana-small-invocation.mse-symbol-font/mana_t_older.png
|
|
regular options:
|
|
render style: checklist
|
|
direction: vertical
|
|
############################################################## Card fields
|
|
include file: /magic-modules.mse-include/corners/card_fields
|
|
include file: /magic-modules.mse-include/separators/card_fields
|
|
include file: /magic-modules.mse-include/stamps/card_fields
|
|
include file: /magic-modules.mse-include/card-symbols/card_fields
|
|
card style:
|
|
card color:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: 0
|
|
render style: image
|
|
popup style: in place
|
|
image: { saturate((if is_revamped() then card_background2() else card_background()), amount: frame_saturation()) }
|
|
############################# Name line
|
|
name:
|
|
left: { if card.card_symbol != "none" then 50 else 35 }
|
|
top: { if is_beleren() or is_revamped() then 36 else if is_papyrus() then 38 else if is_gothic() then 35 else 33 }
|
|
right: { if contains(styling.regular_options, match:"nonexistent") then 320 else if contains(styling.regular_options, match:"snap") then max(30, card_style.name.content_width) + 35 else (if is_revamped() then 340 else 320) - card_style.casting_cost.content_width }
|
|
height: 18
|
|
alignment: bottom shrink-overflow
|
|
padding bottom: 0
|
|
padding top: 0
|
|
z index: 900
|
|
font:
|
|
name: { if is_beleren() or is_revamped() then "Beleren Bold" else if contains(styling.regular_options, match: "Papyrus") then "Papyrus" else if is_gothic() then "ShangoGothic-Bold" else "Invocation Calligraphr" }
|
|
size: { if is_beleren() or is_revamped() then 16 else if contains(styling.regular_options, match: "Papyrus") then 12 else 16 }
|
|
weight: { if is_papyrus() then "bold" else "" }
|
|
color: { if is_revamped() then "black" else rgb(40,10,6) }
|
|
|
|
casting cost:
|
|
right: 346
|
|
top: 29
|
|
width: { max(30, card_style.casting_cost.content_width) + 5 }
|
|
height: 23
|
|
alignment: middle right
|
|
font:
|
|
name: MPlantin
|
|
size: 15
|
|
symbol font:
|
|
name: { if is_revamped() then "magic-mana-large" else "magic-mana-small-invocation" }
|
|
size: 15
|
|
alignment: middle right
|
|
always symbol: true
|
|
z index: 920
|
|
padding top: 0
|
|
visible: { not contains(styling.regular_options, match:"nonexistent") }
|
|
############################# Image
|
|
image:
|
|
left: 44
|
|
top: 79
|
|
width: 287
|
|
height: 202
|
|
z index: 2
|
|
default: { default_image(card.card_color) }
|
|
mask: imagemask.png
|
|
############################# Card type
|
|
casting cost 2:
|
|
left: 31
|
|
top: 300
|
|
width: { max(5,card_style.casting_cost_2.content_width) + 5 }
|
|
height: 20
|
|
symbol font:
|
|
name: magic-mana-small-invocation
|
|
size: 15
|
|
alignment: middle right
|
|
always symbol: true
|
|
z index: 920
|
|
padding top: 0
|
|
|
|
type:
|
|
left: { 33 + card_style.casting_cost_2.content_width }
|
|
top: { if is_revamped() or is_gothic() then 298 else 299 }
|
|
right: 302
|
|
height: 20
|
|
alignment: { if is_revamped() or not contains(styling.regular_options, match:"center typeline") then "middle shrink-overflow" else "center middle shrink-overflow" }
|
|
z index: 900
|
|
padding top: 2
|
|
font:
|
|
name: { if is_beleren() or is_revamped() then "Beleren Bold" else if contains(styling.regular_options, match: "Papyrus") then "Papyrus" else if is_gothic() then "ShangoGothic-Bold" else "Invocation Calligraphr" }
|
|
size: { if is_beleren() or is_revamped() then 14 else if is_papyrus() then 13 else 15 }
|
|
color: { if contains(styling.regular_options, match:"grayscale") or is_revamped() then "black" else rgb(40,10,6) }
|
|
weight: { if is_papyrus() then "bold" else "" }
|
|
separator color: red
|
|
rarity:
|
|
right: 344
|
|
top: 297
|
|
width: 44
|
|
height: 22
|
|
z index: 950
|
|
render style: image
|
|
alignment: middle right
|
|
visible: { is_revamped() or contains(styling.regular_options, match:"show normal rarity") }
|
|
include file: /magic-modules.mse-include/rarities/choice_images
|
|
############################# Text box
|
|
text:
|
|
left: 31
|
|
top: 355
|
|
width: 310
|
|
bottom: { if is_revamped() then 480 else 460 }
|
|
font:
|
|
name: {if is_revamped() then "MPlantin" else "ShangoGothic-Bold"}
|
|
size: { if is_revamped() then 14 else 12 }
|
|
scale down to: 6
|
|
color: { if is_revamped() then "black" else rgb(40,20,6) }
|
|
symbol font:
|
|
name: { if is_revamped() then "magic-mana-small" else "magic-mana-small-invocation" }
|
|
size: 14
|
|
alignment: { if is_revamped() then "middle left" else "middle center" }
|
|
z index: 900
|
|
mask: { if card.power != "" or card.toughness != "" then "text_mask.png" else "" }
|
|
padding left: 6
|
|
padding right: 4
|
|
padding bottom: 2
|
|
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
|
|
power:
|
|
z index: 910
|
|
left: 326
|
|
top: 432
|
|
width: 15
|
|
height: 25
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: MPlantin
|
|
size: 15
|
|
weight: bold
|
|
color: { if is_revamped() or contains(styling.regular_options, match:"grayscale") then "black" else rgb(16,16,0) }
|
|
toughness:
|
|
z index: 910
|
|
left: 326
|
|
top: 460
|
|
width: 15
|
|
height: 25
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: MPlantin
|
|
size: 15
|
|
weight: bold
|
|
color: { if is_revamped() or contains(styling.regular_options, match:"grayscale") then "black" else rgb(16,16,0) }
|
|
############################# Copyright stuff
|
|
set code:
|
|
left: 24
|
|
top: 502
|
|
width: 40
|
|
height: 10
|
|
visible: { is_revamped() }
|
|
alignment: middle left
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
z index: 900
|
|
illustrator:
|
|
left: { if is_revamped() then 44 + card_style.set_code.content_width else 48 }
|
|
top: { if is_revamped() then 502 else 486 }
|
|
width: { if is_revamped() then 200 else 90 }
|
|
height: 10
|
|
z index: 3
|
|
alignment: middle left shrink-overflow
|
|
font:
|
|
name: { if is_revamped() then "Beleren Small Caps Bold" else "ShangoGothic-Bold" }
|
|
size: {if is_revamped() then 7 else 7.5}
|
|
color: { if is_revamped() then "white" else if contains(styling.regular_options, match:"grayscale") then "black" else rgb(40,10,6) }
|
|
copyright:
|
|
right: 350
|
|
top: 492
|
|
width: 129
|
|
height: 10
|
|
z index: 5
|
|
visible: {not set.automatic_copyright}
|
|
alignment: middle right shrink-overflow
|
|
font:
|
|
name: { if is_revamped() then "MPlantin" else "ShangoGothic-Bold" }
|
|
size: { if is_revamped() then 7.25 else 6 }
|
|
color: { if is_revamped() then "white" else if contains(styling.regular_options, match:"grayscale") then "black" else rgb(40,10,6) }
|
|
card code:
|
|
left: { if is_revamped() then 24 else 34 }
|
|
top: { if is_revamped() then 492 else 476 }
|
|
width: 104
|
|
height: 10
|
|
z index: 900
|
|
font:
|
|
name: { if is_revamped() then "Relay-Medium" else "ShangoGothic-Bold" }
|
|
size: { if is_revamped() then 7 else 6.75 }
|
|
color: { if is_revamped() then "white" else if contains(styling.regular_options, match:"grayscale") then "black" else rgb(40,10,6) }
|
|
partition select:
|
|
left: { if is_revamped() then 24 else 34 }
|
|
top: { if is_revamped() then 492 else 476 }
|
|
width: 35
|
|
height: 10
|
|
z index: 1100
|
|
popup style: menu
|
|
render style: hidden
|
|
############################################################## Extra card fields
|
|
extra card field:
|
|
type: choice
|
|
name: artist arrow
|
|
editable: false
|
|
save value: false
|
|
choice: white
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: pt box
|
|
choice: ptbox
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: foil layer
|
|
choice: foil
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation symbol
|
|
choice: none
|
|
choice: invocation
|
|
initial: invocation
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation symbol 2
|
|
choice: none
|
|
choice: invocation
|
|
initial: invocation
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: glow
|
|
choice: none
|
|
choice: glow
|
|
initial: glow
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation name start
|
|
choice: name
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation name
|
|
choice: name
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation name end
|
|
choice: name
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation cost start
|
|
choice: cost
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation cost
|
|
choice: cost
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation cost end
|
|
choice: cost
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: silver border
|
|
choice: silver
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: text
|
|
name: auto copyright
|
|
script: set.copyright
|
|
save value: false
|
|
editable: false
|
|
show statistics: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation symbol master
|
|
choice: none
|
|
choice: invocationmaster
|
|
initial: invocationmaster
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: invocation symbol master 2
|
|
choice: none
|
|
choice: invocationmaster
|
|
initial: invocationmaster
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: glow master
|
|
choice: none
|
|
choice: glowmaster
|
|
initial: glowmaster
|
|
editable: false
|
|
extra card field:
|
|
type: choice
|
|
name: stamp backing
|
|
choice: backing
|
|
editable: false
|
|
save value: false
|
|
|
|
extra card style:
|
|
artist arrow:
|
|
left: { if is_revamped() then 28 + card_style.set_code.content_width else 34 }
|
|
top: {if is_revamped() then 503 else 489 }
|
|
width: 12
|
|
height: 7
|
|
z index: 3
|
|
render style: image
|
|
image: { if is_revamped() then "artist_arrow.png" else saturate("inv_artist_arrow.png", amount: frame_saturation()) }
|
|
pt box:
|
|
left: 318
|
|
top: 422
|
|
width: 32
|
|
height: 71
|
|
z index: 840
|
|
visible: { card.pt != "" }
|
|
render style: image
|
|
image: { saturate("ivcpt.png", amount: frame_saturation()) }
|
|
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.png
|
|
invocation symbol:
|
|
right: 347
|
|
top: 296
|
|
width: 23
|
|
height: 23
|
|
z index: 6
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: invocation
|
|
visible: { not is_revamped() and card.rarity != "masterpiece" and not contains(styling.regular_options, match:"show normal rarity") }
|
|
invocation symbol 2:
|
|
right: 347
|
|
top: 296
|
|
width: 23
|
|
height: 23
|
|
z index: 6
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: invocation
|
|
visible: { not is_revamped() and card.rarity != "masterpiece" and not contains(styling.regular_options, match:"show normal rarity") }
|
|
glow:
|
|
right: 346
|
|
top: 298
|
|
width: 24
|
|
height: 24
|
|
z index: 3
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: invocation
|
|
visible: { not is_revamped() and card.rarity != "masterpiece" and not contains(styling.regular_options, match:"show normal rarity") }
|
|
invocation symbol master:
|
|
right: 347
|
|
top: 296
|
|
width: 23
|
|
height: 23
|
|
z index: 6
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: invocation
|
|
visible: { not is_revamped() and card.rarity == "masterpiece" and not contains(styling.regular_options, match:"show normal rarity") }
|
|
invocation symbol master 2:
|
|
right: 347
|
|
top: 296
|
|
width: 23
|
|
height: 23
|
|
z index: 6
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: invocation
|
|
visible: { not is_revamped() and card.rarity == "masterpiece" and not contains(styling.regular_options, match:"show normal rarity") }
|
|
glow master:
|
|
right: 346
|
|
top: 298
|
|
width: 24
|
|
height: 24
|
|
z index: 3
|
|
render style: image
|
|
popup style: in place
|
|
alignment: middle center
|
|
include file: invocation
|
|
visible: { not is_revamped() and card.rarity == "masterpiece" and not contains(styling.regular_options, match:"show normal rarity") }
|
|
invocation name start:
|
|
z index: 2
|
|
left: 25
|
|
top: 28
|
|
width: 45
|
|
height: 25
|
|
render style: image
|
|
image: { saturate("namestart.png", amount:frame_saturation()) }
|
|
visible: { not is_revamped() }
|
|
invocation name:
|
|
z index: 2
|
|
left: 70
|
|
top: 27
|
|
width: { if contains(styling.regular_options, match:"snap") then max(58, card_style.name.content_width) - 58 else if contains(styling.regular_options, match:"nonexistent") then 265 else 220 - max(20,card_style.casting_cost.content_width) }
|
|
height: 27
|
|
render style: image
|
|
image: { saturate("namemiddle.png", amount:frame_saturation()) }
|
|
visible: { not is_revamped() }
|
|
invocation name end:
|
|
z index: 2
|
|
left: { if contains(styling.regular_options, match:"snap") then 7 + max(33, card_style.name.content_width) else if contains(styling.regular_options, match:"nonexistent") then 305 else 290 - max(20,card_style.casting_cost.content_width) }
|
|
top: 28
|
|
width: 45
|
|
height: 25
|
|
render style: image
|
|
image: { saturate("nameend.png", amount:frame_saturation()) }
|
|
visible: { not is_revamped() }
|
|
invocation cost end:
|
|
z index: 2
|
|
right: 353
|
|
top: 28
|
|
height: 25
|
|
width: 15
|
|
render style: image
|
|
image: { saturate("costend.png", amount:frame_saturation()) }
|
|
visible: { not contains(styling.regular_options, match:"nonexistent") }
|
|
visible: { not is_revamped() }
|
|
invocation cost:
|
|
z index: 2
|
|
right: 339
|
|
top: 28
|
|
height: 25
|
|
width: { 2 + max(0,card_style.casting_cost.content_width - 17) }
|
|
render style: image
|
|
image: { saturate("costmid.png", amount:frame_saturation()) }
|
|
visible: { not is_revamped() and not contains(styling.regular_options, match:"nonexistent") }
|
|
invocation cost start:
|
|
z index: 2
|
|
top: 28
|
|
right: { 338 - max(0,card_style.casting_cost.content_width - 17) }
|
|
height: 25
|
|
width: 15
|
|
render style: image
|
|
image: { saturate("coststart.png", amount:frame_saturation()) }
|
|
visible: { not is_revamped() and not contains(styling.regular_options, match:"nonexistent") }
|
|
silver border:
|
|
left: 0
|
|
top: 0
|
|
height: 523
|
|
width: 375
|
|
z index: 1
|
|
render style: image
|
|
image: silver_border.png
|
|
visible: { not is_revamped() and contains(styling.regular_options, match:"silver border") }
|
|
auto copyright:
|
|
right: 350
|
|
top: 492
|
|
width: 129
|
|
height: 10
|
|
z index: 5
|
|
alignment: middle right shrink-overflow
|
|
visible: {set.automatic_copyright}
|
|
font:
|
|
name: { if is_revamped() then "MPlantin" else "ShangoGothic-Bold" }
|
|
size: { if is_revamped() then 7.25 else 6 }
|
|
color: { if is_revamped() then "white" else if contains(styling.regular_options, match:"grayscale") then "black" else rgb(40,10,6) }
|
|
stamp backing:
|
|
left: 165
|
|
top: 477
|
|
width: 46
|
|
height: 26
|
|
z index: 850
|
|
visible: { is_revamped() and card.card_stamp != "none" }
|
|
render style: image
|
|
image: { "/magic-modules.mse-include/stamps/backs/" + (if stamp_shape(field:1) == "triangle" then "triangle_stamp.png" else "stamp.png") }
|