428 lines
14 KiB
Plaintext
428 lines
14 KiB
Plaintext
mse version: 2.1.2
|
|
game: magic
|
|
short name: Archenemy
|
|
full name: ARC+Bolas
|
|
icon: card-sample.png
|
|
position hint: 90
|
|
|
|
version: 2023-12-20
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2010-05-17
|
|
depends on:
|
|
package: magic-default-image.mse-include
|
|
version: 2007-09-23
|
|
depends on:
|
|
package: magic-mana-small.mse-symbol-font
|
|
version: 2007-09-23
|
|
depends on:
|
|
package: magic-mainframe-extras.mse-include
|
|
version: 2018-01-01
|
|
depends on:
|
|
package: magic-future-common.mse-include
|
|
version: 2007-09-23
|
|
|
|
card width: 435
|
|
card height: 621
|
|
card dpi: 200
|
|
|
|
#card dpi: 131.1179678
|
|
#?????
|
|
|
|
# Original style by Pichoro
|
|
# ARC Images by Art_Freak
|
|
|
|
# Updated style and E01 images by Fungustober
|
|
############################################################## Extra scripts
|
|
init script:
|
|
#rarity stuff
|
|
#code by Cajun
|
|
alt_rarity := {styling.alt_rarity_color != ""}
|
|
alt_rarity_color := {
|
|
string := "83,67,53:177,150,131:0,0,0:0,0,0:0.07:"
|
|
if match(styling.alt_rarity_color, match:":$") then string := styling.alt_rarity_color
|
|
colons := length(filter_text(string, match:":"))
|
|
output := split_text(string, match:",|:")
|
|
splits := split_text(string, match:":")
|
|
if colons == 4
|
|
then output := split_text(string+"0.07:", match:",|:")
|
|
if colons == 3
|
|
then output := split_text(string+splits[2]+"0.07:", match:",|:")
|
|
else if colons == 2
|
|
then output := split_text(string+"0,0,0:0,0,0:0.07:", match:",|:")
|
|
else if colons == 1
|
|
then output := split_text(string+splits[0]+":0,0,0:0,0,0:0.07:", match:",|:")
|
|
|
|
output
|
|
}
|
|
alt_symbol := {symbol_variation(symbol:set.symbol, border_radius: alt_rarity_color().12, fill_type: "linear gradient", fill_color_1: rgb(alt_rarity_color().0, alt_rarity_color().1, alt_rarity_color().2), fill_color_2: rgb(alt_rarity_color().3, alt_rarity_color().4, alt_rarity_color().5), border_color_1: rgb(alt_rarity_color().6, alt_rarity_color().7, alt_rarity_color().8), border_color_2: rgb(alt_rarity_color().9, alt_rarity_color().10, alt_rarity_color().11), center_x:0.5, center_y:0.5, end_x:1, end_y:1)}
|
|
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
|
|
|
|
un_png := replace@(match:".png", replace: "")
|
|
|
|
is_unsorted := {styling.remove_from_autocount}
|
|
|
|
# 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 }
|
|
|
|
#style picker
|
|
choose_style := {if styling.scheme_style == "original" then "A" else "E"}
|
|
|
|
choose_card := {"card" + choose_style() + ".png"}
|
|
choose_mask := {"image_mask" + choose_style() + ".png"}
|
|
|
|
|
|
############################################################## 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: choice
|
|
name: scheme style
|
|
description: What style of scheme you want.
|
|
initial: original
|
|
choice: original
|
|
choice: nicol bolas
|
|
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: boolean
|
|
name: inverted common symbol
|
|
description: Should the common rarity symbol be inverted, like in Dominaria?
|
|
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: alt rarity color
|
|
description: Use a custom color for the rarity symbol. Formatted as "R1,G1,B1:R2,G2,B2:..." 1 and 2 are fill color, 3 and 4 border color
|
|
styling field:
|
|
type: choice
|
|
name: artist font color
|
|
description: Should the illustrator, copyright, and illustrator paintbrush be white or black?
|
|
choice: white
|
|
choice: black
|
|
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-small.mse-symbol-font/mana_t.png
|
|
old: /magic-mana-small.mse-symbol-font/mana_t_old.png
|
|
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
|
|
############################################################## Card fields
|
|
card style:
|
|
############################# Background stuff
|
|
border color:
|
|
left: 0
|
|
top: 0
|
|
width: 435
|
|
height: 621
|
|
radius: 16
|
|
left width: 16
|
|
right width: 15
|
|
top width: 13
|
|
bottom width: 15
|
|
z index: 4
|
|
############################# Name line
|
|
name:
|
|
left: {if choose_style() == "A" then 63 else 72}
|
|
top: {if choose_style() == "A" then 35 else 38}
|
|
width: {if choose_style() == "A" then 306 else 292}
|
|
height: {if choose_style() == "A" then 27 else 35}
|
|
alignment: {if choose_style() == "A" then "bottom center shrink-overflow" else "middle center shrink-overflow"}
|
|
padding bottom: 0
|
|
z index: 2
|
|
font:
|
|
name: {if choose_style() == "A" then "Matrix" else "Beleren Bold"}
|
|
size: 16
|
|
weight: bold
|
|
color: black
|
|
############################# Image
|
|
image:
|
|
left: {if choose_style() == "A" then 26 else 0}
|
|
top: {if choose_style() == "A" then 25 else 0}
|
|
width: {if choose_style() == "A" then 383 else 435}
|
|
height: {if choose_style() == "A" then 571 else 621}
|
|
z index: 1
|
|
mask: {choose_mask()}
|
|
############################# Card type
|
|
type:
|
|
left: {if choose_style() == "A" then 65 else 63}
|
|
top: {if choose_style() == "A" then 406 else 402}
|
|
width: { 312 - max(21,card_style.rarity.content_width) }
|
|
height: {if choose_style() == "A" then 21 else 23}
|
|
alignment: middle left shrink-overflow
|
|
z index: 2
|
|
font:
|
|
name: {if choose_style() == "A" then "Matrix" else "Beleren Bold"}
|
|
size: {if choose_style() == "A" then 14 else 13}
|
|
color: black
|
|
rarity:
|
|
right: 373
|
|
top: {if choose_style() == "A" then 407 else 402}
|
|
width: 37
|
|
height: {if choose_style() == "A" then 19 else 23}
|
|
z index: 2
|
|
render style: image
|
|
alignment: middle right
|
|
choice images:
|
|
# Images based on the set symbol
|
|
# code by Cajun
|
|
basic land:
|
|
script:
|
|
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
|
else if alt_rarity() then alt_symbol()
|
|
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 alt_rarity() then alt_symbol()
|
|
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 if alt_rarity() then alt_symbol()
|
|
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 if alt_rarity() then alt_symbol()
|
|
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 if alt_rarity() then alt_symbol()
|
|
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 if alt_rarity() then alt_symbol()
|
|
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
|
|
text:
|
|
left: {if choose_style() == "A" then 64 else 60}
|
|
top: 435
|
|
width: {if choose_style() == "A" then 309 else 312}
|
|
height: 122
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: {if choose_style() == "A" then 14 else 16}
|
|
scale down to: 7
|
|
color: black
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: 14
|
|
alignment: middle left
|
|
z index: 2
|
|
padding left: 5
|
|
padding top: 2
|
|
padding right: {if choose_style() == "A" then 5 else 2}
|
|
padding bottom: 2
|
|
line height hard: 1.2
|
|
line height line: {if choose_style() == "A" then 1.5 else 1.3}
|
|
line height soft: {if choose_style() == "A" then 1 else 0.9}
|
|
############################# Card sorting / numbering
|
|
############################# Copyright stuff
|
|
illustrator:
|
|
left: { if choose_style() == "A" then 99 else 245}
|
|
top: { if choose_style() == "A" then 570 else 579}
|
|
width: { if choose_style() == "A" then 267 else 121 }
|
|
height: 14
|
|
alignment: {if choose_style() == "A" then "center" else "left bottom"}
|
|
z index: 2
|
|
font:
|
|
name: {if choose_style() == "A" then "Matrix" else "Beleren Small Caps Bold"}
|
|
size: {if choose_style() == "A" then 11 else 8.5}
|
|
color: {styling.artist_font_color}
|
|
# This was supposed to automatically do copyright,
|
|
# but apparently at some point, the copyright code changed
|
|
# and now it doesn't work
|
|
##copyright line:
|
|
## left: {if choose_style() == "A" then 67 else 0}
|
|
## top: {if choose_style() == "A" then 587 else 0}
|
|
## width: {if choose_style() == "A" then 296 else 0}
|
|
## height: {if choose_style() == "A" then 14 else 0}
|
|
## alignment: center
|
|
## z index: 2
|
|
## visible: {if choose_style() == "A" then true else false}
|
|
## font:
|
|
## name: MPlantin
|
|
## size: 6
|
|
## color: {styling.artist_font_color}
|
|
copyright:
|
|
left: 145
|
|
top: {if set.automatic_copyright or choose_style() == "A" then 0 else 593}
|
|
width: {if set.automatic_copyright or choose_style() == "A" then 0 else 145}
|
|
height: 14
|
|
z index: 2
|
|
alignment: center middle
|
|
font:
|
|
name: MPlantin
|
|
size: 7.5
|
|
color: white
|
|
weight: bold
|
|
############################################################## Extra card fields
|
|
extra card field:
|
|
type: choice
|
|
name: 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: choice
|
|
name: paintbrush
|
|
script: styling.artist_font_color
|
|
editable: false
|
|
save value: false
|
|
extra card field:
|
|
type: text
|
|
name: cardSet code
|
|
save value: false
|
|
script:
|
|
if set.automatic_card_numbers and not styling.remove_from_autocount then
|
|
forward_editor(prefix: set.set_code + " • " + set.set_language + " " + card_number_m15() + "/" + card_count_m15() + " ", field: card.card_code_text)
|
|
else
|
|
combined_editor(field1: card.custom_card_number, separator: " ", field2: card.card_code_text)
|
|
extra card field:
|
|
type: text
|
|
name: legacy copyright
|
|
save value: false
|
|
script:
|
|
if set.automatic_card_numbers then
|
|
combined_editor(field1: set.copyright, separator: " ", field2: card.card_number)
|
|
else
|
|
forward_editor(field: set.copyright)
|
|
description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab
|
|
extra card field:
|
|
type: text
|
|
name: auto copyright
|
|
script: set.copyright
|
|
save value: false
|
|
editable: false
|
|
show statistics: false
|
|
extra card style:
|
|
paintbrush:
|
|
right: { if choose_style() == "A" then 232 + ( card_style.illustrator.content_width * -0.5 ) else 243}
|
|
top: {if choose_style() == "A" then 571 else 582}
|
|
width: {if choose_style() == "A" then 35 else 11}
|
|
height: {if choose_style() == "A" then 14 else 8}
|
|
z index: 6
|
|
render style: image
|
|
choice images:
|
|
black: {if choose_style() == "A" then "/magic-future-common.mse-include/paintbrush_black.png" else "artist_arrow.png"}
|
|
white: {if choose_style() == "A" then "/magic-future-common.mse-include/paintbrush_white.png" else "artist_arrow.png"}
|
|
frame:
|
|
left: 0
|
|
top: 0
|
|
width: 435
|
|
height: 621
|
|
z index: 0
|
|
render style: image
|
|
image: {choose_card()}
|
|
foil layer:
|
|
left: 0
|
|
top: 0
|
|
width: 435
|
|
height: 621
|
|
z index: 3
|
|
render style: image
|
|
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
|
cardSet code:
|
|
left: {if choose_style() == "E" then 115 else 0}
|
|
top: {if choose_style() == "E" then 579 else 0}
|
|
width: {if choose_style() == "E" then 100 else 0}
|
|
height: {if choose_style() == "E" then 14 else 0}
|
|
z index: 2
|
|
visible: {if choose_style() == "E" then true else false}
|
|
font:
|
|
name: Relay-Medium
|
|
size: 8.5
|
|
color: white
|
|
weight: bold
|
|
legacy copyright:
|
|
left: {if choose_style() == "A" then 67 else 0}
|
|
top: {if choose_style() == "A" then 587 else 0}
|
|
width: {if choose_style() == "A" then 296 else 0}
|
|
height: {if choose_style() == "A" then 14 else 0}
|
|
alignment: center
|
|
z index: 2
|
|
visible: {if choose_style() == "A" then true else false}
|
|
font:
|
|
name: MPlantin
|
|
size: 6
|
|
color: {styling.artist_font_color}
|
|
auto copyright:
|
|
left: 145
|
|
top: {if choose_style() == "A" or set.automatic_copyright == "no" then 0 else 593}
|
|
width: {if choose_style() == "A" or set.automatic_copyright == "no" then 0 else 145}
|
|
height: 14
|
|
z index: 2
|
|
alignment: center middle
|
|
font:
|
|
name: MPlantin
|
|
size: 7.5
|
|
color: white
|
|
weight: bold
|