sync with Full and prune

update templates to sync up with Full Pack
remove depreciated and full-pack exclusive templates
This commit is contained in:
cajun
2024-01-05 18:54:40 -06:00
parent a2e9c76161
commit 8e6d6c7198
16551 changed files with 777665 additions and 210108 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -3,7 +3,6 @@ game: magic
short name: JP Showcase
full name: Strixhaven Showcase
icon: card-sample.png
installer group: magic/m15 style/normal cards
position hint: 095
version: 2021-06-01
@@ -32,44 +31,167 @@ depends on:
card width: 375
card height: 523
card dpi: 150
####### card images from silverback_ape
####### pt image from Card Conjurer
#### https://cardconjurer.com/
############################################################## 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/" name1:"name/" name2:"name/" name3:"name/" type1:"type/" type2:"type/" type3:"type/" pt: "" stamp: "" identity: "/magic-identity-new.mse-include/"]
template_suffix := [card: "card.png" card2:"card.png" crown:"crown.png" name1:"cap.png" name2:"name.png" name3:"cap.png" type1:"cap.png" type2:"type.png" type3:"cap.png" pt: "pt.png" stamp: "stamp.jpg" identity: "identity.png"]
template := { template_prefix[type] + input + template_suffix[type] }
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + template_suffix[type] }
template_prefix := [card: "card/", name1: "name/", name2: "name/", name3: "name/", type1: "type/", type2: "type/", type3: "type/", pt: "pt/", nonpt: "nonpt/", textbox: "textbox/", stamp: "stamp/", nonstamp: "nonstamp/", identity: "/magic-identity-new.mse-include/"]
template_suffix := [card: "card.png", name1: "cap.png", name2: "name.png", name3: "cap.png", type1: "cap.png", type2: "type.png", type3: "cap.png", pt: "pt.png", nonpt: "nonpt.png", textbox: "textbox.png", stamp: "stamp.png", nonstamp: "nonstamp.png", identity: "identity.png"]
template := { template_prefix[type] + input + template_suffix[type] }
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + template_suffix[type] }
# Use land templates for previews because they show more contrast
hybrid_previews := "land,hybrid"
card_hybrid_2_wide :=
{
linear_blend(
image1: template(colors[0]),
image2: template(colors[1]),
x1: 0.15, y1: 0
x2: 0.85, y2: 0
)
}
name_hybrid := [
radial: card_hybrid["radial"]
vertical: card_hybrid["vertical"]
horizontal: [
1: card_hybrid["horizontal"][1]
2: card_hybrid_2_wide
3: card_hybrid["horizontal"][3]
4: card_hybrid["horizontal"][4]
5: card_hybrid["horizontal"][5]
6: card_hybrid["horizontal"][6]
7: card_hybrid["horizontal"][7]
]
overlay: card_hybrid["overlay"]
]
textbox_hybrid_2 :=
{
linear_blend(
image1: shorten_textbox_image(template( colors[0])),
image2: shorten_textbox_image(template( colors[1])),
x1: 0.4, y1: 0
x2: 0.6, y2: 0
)
}
radial_textbox_hybrid := [
0: { shorten_textbox_image(template( "c"))
}
1: { shorten_textbox_image(template( colors[0]))
}
2: textbox_hybrid_2
3: { linear_blend(
image1: textbox_hybrid_2( colors: colors[(to_int(offset) + 0 ) mod 3] + colors[(to_int(offset) + 1 ) mod 3] ),
x1: 0, y1: 0.55
x2: 0, y2: 0.77
image2: shorten_textbox_image(template( colors[(to_int(offset) + 2 ) mod 3] ))
)}
4: { linear_blend(
image1: textbox_hybrid_2( colors: colors[(to_int(offset) + 0 ) mod 4] + colors[(to_int(offset) + 1 ) mod 4] ),
image2: textbox_hybrid_2( colors: colors[(to_int(offset) + 3 ) mod 4] + colors[(to_int(offset) + 2 ) mod 4] ),
x1: 0, y1: 0.4
x2: 0, y2: 0.62
)}
5: { linear_blend(
image1: linear_blend(
image1: textbox_hybrid_2( colors: colors[(to_int(offset) + 0 ) mod 5] + colors[(to_int(offset) + 1 ) mod 5] ),
image2: textbox_hybrid_2( colors: colors[(to_int(offset) + 4 ) mod 5] + colors[(to_int(offset) + 2 ) mod 5] ),
x1: 0, y1: 0.19
x2: 0, y2: 0.35),
image2: shorten_textbox_image(template( colors[(to_int(offset) + 3 ) mod 5] )),
x1: 0, y1: 0.777
x2: 0, y2: 0.937
)}
]
horizontal_textbox_hybrid := [
1: { shorten_textbox_image(template( colors[0]))
}
2: textbox_hybrid_2
3: { linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 0 ) mod 3] )),
x1: 0.22, y1: 0
x2: 0.4, y2: 0
image2: linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 1 ) mod 3] )),
image2: shorten_textbox_image(template( colors[(to_int(offset) + 2 ) mod 3] )),
x1: 0.6, y1: 0
x2: 0.78, y2: 0
))}
4: { linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 0 ) mod 4] )),
x1: 0.15, y1: 0
x2: 0.31, y2: 0
image2: linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 1 ) mod 4] )),
x1: 0.42, y1: 0
x2: 0.58, y2: 0
image2: linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 2 ) mod 4] )),
image2: shorten_textbox_image(template( colors[(to_int(offset) + 3 ) mod 4] )),
x1: 0.69, y1: 0
x2: 0.85, y2: 0
)))}
5: { linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 0 ) mod 5] )),
x1: 2.0 / 15, y1: 0
x2: 4.0 / 15, y2: 0
image2: linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 1 ) mod 5] )),
x1: 5.0 / 15, y1: 0
x2: 7.0 / 15, y2: 0
image2: linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 2 ) mod 5] )),
x1: 8.0 / 15, y1: 0
x2: 10.0 / 15, y2: 0
image2: linear_blend(
image1: shorten_textbox_image(template( colors[(to_int(offset) + 3 ) mod 5] )),
image2: shorten_textbox_image(template( colors[(to_int(offset) + 4 ) mod 5] )),
x1: 11.0 / 15, y1: 0
x2: 13.0 / 15, y2: 0
))))}
]
vertical_textbox_hybrid :=
{
old_linear_blend := linear_blend
linear_blend := { old_linear_blend(x1: y1, x2: y2, y1: x1, y2: x2) }
horizontal_textbox_hybrid[color_count]()
}
overlay_textbox__hybrid := [
1: { shorten_textbox_image(template(colors[0])) }
2: { combine_blend(
image1: shorten_textbox_image(template(colors[0])),
image2: shorten_textbox_image(template(colors[1])),
combine: "symmetric overlay"
)}
]
textbox_hybrid := [
radial: radial_textbox_hybrid
horizontal: horizontal_textbox_hybrid
vertical: [
1: vertical_textbox_hybrid
2: vertical_textbox_hybrid
3: vertical_textbox_hybrid
4: vertical_textbox_hybrid
5: vertical_textbox_hybrid
6: vertical_textbox_hybrid
7: vertical_textbox_hybrid
]
overlay: overlay_textbox__hybrid
]
c1_hybrid := [
radial: [
0: { template("c") }
1: { template(colors[0]) }
2: { template(colors[0]) }
3: { template(colors[0]) }
4: { template(colors[0]) }
5: { template(colors[0]) }
6: { template(colors[0]) }
7: { template(colors[0]) }
]
vertical: [
1: { template(colors[0]) }
2: { template(colors[0]) }
3: { template(colors[0]) }
4: { template(colors[0]) }
5: { template(colors[0]) }
3: { card_hybrid.vertical[2]( colors: colors[0] + colors[2] ) }
4: { card_hybrid.vertical[2]( colors: colors[0] + colors[3] ) }
5: { card_hybrid.vertical[3]( colors: colors[0] + colors[4] + colors[3], color_count: 3 ) }
6: { template(colors[0]) }
7: { template(colors[0]) }
]
@@ -82,136 +204,46 @@ init script:
6: { template(colors[0]) }
7: { template(colors[0]) }
]
overlay: overlay_hybrid
vertical: card_hybrid.vertical
overlay: card_hybrid.overlay
]
c2_hybrid := [
radial: [
0: { template("c") }
1: { template(colors[0]) }
2: { template(colors[1]) }
3: { template(colors[1]) }
4: { template(colors[1]) }
5: { template(colors[1]) }
6: { template(colors[1]) }
7: { template(colors[1]) }
]
vertical: [
1: { template(colors[0]) }
2: { template(colors[1]) }
3: { template(colors[1]) }
4: { template(colors[1]) }
5: { template(colors[1]) }
6: { template(colors[1]) }
7: { template(colors[1]) }
3: { card_hybrid.vertical[2]( colors: colors[1] + colors[2] ) }
4: { card_hybrid.vertical[2]( colors: colors[1] + colors[2] ) }
5: { card_hybrid.vertical[3]( colors: colors[1] + colors[2] + colors[3], color_count: 3 ) }
6: { template(colors[5]) }
7: { template(colors[6]) }
]
horizontal: [
1: { template(colors[0]) }
2: { template(colors[1]) }
3: { template(colors[1]) }
4: { template(colors[1]) }
5: { template(colors[1]) }
6: { template(colors[1]) }
7: { template(colors[1]) }
]
overlay: overlay_hybrid
]
### i have no idea why card_hybrid isn't working or why i need both of these
slide_hybrid := [
radial: [
0: { template("c") }
1: { template(colors[0]) }
2: { linear_blend(
image1: template(colors[0])
image2: template(colors[1])
x1: -0.3, y1: 0
x2: 1.3, y2: 0
)}
3: { template(colors[2]) }
4: { linear_blend(
image1: template(colors[3])
image2: template(colors[2])
x1: -0.3, y1: 0
x2: 1.3, y2: 0
)}
5: { template(colors[3]) }
6: { linear_blend(
image1: template(colors[4])
image2: template(colors[3])
x1: -0.3, y1: 0
x2: 1.3, y2: 0
)}
7: { template(colors[4]) }
]
vertical: horizontal_stamp_hybrid
horizontal: [
1: { template(colors[0]) }
2: { linear_blend(
image1: template(colors[0])
image2: template(colors[1])
x1: 0, y1: 0
x2: 0, y2: 0.85
)
}
3: { template(colors[2]) }
4: { template(colors[3]) }
5: { template(colors[4]) }
6: { template(colors[5]) }
7: { template(colors[6]) }
]
overlay: overlay_hybrid
vertical: card_hybrid.vertical
overlay: card_hybrid.overlay
]
slide_hybrid2 := [
radial: [
0: { template("c") }
1: { template(colors[0]) }
2: { linear_blend(
image1: template(colors[0])
image2: template(colors[1])
x1: -0.3, y1: 0
x2: 1.3, y2: 0
)}
3: { template(colors[2]) }
4: { linear_blend(
image1: template(colors[3])
image2: template(colors[2])
x1: -0.3, y1: 0
x2: 1.3, y2: 0
)}
5: { template(colors[3]) }
6: { linear_blend(
image1: template(colors[4])
image2: template(colors[3])
x1: -0.3, y1: 0
x2: 1.3, y2: 0
)}
7: { template(colors[4]) }
]
vertical: horizontal_stamp_hybrid
horizontal: [
1: { template(colors[0]) }
2: { linear_blend(
image1: template(colors[0])
image2: template(colors[1])
x1: 0, y1: 0
x2: 0.85, y2: 0
)
}
3: { template(colors[2]) }
4: { template(colors[3]) }
5: { template(colors[4]) }
6: { template(colors[5]) }
7: { template(colors[6]) }
]
overlay: overlay_hybrid
]
card_background := { color_background(type:"card", base_hybrid:stamp_hybrid) }
name1_background := { color_background(type:"name1", base_hybrid:c1_hybrid) }
name2_background := { color_background(type:"name2", base_hybrid:slide_hybrid) }
name3_background := { color_background(type:"name3", base_hybrid:c2_hybrid) }
type1_background := { color_background(type:"type1", base_hybrid:c1_hybrid) }
type2_background := { color_background(type:"type2", base_hybrid:slide_hybrid2) }
type3_background := { color_background(type:"type3", base_hybrid:c2_hybrid) }
card_background := { color_background(type: "card", base_hybrid: card_hybrid) }@(offset:0 )
name1_background := { color_background(type: "name1", base_hybrid: c1_hybrid) }@(offset:0 )
name2_background := { color_background(type: "name2", base_hybrid: name_hybrid) }@(offset:0 )
name3_background := { color_background(type: "name3", base_hybrid: c2_hybrid) }@(offset:0 )
type1_background := { color_background(type: "type1", base_hybrid: c1_hybrid) }@(offset:0 )
type2_background := { color_background(type: "type2", base_hybrid: card_hybrid) }@(offset:0 )
type3_background := { color_background(type: "type3", base_hybrid: c2_hybrid) }@(offset:0 )
card_ptbox := { color_background(type: "pt", base_hybrid: card_hybrid) }@(offset:0 )
card_nonptbox := { color_background(type: "nonpt", base_hybrid: card_hybrid) }@(offset:0 )
card_stamp := { color_background(type: "stamp", base_hybrid: card_hybrid) }@(offset:0 )
card_nonstamp := { color_background(type: "nonstamp", base_hybrid: card_hybrid) }@(offset:0 )
card_textbox := { color_background(type: "textbox", base_hybrid: textbox_hybrid) }@(offset:0 )
# Use the normal tap symbol
mana_t := {
if styling.tap_symbol == "old" then "old"
@@ -243,6 +275,54 @@ init script:
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
un_png := replace@(match:".png", replace: "")
jp_name_length := {card_style.name.content_height * length(card.name)}
shown_cr := {if set.automatic_copyright then set.copyright != "" else card.copyright != ""}
enlarge_in_pixels :=
{
widthf := to_number(current_width)
heightf := to_number(current_height)
leftf := to_number(left)
rightf := to_number(right)
topf := to_number(top)
bottomf := to_number(bottom)
h_factor := max(leftf, rightf)/widthf
v_factor := max(topf, bottomf)/heightf
factor := max(h_factor, v_factor)
enlarged_image := enlarge(input, border_size: factor)
width_increase := factor*widthf
height_increase := factor*heightf
left_excess := width_increase - leftf
right_excess := width_increase - rightf
top_excess := height_increase - topf
bottom_excess := height_increase - bottomf
new_width := widthf + leftf + rightf
new_height := heightf + topf + bottomf
crop(enlarged_image, offset_x: left_excess, offset_y: top_excess, width: new_width, height: new_height)
}
shorten_textbox_amount :=
{
amount := if styling.shorten_textbox == "-" then 0 else to_int(styling.shorten_textbox)
if amount < 0 then amount := 0
if amount > 120 then amount := 120
amount
}
shorten_textbox_image:=
{
shorten := shorten_textbox_amount()
height := 139 - shorten
top := 320 + shorten
cropped := crop(input, width: 375, height: height, offset_x: 0, offset_y: 320)
enlarge_in_pixels(cropped, current_width: 375, current_height: height, left: 0, right: 0, top: top, bottom: 64)
}
############################################################## Set info fields
set info style:
symbol:
@@ -262,6 +342,10 @@ styling field:
type: text
name: text chops
description: Format as "X,Y". Shrinks textbox X pixels from the top and Y from bottom.
styling field:
type: text
name: shorten textbox
description: Shrinks textbox frame X pixels from the top.
styling field:
type: text
name: shrink name text
@@ -270,6 +354,10 @@ styling field:
type: text
name: shrink typeline text
description: Shrinks type X pixels
styling field:
type: text
name: popout image style
description: The styling instructions for the popout image field, formatted as "left,top,width,height,". The text MUST end with a comma.
styling field:
type: boolean
name: use holofoil stamps
@@ -284,10 +372,6 @@ styling field:
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: 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
@@ -298,10 +382,6 @@ styling field:
name: 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
@@ -343,6 +423,14 @@ styling field:
name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no
styling field:
type: color
name: copyright text color
description: Color of the copyright, illustrator, and set code text.
choice: white
choice: black
initial: white
allow custom: true
styling field:
type: package choice
name: overlay
@@ -373,6 +461,13 @@ styling style:
############################################################## Card fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 375
height: 523
z index: -1
mask: { "border_mask" + (if card.pt != "" then "_pt" else "") + ".png" }
card color:
left: 0
top: 0
@@ -385,7 +480,7 @@ card style:
mask: frame_mask.png
############################# Name line
name:
left: 48
left: 49
top: {if styling.language == "Japanese" then 550 else 42}
width: {max(37, card_style.name.content_width+10)}
height: 22
@@ -422,27 +517,34 @@ card style:
left: 0
top: 0
width: 375
height: 486
z index: -1
height: 494
z index: -2
default: {default_image(card.card_color)}
mask: image_mask.png
mainframe image:
left: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).0 else "0"}
top: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).1 else "0"}
width: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).2 else "0"}
height: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).3 else "0"}
z index: 1000
############################# Card type
indicator:
left: 28
top: 301
left: 30
top: { 296 + shorten_textbox_amount() }
width: 17
height: 17
z index: 1
z index: 2
render style: image
visible: { has_identity() }
image: { card_identity() }
type:
left: 32
top: {shrink_type() + 292 }
width: { max(105, card_style.type.content_width) }
left: { if styling.color_indicator_dot then 51 else 32 }
top: { 292 + shrink_type() + shorten_textbox_amount() }
width: { min(263-if styling.color_indicator_dot then 19 else 0,max(105, card_style.type.content_width)) }
height: { 19 - shrink_type() }
alignment: top center shrink-overflow
z index: 2
z index: 3
padding top: 2
font:
name: Beleren Bold
@@ -451,7 +553,7 @@ card style:
separator color: red
rarity:
right: 344
top: 298
top: { 298 + shorten_textbox_amount() }
width: 44
height: 22
z index: 2
@@ -492,9 +594,9 @@ card style:
############################# Text box
text:
left: 32
top: {324-(-chop_top())}
top: { 324 - (-chop_top()) + shorten_textbox_amount() }
width: 314
bottom: {478-chop_bot()}
bottom: { 478 - chop_bot() }
font:
name: MPlantin
italic name: MPlantin-Italic
@@ -523,10 +625,10 @@ card style:
line height hard max: {if is_modal(card.rule_text) then 1.0 else 1.3 }
line height line max: 1.6
watermark:
left: 25
top: 338
width: 324
height: 139
left: 15
top: { 338 + shorten_textbox_amount() }
width: 344
height: { 139 - shorten_textbox_amount() }
z index: 1
render style: image
popup style: in place
@@ -535,10 +637,10 @@ card style:
############################# PT
pt:
z index: 2
left: 292
left: 302
top: 467
width: 60
height: 28
width: 41
height: 29
alignment: center middle shrink-overflow
font:
name: Beleren Bold
@@ -555,7 +657,7 @@ card style:
font:
name: Relay-Medium
size: 7
color: white
color: { styling.copyright_text_color }
weight: bold
############################# Copyright stuff
illustrator:
@@ -567,7 +669,7 @@ card style:
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
color: { styling.copyright_text_color }
copyright:
right: 350
top: { if card.pt != "" then 500 else 493 }
@@ -579,7 +681,7 @@ card style:
font:
name: Matrix
size: 7
color: white
color: { styling.copyright_text_color }
weight: bold
############################################################## Extra card fields
extra card field:
@@ -603,6 +705,12 @@ extra card field:
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: text box
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: name bar 1
@@ -639,22 +747,23 @@ extra card field:
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: foil stamp
choice: stamp
save value: false
editable: false
extra card field:
type: choice
name: foil layer
choice: foil
save value: false
editable: false
extra card field:
type: color
name: stamp border
script: card.border_color
editable: false
show statistics: false
extra card field:
type: choice
name: stamp
script: card.card_color
editable: false
show statistics: false
extra card field:
type: text
@@ -674,6 +783,12 @@ extra card field:
type: text
name: jp name
script: forward_editor(field: card.name)
extra card field:
type: text
name: vorthos box
save value: true
editable: true
description: Where they put mtgstory.com on story spotlights.
extra card style:
card code:
left: 24
@@ -684,7 +799,7 @@ extra card style:
font:
name: Relay-Medium
size: 7
color: white
color: { styling.copyright_text_color }
weight: bold
artist arrow:
left: { 28 + card_style.set_code.content_width }
@@ -693,46 +808,57 @@ extra card style:
height: 7
z index: 1
render style: image
image: artist_arrow.png
image: { recolor_image("artist_arrow.png", color: styling.copyright_text_color) }
pt box:
left: 263
top: 467
width: 83
height: 27
left: 0
top: 0
width: 375
height: 523
z index: 1
visible: { card.pt != "" }
render style: image
image: pt.png
image: { if card.pt != "" then card_ptbox() else card_nonptbox() }
text box:
#left: 27
#top: { 320 + shorten_textbox_amount() }
#width: 321
#height: { 139 - shorten_textbox_amount() }
left: 0
top: 0
width: 375
height: 523
z index: 1
render style: image
image:{ card_textbox() }
name bar 1:
left: 28
top: {if styling.language == "Japanese" then 24 else 80}
width: 56
height: 22
left: {if styling.language == "Japanese" then 83 else 28}
top: 24
width: 22
height: 56
z index: 1
render style: image
image: {name1_background()}
angle: {if styling.language == "Japanese" then 0 else 90}
angle: {if styling.language == "Japanese" then -90 else 0}
name bar 2:
left: {if styling.language == "Japanese" then 28 else 50}
top: {if styling.language == "Japanese" then 46 else 80}
width: 56
height: {if styling.language == "Japanese" then max(34, jp_name_length()-20) else card_style.name.content_width}
left: {if styling.language == "Japanese" then 83 else 50}
top: {if styling.language == "Japanese" then 46 else 24}
width: {if styling.language == "Japanese" then max(34, jp_name_length()-20) else card_style.name.content_width}
height: 56
z index: 1
render style: image
image: {name2_background()}
angle: {if styling.language == "Japanese" then 0 else 90}
angle: {if styling.language == "Japanese" then -90 else 0}
name bar 3:
left: {if styling.language == "Japanese" then 28 else 50+card_style.name.content_width-3.4}
top: {if styling.language == "Japanese" then 46 + max(34, jp_name_length()-20)-0.5 else 80}
width: 56
height: 22
left: {if styling.language == "Japanese" then 83 else 50+card_style.name.content_width-0.4}
top: {if styling.language == "Japanese" then 46 + max(34, jp_name_length()-20)-0.5 else 24}
width: 22
height: 56
z index: 1
render style: image
image: {flip_vertical(name3_background())}
angle: {if styling.language == "Japanese" then 0 else 90}
image: {flip_horizontal(name3_background())}
angle: {if styling.language == "Japanese" then -90 else 0}
type bar 1:
left: 22
top: 289
top: { 289 + shorten_textbox_amount() }
width: 15
height: 30
z index: 1
@@ -740,15 +866,15 @@ extra card style:
image: {type1_background()}
type bar 2:
left: 37
top: 289
width: {max(96, card_style.type.content_width)}
top: { 289 + shorten_textbox_amount() }
width: {min(254,max(96, card_style.type.content_width+(if styling.color_indicator_dot then 19 else 0)))}
height: 30
z index: 1
render style: image
image: {type2_background()}
type bar 3:
left: {37+max(96, card_style.type.content_width)-0.4}
top: 289
left: {37+min(254,max(96, card_style.type.content_width+(if styling.color_indicator_dot then 19 else 0)))-0.4}
top: { 289 + shorten_textbox_amount() }
width: 15
height: 30
z index: 1
@@ -762,25 +888,23 @@ extra card style:
z index: 3
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
mask: { "foil_mask" + (if card.pt != "" then "_pt" else "") + (if is_rare() and styling.use_holofoil_stamps then "_rare" else "") + ".png" }
stamp border:
left: 0
top: 0
width: 375
height: 523
z index: 1
visible: { is_rare() and styling.use_holofoil_stamps }
mask: stamp_mask.png
stamp:
left: 0
top: 0
width: 375
height: 523
z index: 1
render style: image
image: stamp.png
foil stamp:
left: 165
top: 472
width: 46
height: 26
z index: 2
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: foil_stamp.png
image: { if is_rare() and styling.use_holofoil_stamps then card_stamp() else card_nonstamp() }
auto copyright:
right: 350
top: { if card.pt != "" then 500 else 493 }
@@ -792,7 +916,7 @@ extra card style:
font:
name: Matrix
size: 7
color: white
color: { styling.copyright_text_color }
weight: bold
flavor bar:
left: 0
@@ -821,3 +945,15 @@ extra card style:
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
vorthos box:
right: { if card.pt != "" then 275 else 350 }
top: {if card.pt == "" and shown_cr() then 502 else 488}
width: { 70 }
height: 10
z index: 3
alignment: middle right
font:
name: Relay-Medium
size: 7
color: { styling.copyright_text_color }
weight: bold

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB