Update Strixhaven mystical archive frame (#174)
* Update Strixhaven mystical archive frame
@@ -59,6 +59,7 @@ Thanks to GenevensiS for their continued work on keeping up with the Showcases!
|
||||
• Added the Tarkir Draconic, Draconic Adventure, Ghostfire, and Ghostfire Planeswalker frames
|
||||
• Added the EOE Stellar Sights frame
|
||||
• Added the Spider-Man Webslinger and Comic Panel Showcase frames
|
||||
• Added the Lorwyn Fabled frame
|
||||
• Added the Secret Lair Arcade frame
|
||||
• Added the MKM Magnified Showcase frame
|
||||
• Added the UNF, ONE, LCI Full Art land frames. Those and NEO have code to detect or manually select up to two basic types.
|
||||
@@ -71,6 +72,7 @@ Thanks to GenevensiS for their continued work on keeping up with the Showcases!
|
||||
|
||||
__Other Updates__
|
||||
• Updated types and keywords to Avatar: The Last Airbender
|
||||
• Updated the Mystical Archive frame with the new PT box and an alternate black backing. The old PT can be used with PT color scheme set to Flat.
|
||||
• Added word_lists_linux as a workaround for Linux users having issues with generated word_lists.
|
||||
• Added a Style option to change Casting Cost Mana Symbols to Mainframe, Adventures, Battles, Planeswalkers, and Sagas.
|
||||
• Added custom fonts module to Full Art Basic Lands.
|
||||
|
||||
|
Before Width: | Height: | Size: 170 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/a.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/b.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/c.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/g.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/m.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/r.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/u.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/alias/w.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 169 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/black_aliasbox.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/black_namebox.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/black_textbox.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/black_typebox.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
@@ -1,212 +0,0 @@
|
||||
card_hybrid_2 := {
|
||||
if mode != "mask" then linear_blend(
|
||||
image1: template(colors[0])
|
||||
image2: template(colors[1])
|
||||
x1: 0.4, y1: 0
|
||||
x2: 0.6, y2: 0
|
||||
)
|
||||
else masked_blend(
|
||||
light: template(colors[1])
|
||||
dark: template(colors[0])
|
||||
mask: "special_blend_{type}.png"
|
||||
)
|
||||
}
|
||||
|
||||
horizontal_card_hybrid := [
|
||||
1: { template(colors[0]) }
|
||||
2: card_hybrid_2
|
||||
3: {linear_blend(
|
||||
image1: template(colors[0])
|
||||
x1: 0.22, y1: 0
|
||||
x2: 0.4, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[1])
|
||||
x1: 0.6, y1: 0
|
||||
x2: 0.78, y2: 0
|
||||
image2: template(colors[2])
|
||||
))}
|
||||
4: {linear_blend(
|
||||
# blend = 0.16
|
||||
image1: template(colors[0])
|
||||
x1: 0.15, y1: 0
|
||||
x2: 0.31, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[1])
|
||||
x1: 0.42, y1: 0
|
||||
x2: 0.58, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[2])
|
||||
x1: 0.69, y1: 0
|
||||
x2: 0.85, y2: 0
|
||||
image2: template(colors[3])
|
||||
)))}
|
||||
5: {linear_blend(
|
||||
image1: template(colors[0])
|
||||
x1: 2.0 / 15, y1: 0
|
||||
x2: 4.0 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[1])
|
||||
x1: 5.0 / 15, y1: 0
|
||||
x2: 7.0 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[2])
|
||||
x1: 8.0 / 15, y1: 0
|
||||
x2: 10.0 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[3])
|
||||
x1: 11.0 / 15, y1: 0
|
||||
x2: 13.0 / 15, y2: 0
|
||||
image2: template(colors[4])
|
||||
))))}
|
||||
6: {linear_blend(
|
||||
image1: template(colors[0])
|
||||
x1: 1.5 / 15, y1: 0
|
||||
x2: 3.1 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[1])
|
||||
x1: 4.1 / 15, y1: 0
|
||||
x2: 5.7 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[2])
|
||||
x1: 6.7 / 15, y1: 0
|
||||
x2: 8.3 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[3])
|
||||
x1: 9.3 / 15, y1: 0
|
||||
x2: 10.9 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[4])
|
||||
x1: 11.9 / 15, y1: 0
|
||||
x2: 13.5 / 15, y2: 0
|
||||
image2: template(colors[5])
|
||||
)))))}
|
||||
7: {linear_blend(
|
||||
image1: template(colors[0])
|
||||
x1: 1.3 / 15, y1: 0
|
||||
x2: 2.7 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[1])
|
||||
x1: 3.5 / 15, y1: 0
|
||||
x2: 4.9 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[2])
|
||||
x1: 5.7 / 15, y1: 0
|
||||
x2: 7.1 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[3])
|
||||
x1: 7.9 / 15, y1: 0
|
||||
x2: 9.3 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[4])
|
||||
x1: 10.1 / 15, y1: 0
|
||||
x2: 11.5 / 15, y2: 0
|
||||
image2: linear_blend(
|
||||
image1: template(colors[5])
|
||||
x1: 12.3 / 15, y1: 0
|
||||
x2: 13.7 / 15, y2: 0
|
||||
image2: template(colors[6])
|
||||
))))))}
|
||||
]
|
||||
|
||||
card_hybrid := [
|
||||
radial: [
|
||||
0: { template("c") }
|
||||
1: { template(colors[0]) }
|
||||
2: card_hybrid_2
|
||||
3: {linear_blend(
|
||||
image1: card_hybrid_2(colors: colors[0] + colors[1]),
|
||||
image2: template(colors[2]),
|
||||
x1: 0, y1: 0.55
|
||||
x2: 0, y2: 0.77
|
||||
)}
|
||||
4: {linear_blend(
|
||||
image1: card_hybrid_2(colors: colors[0] + colors[1])
|
||||
image2: card_hybrid_2(colors: colors[3] + colors[2])
|
||||
x1: 0, y1: 0.4
|
||||
x2: 0, y2: 0.62
|
||||
)}
|
||||
5: {linear_blend(
|
||||
image1: linear_blend(
|
||||
image1: card_hybrid_2(colors: colors[0] + colors[1]),
|
||||
image2: card_hybrid_2(colors: colors[4] + colors[2]),
|
||||
x1: 0, y1: 0.19
|
||||
x2: 0, y2: 0.35
|
||||
),
|
||||
image2: template(colors[3]),
|
||||
x1: 0, y1: 0.777
|
||||
x2: 0, y2: 0.937
|
||||
)}
|
||||
6: {linear_blend(
|
||||
image1: linear_blend(
|
||||
image1: card_hybrid_2(colors: colors[0] + colors[1]),
|
||||
image2: card_hybrid_2(colors: colors[5] + colors[2]),
|
||||
x1: 0, y1: 0.19
|
||||
x2: 0, y2: 0.35
|
||||
),
|
||||
image2: card_hybrid_2(colors: colors[4] + colors[3]),
|
||||
x1: 0, y1: 0.777
|
||||
x2: 0, y2: 0.937
|
||||
)}
|
||||
7: {linear_blend(
|
||||
image1: linear_blend(
|
||||
image1: linear_blend(
|
||||
image1: card_hybrid_2(colors: colors[0] + colors[1]),
|
||||
image2: card_hybrid_2(colors: colors[6] + colors[3]),
|
||||
x1: 0, y1: 0.34
|
||||
x2: 0, y2: 0.50
|
||||
),
|
||||
image2: card_hybrid_2(colors: colors[5] + colors[3]),
|
||||
x1: 0, y1: 0.877
|
||||
x2: 0, y2: 0.937
|
||||
),
|
||||
image2: template(colors[4]),
|
||||
x1: 0, y1: 1.140
|
||||
x2: 0, y2: 1.300
|
||||
)}
|
||||
]
|
||||
horizontal: horizontal_card_hybrid
|
||||
vertical: [
|
||||
1: { template(colors[0]) }
|
||||
2: { linear_blend(
|
||||
image1: template(colors[0])
|
||||
image2: template(colors[1])
|
||||
x1: 0, y1: 0.4
|
||||
x2: 0, y2: 0.6
|
||||
)}
|
||||
3: vertical_card_hybrid
|
||||
4: vertical_card_hybrid
|
||||
5: vertical_card_hybrid
|
||||
6: vertical_card_hybrid
|
||||
7: vertical_card_hybrid
|
||||
]
|
||||
overlay: overlay_hybrid
|
||||
]
|
||||
|
||||
########################################################################
|
||||
# Textbox and typeline for FPM templates and Futureshifts
|
||||
########################################################################
|
||||
|
||||
textbox_hybrid := [
|
||||
radial: [
|
||||
0: { template("c") }
|
||||
1: { template(colors[0]) }
|
||||
2: card_hybrid_2
|
||||
3: { template(colors[2]) }
|
||||
4: { card_hybrid_2(colors: colors[3] + colors[2]) }
|
||||
5: { template(colors[3]) }
|
||||
6: { card_hybrid_2(colors: colors[4] + colors[3]) }
|
||||
7: { template(colors[4]) }
|
||||
]
|
||||
horizontal: horizontal_card_hybrid
|
||||
vertical: [
|
||||
0: { template("c") }
|
||||
1: { template(colors[0]) }
|
||||
2: { template(colors[1]) }
|
||||
3: { template(colors[2]) } # TODO
|
||||
4: { template(colors[3]) }
|
||||
5: { template(colors[4]) }
|
||||
6: { template(colors[5]) }
|
||||
7: { template(colors[6]) }
|
||||
]
|
||||
overlay: overlay_hybrid
|
||||
]
|
||||
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 14 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/a.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/b.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/c.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/g.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/m.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/r.png
Normal file
|
After Width: | Height: | Size: 122 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/u.png
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card/w.png
Normal file
|
After Width: | Height: | Size: 132 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card_mask.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/card_sample.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 174 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/a.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/b.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/c.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/g.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/m.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/r.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/u.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/crown/w.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 864 B |
|
Before Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 119 B |
BIN
data/magic-m15-showcase-strixhaven.mse-style/image_mask.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 177 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 119 B |
BIN
data/magic-m15-showcase-strixhaven.mse-style/paper_aliasbox.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/paper_namebox.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/paper_textbox.png
Normal file
|
After Width: | Height: | Size: 374 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/paper_typebox.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 9.7 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/a.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/b.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/c.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/g.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/m.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/r.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/u.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/magic-m15-showcase-strixhaven.mse-style/pt/w.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 172 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
@@ -1,195 +1,332 @@
|
||||
mse version: 2.1.2
|
||||
mse version: 2.5.6
|
||||
game: magic
|
||||
short name: Showcase
|
||||
short name: Mystical Archive
|
||||
full name: Strixhaven Showcase
|
||||
icon: card-sample.png
|
||||
installer group: magic/m15 style/normal cards
|
||||
icon: card_sample.png
|
||||
position hint: 095
|
||||
|
||||
version: 2024-09-01
|
||||
version: 2024-10-01
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2014-06-25
|
||||
depends on:
|
||||
package: magic-default-image.mse-include
|
||||
version: 2007-09-23
|
||||
depends on:
|
||||
package: magic-modules.mse-include
|
||||
version: 2024-10-01
|
||||
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
|
||||
depends on:
|
||||
package: magic-watermarks.mse-include
|
||||
version: 2007-09-23
|
||||
|
||||
card width: 375
|
||||
card height: 523
|
||||
card dpi: 150
|
||||
####### card images from silverback_ape
|
||||
####### pt image from Card Conjurer
|
||||
#### https://cardconjurer.com/
|
||||
card width: 744
|
||||
card height: 1039
|
||||
card dpi: 297.6
|
||||
|
||||
### blanks by CardConjurer and GenevensiS
|
||||
### code by GenevensiS
|
||||
|
||||
############################################################## Extra scripts
|
||||
|
||||
init script:
|
||||
# Load scripts for image box
|
||||
include file: /magic-default-image.mse-include/scripts
|
||||
include file: blends
|
||||
|
||||
# Should hybrids have a grey name?
|
||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||
|
||||
#Should multicolor lands with basic land types have a colored name?
|
||||
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
|
||||
|
||||
template_prefix := [
|
||||
card: "",
|
||||
card2:"back/",
|
||||
crown:"crown/",
|
||||
pt: "/magic-modules.mse-include/pts/375 m15/",
|
||||
stamp: "",
|
||||
identity: "/magic-modules.mse-include/indicators/"
|
||||
swap_fonts_pt_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {29.0},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
template_suffix := [
|
||||
card: "card.png",
|
||||
card2:"card.png",
|
||||
crown:"crown.png",
|
||||
pt: "pt.png",
|
||||
stamp: "stamp.jpg",
|
||||
identity: "identity.png"
|
||||
|
||||
swap_fonts_body_default :=
|
||||
[
|
||||
name: {"MPlantin"},
|
||||
size: {27.0},
|
||||
color: {if styling.textbox_appearance == "black" then "white" else "black"},
|
||||
vertical: {0},
|
||||
italic: {"MPlantin-Italic"}
|
||||
]
|
||||
|
||||
type_offset_left_1 := { 4 }
|
||||
type_offset_top_1 := { 1 }
|
||||
rarity_offset_top_1 := { 1 }
|
||||
rarity_offset_left_1 := { 3 }
|
||||
indicator_offset_left_1 := { -4 }
|
||||
indicator_offset_top_1 := { -1 }
|
||||
typeline_character_limit := 34
|
||||
swap_fonts_type_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: { 25.0 - max(0, (length(to_text(card.type)) - typeline_character_limit) / 3) },
|
||||
color: {if styling.typeline_appearance == "black" then "white" else "black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
transform_symbol_disabled_1 := { true }
|
||||
casting_cost_offset_top_1 := { 0 }
|
||||
casting_cost_offset_left_1 := { 4 }
|
||||
swap_fonts_name_default :=
|
||||
[
|
||||
name: {"Beleren Bold"},
|
||||
size: {30.0},
|
||||
color: {if styling.nameline_appearance == "black" then "white" else "black"},
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
|
||||
#alias_offset_top_1 := { if is_crowned() then 2 else -2 }
|
||||
#alias_colors := {
|
||||
# [
|
||||
# w: rgb(243, 246, 231),
|
||||
# u: rgb( 82, 156, 178),
|
||||
# b: rgb(125, 127, 140),
|
||||
# r: rgb(199, 106, 78),
|
||||
# g: rgb(101, 137, 90),
|
||||
# a: rgb(136, 159, 174),
|
||||
# m: rgb(206, 176, 46),
|
||||
# c: rgb(113, 72, 19)
|
||||
# ][input]
|
||||
#}
|
||||
|
||||
invert_watermark_1 := { styling.textbox_appearance == "black" }
|
||||
|
||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||
|
||||
information_copyright_offset_top_1 := { 12 }
|
||||
information_copyright_offset_pt_top_1 := { 0 }
|
||||
information_secondary_offset_pt_left_1 := { if styling.PT_color_scheme == "flat" then 73 else 0 }
|
||||
|
||||
old_card_hybrid := card_hybrid
|
||||
card_hybrid_2 :=
|
||||
{
|
||||
masked_blend(
|
||||
mask: "special_blend_card.png",
|
||||
light: template(colors[1 + shift]),
|
||||
dark: template(colors[0 + shift])
|
||||
)
|
||||
}@(shift:0)
|
||||
horizontal_card_hybrid :=
|
||||
[
|
||||
0: horizontal_card_hybrid[0]
|
||||
1: horizontal_card_hybrid[1]
|
||||
2: card_hybrid_2
|
||||
3: horizontal_card_hybrid[3]
|
||||
4: horizontal_card_hybrid[4]
|
||||
5: horizontal_card_hybrid[5]
|
||||
6: horizontal_card_hybrid[6]
|
||||
7: horizontal_card_hybrid[7]
|
||||
]
|
||||
card_hybrid :=
|
||||
[
|
||||
radial: card_hybrid["radial"]
|
||||
horizontal: horizontal_card_hybrid
|
||||
overlay: card_hybrid["overlay"]
|
||||
vertical: card_hybrid["vertical"]
|
||||
]
|
||||
|
||||
template_prefix :=
|
||||
[
|
||||
border: "border/",
|
||||
card: "card/",
|
||||
clearcard: "clearcard/",
|
||||
pt: "pt/",
|
||||
crown: "crown/",
|
||||
noncrown: "noncrown/",
|
||||
clearcrown: "clearcrown/",
|
||||
alias: "alias/",
|
||||
stamp: "stamp/",
|
||||
nonstamp: "nonstamp/"
|
||||
identity: "/magic-modules.mse-include/indicators/",
|
||||
identity2: "/magic-modules.mse-include/indicators/",
|
||||
]
|
||||
template_suffix :=
|
||||
[
|
||||
border: ".png",
|
||||
card: ".png",
|
||||
clearcard: ".png",
|
||||
pt: ".png",
|
||||
crown: ".png",
|
||||
noncrown: ".png",
|
||||
clearcrown: ".png",
|
||||
alias: ".png",
|
||||
stamp: ".png",
|
||||
nonstamp: ".png"
|
||||
identity: "identity.png",
|
||||
identity2: "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] }
|
||||
# Use land templates for previews because they show more contrast
|
||||
hybrid_previews := "land,hybrid"
|
||||
crown_background := { color_background(type:"crown", base_hybrid:card_hybrid) }
|
||||
|
||||
# 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"
|
||||
}
|
||||
color_blend := { color_background(input: card.card_color, type: type, base_hybrid: card_hybrid, multicolor_blend: "white", hybrid_blend: "white", artifact_blend: "white") }
|
||||
|
||||
# Use guild mana symbols?
|
||||
guild_mana := { styling.use_guild_mana_symbols }
|
||||
|
||||
# Is the card a promo card?
|
||||
is_promo := { styling.promo }
|
||||
mana_sort := {
|
||||
if styling.unsorted_casting_cost then
|
||||
input
|
||||
else
|
||||
sort_text@(order: "XYZI[0123456789]HSCA(WUBRG)")()
|
||||
}
|
||||
ancestral_mana := { styling.ancestral_mana_symbols }
|
||||
is_unsorted := {styling.remove_from_autocount}
|
||||
|
||||
chop_top := {to_number(pull_comma_array(styling.text_chops, cell:0, end:false))}
|
||||
chop_bot := {to_number(pull_comma_array(styling.text_chops, cell:1, end:false))}
|
||||
chop_correction := { chop_bot() }
|
||||
shrink_type := {if styling.shrink_typeline_text != "" then to_number(styling.shrink_typeline_text) else 0}
|
||||
shrink_name := {if styling.shrink_name_text != "" then to_number(styling.shrink_name_text) else 0}
|
||||
|
||||
typeline_offset_top_1 := {2}
|
||||
indicator_offset_left_1 := {-3}
|
||||
type_offset_left_1 := {3}
|
||||
|
||||
default_partition := {
|
||||
if styling.default_partition != "no override"
|
||||
then styling.default_partition
|
||||
else "A"
|
||||
}
|
||||
module_alias := {
|
||||
template := alias_custom_template
|
||||
land_template := alias_custom_land_template
|
||||
color_background(
|
||||
type: "alias",
|
||||
base_hybrid: card_hybrid,
|
||||
artifact_blend: "black",
|
||||
hybrid_blend: "white",
|
||||
multicolor_blend: "black"
|
||||
pure_colors :=
|
||||
{
|
||||
sort_text(
|
||||
order: if card_is_wedge(input) then "(wbgur)" else "(wubrg)",
|
||||
(if chosen(card.card_color, choice:"white") then "w") +
|
||||
(if chosen(card.card_color, choice:"blue") then "u") +
|
||||
(if chosen(card.card_color, choice:"black") then "b") +
|
||||
(if chosen(card.card_color, choice:"red") then "r") +
|
||||
(if chosen(card.card_color, choice:"green") then "g")
|
||||
)
|
||||
}
|
||||
alias_offset_top_1 := {5}
|
||||
alias_colors := {
|
||||
[
|
||||
w: rgb(243, 241, 229),
|
||||
u: rgb(0, 108, 169),
|
||||
b: rgb(55, 54, 48),
|
||||
r: rgb(217, 62, 39),
|
||||
g: rgb(0, 111, 64),
|
||||
a: rgb(193, 193, 193),
|
||||
m: rgb(234, 208, 106),
|
||||
c: rgb(165, 149, 133)
|
||||
][input]
|
||||
}
|
||||
pt_colors := { if styling.PT_color_scheme == "canon" then pt_colors_canon() else styling.PT_color_scheme }
|
||||
pt_colors_canon := { if contains(card.card_color, match: "hybrid") then "land" else "gold" }
|
||||
|
||||
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)) }
|
||||
|
||||
foil_mask_added_sections := { [] }
|
||||
foil_mask_removed_sections := { [] }
|
||||
|
||||
chop_top := { split := split_comma(styling.chop_text_box); if length(split) > 0 and split[0] != "" and split[0] != "-" then clamp(split[0], maximum:500, minimum:-500) else 0 }
|
||||
chop_bottom := { split := split_comma(styling.chop_text_box); if length(split) > 1 and split[1] != "" and split[1] != "-" then clamp(split[1], maximum:500, minimum:-500) else 0 }
|
||||
chop_right := { split := split_comma(styling.chop_text_box); if length(split) > 2 and split[2] != "" and split[2] != "-" then clamp(split[2], maximum:500, minimum:-500) else 0 }
|
||||
|
||||
popout_left := { split := split_comma(styling.popout_art_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_art_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_art_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_art_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
||||
|
||||
art_left := { 0 }
|
||||
art_width := { stylesheet.card_width }
|
||||
art_top := {
|
||||
if styling.stretch_art_to_whole_card then 0
|
||||
else if get_alpha_percentage(styling.nameline_opacity_percentage, default: 70) < 0.995 then 47
|
||||
else 126
|
||||
}
|
||||
art_bottom := {
|
||||
if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height
|
||||
else if get_alpha_percentage(styling.textbox_opacity_percentage, default: 70) < 0.995 then 963
|
||||
else if styling.extended_art and not (styling.border == "yes") then 917
|
||||
else if get_alpha_percentage(styling.typeline_opacity_percentage, default: 70) < 0.995 then 643
|
||||
else 575
|
||||
}
|
||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
|
||||
|
||||
############################################################## 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: text
|
||||
name: text chops
|
||||
description: Format as "X,Y". Shrinks textbox X pixels from the top and Y from bottom.
|
||||
name: popout art 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: text
|
||||
name: shrink name text
|
||||
description: Shrinks name X pixels
|
||||
type: boolean
|
||||
name: stretch art 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: text
|
||||
name: shrink typeline text
|
||||
description: Shrinks type X pixels
|
||||
type: choice
|
||||
name: nameline appearance
|
||||
description: What texture should the nameline use?
|
||||
choice: paper
|
||||
choice: black
|
||||
styling field:
|
||||
type: slider
|
||||
name: nameline opacity percentage
|
||||
description: Set the opacity percentage for the nameline. Opaque is 100, transparent is 0.
|
||||
initial: 100
|
||||
styling field:
|
||||
type: choice
|
||||
name: aliasline appearance
|
||||
description: What texture should the aliasline use?
|
||||
choice: paper
|
||||
choice: black
|
||||
styling field:
|
||||
type: slider
|
||||
name: aliasline opacity percentage
|
||||
description: Set the opacity percentage for the aliasline. Opaque is 100, transparent is 0.
|
||||
initial: 100
|
||||
styling field:
|
||||
type: choice
|
||||
name: typeline appearance
|
||||
description: What texture should the typeline use?
|
||||
choice: paper
|
||||
choice: black
|
||||
styling field:
|
||||
type: slider
|
||||
name: typeline opacity percentage
|
||||
description: Set the opacity percentage for the typeline. Opaque is 100, transparent is 0.
|
||||
initial: 100
|
||||
styling field:
|
||||
type: choice
|
||||
name: textbox appearance
|
||||
description: What texture should the textbox use?
|
||||
choice: paper
|
||||
choice: black
|
||||
styling field:
|
||||
type: slider
|
||||
name: textbox opacity percentage
|
||||
description: Set the opacity percentage for the rules textbox. Opaque is 100, transparent is 0.
|
||||
initial: 100
|
||||
styling field:
|
||||
type: boolean
|
||||
name: extended art
|
||||
description: Should the art extend under the textbox?
|
||||
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: boolean
|
||||
name: special ptbox
|
||||
description: Use the specialized ptbox instead of the standard one.
|
||||
description: fill the sides of the card with a paper texture?
|
||||
styling field:
|
||||
type: choice
|
||||
name: default partition
|
||||
description: Should this template use a different default parition?
|
||||
choice: no override
|
||||
include file: /magic-modules.mse-include/information/choices_partition
|
||||
include file: /magic-modules.mse-include/stamps/styling_fields
|
||||
name: PT color scheme
|
||||
description: Use the selected color scheme for the PT box on two color cards. Canon is "land" on hybrid cards, "gold" otherwise.
|
||||
choice: canon
|
||||
choice: gold
|
||||
choice: hybrid
|
||||
choice: colored
|
||||
choice: land
|
||||
choice: flat
|
||||
initial: canon
|
||||
styling field:
|
||||
type: choice
|
||||
name: legend crown
|
||||
description: Use the legend crown?
|
||||
choice: yes
|
||||
choice: if legendary
|
||||
choice: no
|
||||
initial: if legendary
|
||||
|
||||
include file: /magic-modules.mse-include/rarities/styling_fields
|
||||
|
||||
include file: /magic-modules.mse-include/watermarks/styling_fields
|
||||
|
||||
include file: /magic-modules.mse-include/foils/styling_fields
|
||||
|
||||
styling field:
|
||||
type: choice
|
||||
name: border
|
||||
description: Use a border?
|
||||
choice: yes
|
||||
choice: only copyright
|
||||
choice: fade
|
||||
choice: no
|
||||
initial: only copyright
|
||||
|
||||
include file: /magic-modules.mse-include/information/styling_fields
|
||||
|
||||
styling field:
|
||||
type: package choice
|
||||
name: casting cost mana symbols
|
||||
description: Mana symbols used for casting cost, name, banner, fuse and transformation reminder.
|
||||
match: magic-mana-*.mse-symbol-font
|
||||
initial: magic-mana-small-strixhaven.mse-symbol-font
|
||||
styling field:
|
||||
type: package choice
|
||||
name: text box mana symbols
|
||||
description: Mana symbols used inside rule text.
|
||||
match: magic-mana-*.mse-symbol-font
|
||||
initial: magic-mana-small.mse-symbol-font
|
||||
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: unsorted casting cost
|
||||
description: Disables automatic mana symbol sorting.
|
||||
initial: no
|
||||
styling field:
|
||||
type: boolean
|
||||
name: ancestral mana symbols
|
||||
name: use ancestral mana symbols
|
||||
description: Enables ancestral's modified generic mana.
|
||||
initial: no
|
||||
styling field:
|
||||
type: boolean
|
||||
name: colored multicolor land name
|
||||
description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards.
|
||||
styling field:
|
||||
type: boolean
|
||||
name: use guild mana symbols
|
||||
@@ -199,123 +336,108 @@ 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: text box mana symbols
|
||||
match: magic-mana-*.mse-symbol-font
|
||||
initial: magic-mana-small.mse-symbol-font
|
||||
styling field:
|
||||
type: package choice
|
||||
name: casting cost mana symbols
|
||||
match: magic-mana-*.mse-symbol-font
|
||||
initial: magic-mana-small-strixhaven.mse-symbol-font
|
||||
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: masterpiece
|
||||
description: Is this card a Masterpiece?
|
||||
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: choice
|
||||
name: corners
|
||||
description: What should the corners of the card look like?
|
||||
include file: /magic-modules.mse-include/corners/choices
|
||||
initial: rounded and antialiased
|
||||
include file: /magic-modules.mse-include/fonts/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
|
||||
initial: modern
|
||||
styling style:
|
||||
use ancestral mana symbols:
|
||||
choice images:
|
||||
yes: /magic-modules.mse-include/symbol-fonts/generic_ancestral.png
|
||||
no: /magic-modules.mse-include/symbol-fonts/generic_normal.png
|
||||
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
|
||||
yes: /magic-modules.mse-include/symbol-fonts/hybrid_guild.png
|
||||
no: /magic-modules.mse-include/symbol-fonts/hybrid_normal.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") }
|
||||
modern: /magic-modules.mse-include/symbol-fonts/tap_new.png
|
||||
old: /magic-modules.mse-include/symbol-fonts/tap_old.png
|
||||
diagonal T: /magic-modules.mse-include/symbol-fonts/tap_older.png
|
||||
|
||||
include file: /magic-modules.mse-include/fonts/styling_fields
|
||||
|
||||
############################################################## Card fields
|
||||
include file: /magic-modules.mse-include/corners/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/watermarks/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/alias/card_fields_under
|
||||
|
||||
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
|
||||
|
||||
#include file: /magic-modules.mse-include/alias/card_fields_under
|
||||
|
||||
card style:
|
||||
############################# Alias
|
||||
alias:
|
||||
left: 151
|
||||
top: 132
|
||||
width: 442
|
||||
height: 24
|
||||
alignment: center middle shrink-overflow
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin-Italic
|
||||
size: { alias_font_size(face:1) }
|
||||
style: bold
|
||||
weight: bold
|
||||
color: {if styling.aliasline_appearance == "black" then "white" else "black"}
|
||||
############################# Background stuff
|
||||
border color:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 150
|
||||
visible: { styling.border != "no" }
|
||||
mask: { "border_" + (if styling.border == "only copyright" then "borderless_" else if styling.border == "fade" then "fade_" else "extended_") + "mask.png" }
|
||||
card color:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 200
|
||||
render style: image
|
||||
popup style: in place
|
||||
image: { card_background() }
|
||||
mask: frame_mask.png
|
||||
render style: image
|
||||
image: { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, multicolor_blend: "mask", hybrid_blend: "white", artifact_blend: "mask") }
|
||||
mask: card_mask.png
|
||||
############################# Image
|
||||
image:
|
||||
left: 0
|
||||
top: 64
|
||||
width: 375
|
||||
height: { if styling.extended_art then 397 else 225 }
|
||||
left: { art_left() }
|
||||
top: { art_top() }
|
||||
width: { art_width() }
|
||||
bottom: { art_bottom() }
|
||||
z index: 100
|
||||
default: {default_image(card.card_color)}
|
||||
mask: {if styling.extended_art then "imagemask.png" else ""}
|
||||
mask: { art_mask() }
|
||||
mainframe image:
|
||||
left: { popout_left() }
|
||||
top: { popout_top() }
|
||||
width: { popout_width() }
|
||||
height: { popout_height() }
|
||||
z index: 1000
|
||||
############################# Text box
|
||||
text:
|
||||
left: 29
|
||||
top: {329-(-chop_top())}
|
||||
width: 314
|
||||
bottom: {483-chop_bot()}
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
size: 14
|
||||
scale down to: 6
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 14
|
||||
scale down to: 6
|
||||
left: 67
|
||||
top: { 660 + chop_top() + body_font_vertical() }
|
||||
right: { 677 - chop_right() }
|
||||
bottom: { 949 - (if is_stamped() then 10 else 0) - chop_bottom() }
|
||||
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
|
||||
@@ -325,86 +447,182 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 900
|
||||
padding left: 6
|
||||
padding right: 4
|
||||
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
|
||||
font:
|
||||
name: { body_font() }
|
||||
italic name: { body_font_italic() }
|
||||
size: { body_font_size() }
|
||||
scale down to: 7
|
||||
color: { body_font_color() }
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: { body_font_size() }
|
||||
scale down to: 7
|
||||
############################# PT
|
||||
pt:
|
||||
left: 292
|
||||
top: 467
|
||||
width: 60
|
||||
height: 28
|
||||
left: { if styling.PT_color_scheme == "flat" then 601 else 590 }
|
||||
top: { (if styling.PT_color_scheme == "flat" then 938 else 956) + pt_font_vertical() }
|
||||
width: { if styling.PT_color_scheme == "flat" then 79 else 90 }
|
||||
height: { if styling.PT_color_scheme == "flat" then 34 else 33 }
|
||||
z index: 900
|
||||
alignment: center middle shrink-overflow
|
||||
font:
|
||||
name: Beleren Bold
|
||||
size: 15
|
||||
color: black
|
||||
name: { pt_font() }
|
||||
size: { pt_font_size() }
|
||||
color: { pt_font_color() }
|
||||
separator color: red
|
||||
|
||||
############################################################## Extra card fields
|
||||
|
||||
extra card field:
|
||||
type: choice
|
||||
name: name box
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: name box
|
||||
extra card field:
|
||||
type: choice
|
||||
name: alias box
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: alias box
|
||||
extra card field:
|
||||
type: choice
|
||||
name: type box
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: type box
|
||||
extra card field:
|
||||
type: choice
|
||||
name: text box
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: text box
|
||||
extra card field:
|
||||
type: choice
|
||||
name: pt box
|
||||
script: card.card_color
|
||||
editable: false
|
||||
save value: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: foil layer
|
||||
choice: foil
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: stamp
|
||||
script: card.card_color
|
||||
show statistics: false
|
||||
editable: false
|
||||
choice: pt box
|
||||
extra card field:
|
||||
type: choice
|
||||
name: shutters
|
||||
script: card.card_color
|
||||
show statistics: false
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: shutters
|
||||
extra card field:
|
||||
type: choice
|
||||
name: crown
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: crown
|
||||
extra card field:
|
||||
type: choice
|
||||
name: alias bar
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
choice: alias bar
|
||||
extra card field:
|
||||
type: color
|
||||
name: stamp border
|
||||
script: card.border_color
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
|
||||
extra card style:
|
||||
pt box:
|
||||
left: { if styling.special_ptbox then 263 else 273 }
|
||||
top: { if styling.special_ptbox then 467 else 466 }
|
||||
width: { if styling.special_ptbox then 83 else 81 }
|
||||
height: { if styling.special_ptbox then 27 else 42 }
|
||||
z index: 840
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 800
|
||||
visible: { card.pt != "" }
|
||||
render style: image
|
||||
image: {if styling.special_ptbox then "pt.png" else module_ptbox()}
|
||||
foil layer:
|
||||
image:
|
||||
script:
|
||||
if styling.PT_color_scheme == "flat" then "pt.png" else (
|
||||
pure := pure_colors()
|
||||
count := length(pure)
|
||||
color := pt_colors()
|
||||
if color == "gold" and count > 1 then template("m", type: "pt")
|
||||
else if color == "land" and count > 1 then template("c", type: "pt")
|
||||
else if color == "hybrid" and count == 2 then masked_blend(mask: "special_blend_pt.png", dark: template(pure.0, type: "pt"), light: template(pure.1, type: "pt"))
|
||||
else color_blend(type: "pt"))
|
||||
crown:
|
||||
left: 0
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 1050
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 210
|
||||
visible: { is_crowned() }
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
mask: { if is_rare() then "foil_mask_rare.png" else "foil_mask.png" }
|
||||
stamp:
|
||||
left: 165
|
||||
top: 472
|
||||
width: 46
|
||||
height: 26
|
||||
z index: 850
|
||||
visible: { card.card_stamp != "none" }
|
||||
image: { color_blend(type: "crown") }
|
||||
alias bar:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 190
|
||||
visible: { card.alias != "" }
|
||||
render style: image
|
||||
image: { "/magic-modules.mse-include/stamps/backs/" + (if stamp_shape(field:1) == "triangle" then "triangle_stamp.png" else "stamp.png") }
|
||||
image: { color_background(input: card.card_color, type: "alias", base_hybrid: card_hybrid, multicolor_blend: "mask", hybrid_blend: "white", artifact_blend: "mask") }
|
||||
stamp border:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 210
|
||||
visible: { is_stamped() and (styling.border == "yes" or styling.border == "only copyright") }
|
||||
mask: { if stamp_shape() == "triangle" then "stamp_triangle_border_mask.png" else "stamp_border_mask.png" }
|
||||
name box:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 190
|
||||
render style: image
|
||||
image: { set_alpha((if styling.nameline_appearance == "paper" then "paper" else "black") + "_namebox.png", alpha: get_alpha_percentage(styling.nameline_opacity_percentage, default: 100)) }
|
||||
alias box:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 190
|
||||
visible: { card.alias != "" }
|
||||
render style: image
|
||||
image: { set_alpha((if styling.aliasline_appearance == "paper" then "paper" else "black") + "_aliasbox.png", alpha: get_alpha_percentage(styling.aliasline_opacity_percentage, default: 100)) }
|
||||
type box:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 190
|
||||
render style: image
|
||||
image: { set_alpha((if styling.typeline_appearance == "paper" then "paper" else "black") + "_typebox.png", alpha: get_alpha_percentage(styling.typeline_opacity_percentage, default: 100)) }
|
||||
text box:
|
||||
left: 0
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 190
|
||||
render style: image
|
||||
image: { set_alpha((if styling.textbox_appearance == "paper" then "paper" else "black") + "_textbox.png", alpha: get_alpha_percentage(styling.textbox_opacity_percentage, default: 100)) }
|
||||
shutters:
|
||||
left: 0
|
||||
top: 318
|
||||
width: 375
|
||||
height: 154
|
||||
z index: 110
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 140
|
||||
visible: { (not styling.extended_art) and (styling.border == "yes" or styling.border == "only copyright") }
|
||||
render style: image
|
||||
image: shutters.png
|
||||
visible: {not styling.extended_art}
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 171 KiB |
|
Before Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 813 B |
|
Before Width: | Height: | Size: 179 KiB |
@@ -687,7 +687,7 @@ card style:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
(if card.pt != "" or card.loyalty != "" then 21 + information_secondary_offset_pt_left_1() else if card.secondary_copyright != "" or card.vorthos_box != "" then 23 else 33) * face_coordinates_map(1).width/523 +
|
||||
face_coordinates_map(1).left - information_offset_top_1()
|
||||
face_coordinates_map(1).left - information_offset_top_1() - information_copyright_offset_top_1()
|
||||
) else (
|
||||
351 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_copyright_offset_right_1()
|
||||
)
|
||||
@@ -698,7 +698,7 @@ card style:
|
||||
351 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
) else (
|
||||
(if information_secondary_shift_with_pt_1() and (card.pt != "" or card.loyalty != "") then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" or card.vorthos_box != "" then 500 else 490) * face_coordinates_map(1).height/523 +
|
||||
face_coordinates_map(1).top + information_offset_top_1()
|
||||
face_coordinates_map(1).top + information_offset_top_1() + information_copyright_offset_top_1()
|
||||
)
|
||||
width:
|
||||
script:
|
||||
@@ -730,7 +730,7 @@ card style:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
(if card.pt != "" or card.loyalty != "" then 21 + information_secondary_offset_pt_left_1() else if card.secondary_copyright != "" or card.vorthos_box != "" then 23 else 33) * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
|
||||
(if card.pt != "" or card.loyalty != "" then 21 + information_secondary_offset_pt_left_1() else if card.secondary_copyright != "" or card.vorthos_box != "" then 23 else 33) * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1() - information_copyright_offset_top_1()
|
||||
) else (
|
||||
351 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_copyright_offset_right_1()
|
||||
)
|
||||
@@ -740,7 +740,7 @@ card style:
|
||||
(
|
||||
351 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
) else (
|
||||
(if information_secondary_shift_with_pt_1() and (card.pt != "" or card.loyalty != "") then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" or card.vorthos_box != "" then 500 else 490) * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
|
||||
(if information_secondary_shift_with_pt_1() and (card.pt != "" or card.loyalty != "") then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" or card.vorthos_box != "" then 500 else 490) * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1() + information_copyright_offset_top_1()
|
||||
)
|
||||
width:
|
||||
script:
|
||||
@@ -772,7 +772,7 @@ card style:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
33 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
|
||||
33 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1() - information_copyright_offset_top_1()
|
||||
) else (
|
||||
needed := (255 + information_secondary_offset_pt_left_1() - if length(card.secondary_copyright) > 9 then 45 else if length(card.secondary_copyright) > 6 then 25 else if length(card.secondary_copyright) > 4 then 10 else 0) * face_coordinates_map(1).width/375 + face_coordinates_map(1).left
|
||||
aligned := 351 * face_coordinates_map(1).width/375 + information_copyright_offset_right_1() - (if set.automatic_copyright then card_style.auto_copyright.content_width else card_style.copyright.content_width) + face_coordinates_map(1).left
|
||||
@@ -784,7 +784,7 @@ card style:
|
||||
(
|
||||
211 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
) else (
|
||||
490 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
|
||||
490 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1() + information_copyright_offset_top_1()
|
||||
)
|
||||
width:
|
||||
script:
|
||||
@@ -820,7 +820,7 @@ card style:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
(if card.secondary_copyright == "" then 33 else if (card.copyright == "" and set.copyright == "") then 23 else 12) * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
|
||||
(if card.secondary_copyright == "" then 33 else if (card.copyright == "" and set.copyright == "") then 23 else 12) * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1() - information_copyright_offset_top_1()
|
||||
) else (
|
||||
edge_c := 351
|
||||
pt_shift := false
|
||||
@@ -859,7 +859,7 @@ card style:
|
||||
then top_c := 510 + (if information_secondary_shift_with_pt_1() and (card.pt != "" or card.loyalty != "") then 2 + information_copyright_offset_pt_top_1() else 0)
|
||||
else top_c := 500
|
||||
)
|
||||
top_c * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
|
||||
top_c * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1() + information_copyright_offset_top_1()
|
||||
)
|
||||
width:
|
||||
script:
|
||||
|
||||
@@ -61,8 +61,9 @@ information_offset_top_1 := { 0 }
|
||||
#### To shift the card number, set code and artist credit left/right:
|
||||
information_codes_offset_left_1 := { 0 }
|
||||
|
||||
#### To shift the actual copyright lines left/right:
|
||||
#### To shift the actual copyright lines left/right or up/down:
|
||||
information_copyright_offset_right_1 := { 0 }
|
||||
information_copyright_offset_top_1 := { 0 }
|
||||
|
||||
#### To shift the copyright up/down on creatures/walkers, if the pt/loyalty box is very short/tall:
|
||||
information_copyright_offset_pt_top_1 := { 0 }
|
||||
|
||||
@@ -2916,8 +2916,9 @@ face_is_rotated :=
|
||||
information_offset_top_1 := { 0 }
|
||||
#### To shift the card number, set code and artist credit left/right:
|
||||
information_codes_offset_left_1 := { 0 }
|
||||
#### To shift the actual copyright lines left/right:
|
||||
#### To shift the actual copyright lines left/right or up/down:
|
||||
information_copyright_offset_right_1 := { 0 }
|
||||
information_copyright_offset_top_1 := { 0 }
|
||||
#### To shift the copyright up/down on creatures/walkers, if the pt/loyalty box is very short/tall:
|
||||
information_copyright_offset_pt_top_1 := { 0 }
|
||||
#### To shift the secondary copyright left/right on creatures/walkers, if the pt/loyalty box is very narrow/wide:
|
||||
|
||||