Alias Module (#162)
@@ -1043,7 +1043,17 @@ module_nyx := {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
module_snow := { color_background(type:"snow", base_hybrid:card_hybrid, folder:template_prefix["snow"]) }
|
module_snow := { color_background(type:"snow", base_hybrid:card_hybrid, folder:template_prefix["snow"]) }
|
||||||
module_alias := { color_background(type:"alias", base_hybrid:card_hybrid, folder:template_prefix["alias"]) }
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
module_ptbox := {
|
module_ptbox := {
|
||||||
if vehicle then template_prefix["pt"] + "vpt.png"
|
if vehicle then template_prefix["pt"] + "vpt.png"
|
||||||
else color_background(type:"pt", base_hybrid:pt_hybrid, folder:template_prefix["pt"])
|
else color_background(type:"pt", base_hybrid:pt_hybrid, folder:template_prefix["pt"])
|
||||||
|
|||||||
@@ -99,6 +99,8 @@ init script:
|
|||||||
}
|
}
|
||||||
|
|
||||||
border_color_default := { rgb(246,193,19) }
|
border_color_default := { rgb(246,193,19) }
|
||||||
|
alias_colors := { rgb(246,193,19) }
|
||||||
|
alias_offset_top_1 := {-10}
|
||||||
|
|
||||||
loyalty_boxes_image_folder := { "/magic-m15-showcase-aetherdrift-first-place-walker.mse-style/loyalty/" }
|
loyalty_boxes_image_folder := { "/magic-m15-showcase-aetherdrift-first-place-walker.mse-style/loyalty/" }
|
||||||
|
|
||||||
@@ -231,6 +233,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/namelines/card_fields
|
include file: /magic-modules.mse-include/namelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ init script:
|
|||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 4 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 4 else 0 }
|
||||||
|
|
||||||
border_color_default := { rgb(246,193,19) }
|
border_color_default := { rgb(246,193,19) }
|
||||||
|
alias_colors := { rgb(246,193,19) }
|
||||||
|
|
||||||
#foil_mask_added_sections := {
|
#foil_mask_added_sections := {
|
||||||
# output := []
|
# output := []
|
||||||
@@ -199,6 +200,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -144,6 +144,8 @@ init script:
|
|||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -210,6 +212,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -178,6 +178,11 @@ init script:
|
|||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
if styling.color_scheme == "all gold" then rgb(255,226,94) else styling[color_name_map[input] + "_color"]
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {-12}
|
||||||
|
alias_mask := { alias_src + "masks/remove_outline.png" }
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -371,6 +376,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -295,6 +295,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -224,6 +224,30 @@ init script:
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/loyalty/init_script
|
include file: /magic-modules.mse-include/loyalty/init_script
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(121, 110, 102),
|
||||||
|
u: rgb(5, 70, 80),
|
||||||
|
b: rgb(32, 28, 26),
|
||||||
|
r: rgb(150, 10, 68),
|
||||||
|
g: rgb(22, 53, 17),
|
||||||
|
a: rgb(79, 74, 75),
|
||||||
|
m: rgb(119, 102, 79),
|
||||||
|
c: rgb(53, 39, 31)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {6}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -351,6 +375,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -172,6 +172,30 @@ init script:
|
|||||||
popout_width := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, minimum: 0, maximum: 1500) else 0 }
|
popout_width := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, minimum: 0, maximum: 1500) else 0 }
|
||||||
popout_height := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, minimum: 0, maximum: 2000) else 0 }
|
popout_height := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, minimum: 0, maximum: 2000) else 0 }
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(121, 110, 102),
|
||||||
|
u: rgb(5, 70, 80),
|
||||||
|
b: rgb(32, 28, 26),
|
||||||
|
r: rgb(150, 10, 68),
|
||||||
|
g: rgb(22, 53, 17),
|
||||||
|
a: rgb(79, 74, 75),
|
||||||
|
m: rgb(119, 102, 79),
|
||||||
|
c: rgb(53, 39, 31)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {6}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
include file: /magic-modules.mse-include/texts/styling_fields
|
include file: /magic-modules.mse-include/texts/styling_fields
|
||||||
@@ -242,6 +266,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
BIN
data/magic-m15-showcase-capenna-golden-age.mse-style/alias.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
@@ -78,6 +78,7 @@ init script:
|
|||||||
then 6
|
then 6
|
||||||
else 0
|
else 0
|
||||||
}
|
}
|
||||||
|
alias_offset_top_1 := {-1}
|
||||||
|
|
||||||
invert_watermark_1 := { true }
|
invert_watermark_1 := { true }
|
||||||
|
|
||||||
@@ -207,6 +208,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
@@ -363,7 +366,12 @@ extra card field:
|
|||||||
save value: false
|
save value: false
|
||||||
show statistics: false
|
show statistics: false
|
||||||
choice: girder
|
choice: girder
|
||||||
|
extra card field:
|
||||||
|
type: choice
|
||||||
|
name: alias bar gild
|
||||||
|
script: card.card_color
|
||||||
|
save value: false
|
||||||
|
editable: false
|
||||||
extra card style:
|
extra card style:
|
||||||
card background:
|
card background:
|
||||||
left: 0
|
left: 0
|
||||||
@@ -460,3 +468,13 @@ extra card style:
|
|||||||
z index: 110
|
z index: 110
|
||||||
render style: image
|
render style: image
|
||||||
image: { if is_crowned() then "crown_girder.png" else "girder.png" }
|
image: { if is_crowned() then "crown_girder.png" else "girder.png" }
|
||||||
|
alias bar gild:
|
||||||
|
left: { alias_left_1() }
|
||||||
|
top: { alias_top_1() }
|
||||||
|
width: { alias_width_1() }
|
||||||
|
height: { alias_height_1() }
|
||||||
|
z index: 881
|
||||||
|
render style: image
|
||||||
|
visible: { alias_enabled() }
|
||||||
|
image: alias.png
|
||||||
|
|
||||||
|
|||||||
@@ -79,6 +79,19 @@ init script:
|
|||||||
else 0
|
else 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(255, 255, 255),
|
||||||
|
u: rgb(6, 115, 184),
|
||||||
|
b: rgb(39, 38, 36),
|
||||||
|
r: rgb(236, 57, 37),
|
||||||
|
g: rgb(6, 120, 69),
|
||||||
|
a: rgb(239, 238, 236),
|
||||||
|
m: rgb(243, 210, 105),
|
||||||
|
c: rgb(173, 151, 137)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
|
||||||
template_prefix :=
|
template_prefix :=
|
||||||
[
|
[
|
||||||
card: "card/",
|
card: "card/",
|
||||||
@@ -211,6 +224,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
@@ -225,7 +240,7 @@ card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 200
|
z index: 220
|
||||||
popup style: in place
|
popup style: in place
|
||||||
render style: image
|
render style: image
|
||||||
image: { card_background() }
|
image: { card_background() }
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ card dpi: 258.5
|
|||||||
|
|
||||||
init script:
|
init script:
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||||
|
alias_colors := { rgb(62, 48, 44) }
|
||||||
|
|
||||||
swap_fonts_pt_default :=
|
swap_fonts_pt_default :=
|
||||||
[
|
[
|
||||||
@@ -199,6 +200,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ init script:
|
|||||||
nameline_offset_top_1 := { -14 }
|
nameline_offset_top_1 := { -14 }
|
||||||
transform_symbol_disabled_1 := { true }
|
transform_symbol_disabled_1 := { true }
|
||||||
casting_cost_offset_top_1 := { 1 }
|
casting_cost_offset_top_1 := { 1 }
|
||||||
|
alias_offset_top_1 := { 4 }
|
||||||
|
alias_offset_left_1 := {-21}
|
||||||
|
alias_offset_width_1 := { -42 }
|
||||||
|
alias_colors := { rgb(52, 44, 42) }
|
||||||
|
|
||||||
type_offset_top_1 := { -1 }
|
type_offset_top_1 := { -1 }
|
||||||
rarity_offset_top_1 := { 3 }
|
rarity_offset_top_1 := { 3 }
|
||||||
@@ -89,6 +93,18 @@ init script:
|
|||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
card_hybrid_2_h :=
|
card_hybrid_2_h :=
|
||||||
{
|
{
|
||||||
masked_blend(
|
masked_blend(
|
||||||
@@ -108,6 +124,7 @@ init script:
|
|||||||
6: horizontal_card_hybrid[6]
|
6: horizontal_card_hybrid[6]
|
||||||
7: horizontal_card_hybrid[7]
|
7: horizontal_card_hybrid[7]
|
||||||
]
|
]
|
||||||
|
|
||||||
card_hybrid :=
|
card_hybrid :=
|
||||||
[
|
[
|
||||||
radial: card_hybrid["radial"]
|
radial: card_hybrid["radial"]
|
||||||
@@ -115,7 +132,6 @@ init script:
|
|||||||
overlay: card_hybrid["overlay"]
|
overlay: card_hybrid["overlay"]
|
||||||
vertical: card_hybrid["vertical"]
|
vertical: card_hybrid["vertical"]
|
||||||
]
|
]
|
||||||
|
|
||||||
template_prefix :=
|
template_prefix :=
|
||||||
[
|
[
|
||||||
border: "border/",
|
border: "border/",
|
||||||
@@ -254,6 +270,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
BIN
data/magic-m15-showcase-eldraine-tales.mse-style/alias_mask.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
@@ -73,6 +73,34 @@ init script:
|
|||||||
]
|
]
|
||||||
|
|
||||||
card_stamp_offset_width_1 := { 1 }
|
card_stamp_offset_width_1 := { 1 }
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(250, 248, 237),
|
||||||
|
u: rgb(68, 159, 206),
|
||||||
|
b: rgb(104, 86, 116),
|
||||||
|
r: rgb(211, 74, 62),
|
||||||
|
g: rgb(155, 167, 77),
|
||||||
|
a: rgb(90, 117, 148),
|
||||||
|
m: rgb(171, 140, 29),
|
||||||
|
c: rgb(104, 86, 115)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {2}
|
||||||
|
alias_offset_width_1 := {2}
|
||||||
|
alias_offset_height_1 := {6}
|
||||||
|
alias_offset_left_1 := {23}
|
||||||
|
|
||||||
|
|
||||||
template_prefix :=
|
template_prefix :=
|
||||||
[
|
[
|
||||||
@@ -261,6 +289,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
@@ -279,7 +309,7 @@ card style:
|
|||||||
popup style: in place
|
popup style: in place
|
||||||
render style: image
|
render style: image
|
||||||
image: { card_background() }
|
image: { card_background() }
|
||||||
mask: card_mask.png
|
mask: { if alias_enabled() then "alias_mask.png" else "card_mask.png" }
|
||||||
############################# Image
|
############################# Image
|
||||||
image:
|
image:
|
||||||
left: 0
|
left: 0
|
||||||
@@ -463,3 +493,4 @@ extra card style:
|
|||||||
render style: image
|
render style: image
|
||||||
image: { card_border() }
|
image: { card_border() }
|
||||||
mask: border_mask.png
|
mask: border_mask.png
|
||||||
|
|
||||||
|
|||||||
@@ -95,6 +95,30 @@ init script:
|
|||||||
card_stamp_offset_top_1 := {5}
|
card_stamp_offset_top_1 := {5}
|
||||||
|
|
||||||
card_ptbox := { color_background(type:"pt", base_hybrid:pt_hybrid, folder:"/magic-modules.mse-include/pts/375 m15/")}
|
card_ptbox := { color_background(type:"pt", base_hybrid:pt_hybrid, folder:"/magic-modules.mse-include/pts/375 m15/")}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(253, 254, 255),
|
||||||
|
u: rgb(7, 114, 182),
|
||||||
|
b: rgb(39, 38, 36),
|
||||||
|
r: rgb(210, 68, 54),
|
||||||
|
g: rgb(14, 111, 68),
|
||||||
|
a: rgb(150, 174, 178),
|
||||||
|
m: rgb(236, 210, 135),
|
||||||
|
c: rgb(168, 151, 141)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
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: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -215,6 +239,7 @@ include file: /magic-modules.mse-include/card-symbols/card_fields
|
|||||||
include file: /magic-modules.mse-include/stamps/card_fields
|
include file: /magic-modules.mse-include/stamps/card_fields
|
||||||
include file: /magic-modules.mse-include/stamps/stamp_back
|
include file: /magic-modules.mse-include/stamps/stamp_back
|
||||||
include file: /magic-modules.mse-include/separators/card_fields
|
include file: /magic-modules.mse-include/separators/card_fields
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
BIN
data/magic-m15-showcase-ikoria-crystal.mse-style/frame_mask.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
@@ -63,6 +63,18 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(167, 157, 135),
|
||||||
|
u: rgb(49, 67, 100),
|
||||||
|
b: rgb(39, 38, 36),
|
||||||
|
r: rgb(127, 34, 23),
|
||||||
|
g: rgb(25, 73, 43),
|
||||||
|
a: rgb(71, 72, 73),
|
||||||
|
m: rgb(123, 84, 26),
|
||||||
|
c: rgb(100, 81, 51)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
transform_symbol_disabled_1 := { true }
|
transform_symbol_disabled_1 := { true }
|
||||||
casting_cost_offset_top_1 := { 1 }
|
casting_cost_offset_top_1 := { 1 }
|
||||||
nameline_offset_width_1 := { -2 }
|
nameline_offset_width_1 := { -2 }
|
||||||
@@ -192,6 +204,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
@@ -199,25 +213,25 @@ card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 0
|
z index: 500
|
||||||
mask: border_mask.png
|
mask: border_mask.png
|
||||||
card color:
|
card color:
|
||||||
left: 0
|
left: 0
|
||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 1
|
z index: 200
|
||||||
render style: image
|
render style: image
|
||||||
popup style: in place
|
popup style: in place
|
||||||
image: { card_background() }
|
image: { card_background() }
|
||||||
mask: foil_mask.png
|
mask: frame_mask.png
|
||||||
############################# Image
|
############################# Image
|
||||||
image:
|
image:
|
||||||
left: 0
|
left: 0
|
||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: 831
|
height: 831
|
||||||
z index: 10
|
z index: 100
|
||||||
mask: { "image_mask" + (if card.pt != "" then "_pt" else "") + (if is_crowned() then "_crown" else "") + ".png" }
|
mask: { "image_mask" + (if card.pt != "" then "_pt" else "") + (if is_crowned() then "_crown" else "") + ".png" }
|
||||||
mainframe image:
|
mainframe image:
|
||||||
left: { popout_left() }
|
left: { popout_left() }
|
||||||
@@ -337,7 +351,7 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 40
|
z index: 740
|
||||||
visible: { card.pt != "" }
|
visible: { card.pt != "" }
|
||||||
render style: image
|
render style: image
|
||||||
image:
|
image:
|
||||||
@@ -355,7 +369,7 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 40
|
z index: 740
|
||||||
visible: { is_crowned() }
|
visible: { is_crowned() }
|
||||||
render style: image
|
render style: image
|
||||||
image: { card_crown() }
|
image: { card_crown() }
|
||||||
@@ -375,7 +389,7 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 30
|
z index: 730
|
||||||
visible: { is_stamped() }
|
visible: { is_stamped() }
|
||||||
mask: stamp_border_mask.png
|
mask: stamp_border_mask.png
|
||||||
card stamp rim:
|
card stamp rim:
|
||||||
@@ -383,7 +397,7 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 31
|
z index: 731
|
||||||
render style: image
|
render style: image
|
||||||
image: { if is_stamped() then card_stamp() else "" }
|
image: { if is_stamped() then card_stamp() else "" }
|
||||||
nameline box:
|
nameline box:
|
||||||
@@ -391,7 +405,7 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 12
|
z index: 312
|
||||||
render style: image
|
render style: image
|
||||||
image: { set_alpha("nameline.png", alpha: get_alpha_percentage(styling.nameline_opacity_percentage, default: 65)) }
|
image: { set_alpha("nameline.png", alpha: get_alpha_percentage(styling.nameline_opacity_percentage, default: 65)) }
|
||||||
typeline box:
|
typeline box:
|
||||||
@@ -399,7 +413,7 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 12
|
z index: 312
|
||||||
render style: image
|
render style: image
|
||||||
image: { set_alpha("typeline.png", alpha: get_alpha_percentage(styling.typeline_opacity_percentage, default: 65)) }
|
image: { set_alpha("typeline.png", alpha: get_alpha_percentage(styling.typeline_opacity_percentage, default: 65)) }
|
||||||
rules box:
|
rules box:
|
||||||
@@ -407,6 +421,6 @@ extra card style:
|
|||||||
top: 0
|
top: 0
|
||||||
width: { stylesheet.card_width }
|
width: { stylesheet.card_width }
|
||||||
height: { stylesheet.card_height }
|
height: { stylesheet.card_height }
|
||||||
z index: 12
|
z index: 312
|
||||||
render style: image
|
render style: image
|
||||||
image: { set_alpha("rulesbox.png", alpha: get_alpha_percentage(styling.textbox_opacity_percentage, default: 65)) }
|
image: { set_alpha("rulesbox.png", alpha: get_alpha_percentage(styling.textbox_opacity_percentage, default: 65)) }
|
||||||
|
|||||||
@@ -53,6 +53,9 @@ init script:
|
|||||||
|
|
||||||
move_typeline := { if styling.tall_frame then 67 else 0 }
|
move_typeline := { if styling.tall_frame then 67 else 0 }
|
||||||
|
|
||||||
|
alias_colors := { rgb(32, 29, 27) }
|
||||||
|
alias_offset_top_1 := {-14}
|
||||||
|
alias_offset_text_top_1 := {-4}
|
||||||
transform_symbol_disabled_1 := { true }
|
transform_symbol_disabled_1 := { true }
|
||||||
card_symbol_offset_top_1 := { 1 }
|
card_symbol_offset_top_1 := { 1 }
|
||||||
card_symbol_offset_left_1 := { 1 }
|
card_symbol_offset_left_1 := { 1 }
|
||||||
@@ -211,6 +214,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/namelines/card_fields
|
include file: /magic-modules.mse-include/namelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
alias_colors := { rgb(32, 29, 27) }
|
||||||
transform_symbol_disabled_1 := { true }
|
transform_symbol_disabled_1 := { true }
|
||||||
nameline_offset_top_1 := { 1 }
|
nameline_offset_top_1 := { 1 }
|
||||||
nameline_offset_width_1 := { -2 }
|
nameline_offset_width_1 := { -2 }
|
||||||
@@ -210,6 +211,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
transform_symbol_disabled_1 := { true }
|
transform_symbol_disabled_1 := { true }
|
||||||
card_symbol_offset_left_1 := { 2 }
|
card_symbol_offset_left_1 := { 2 }
|
||||||
nameline_offset_top_1 := { 2 }
|
nameline_offset_top_1 := { 2 }
|
||||||
@@ -77,6 +78,19 @@ init script:
|
|||||||
|
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
||||||
@@ -181,6 +195,17 @@ init script:
|
|||||||
popout_width := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, maximum: 1500, minimum: 0) else 0 }
|
popout_width := { split := split_comma(styling.popout_image_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_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
||||||
|
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -268,6 +293,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
alias_offset_top_1 := {-2}
|
||||||
transform_symbol_disabled_1 := { true }
|
transform_symbol_disabled_1 := { true }
|
||||||
card_symbol_offset_left_1 := { 2 }
|
card_symbol_offset_left_1 := { 2 }
|
||||||
nameline_offset_width_1 := { -8 }
|
nameline_offset_width_1 := { -8 }
|
||||||
@@ -203,6 +204,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -76,6 +76,8 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
alias_offset_top_1 := {-2}
|
||||||
|
alias_colors := { rgb(196, 193, 186) }
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||||
|
|
||||||
template_prefix := [card: "card/", pt: "pt/", crown: "crown/", identity: "/magic-modules.mse-include/indicators/"]
|
template_prefix := [card: "card/", pt: "pt/", crown: "crown/", identity: "/magic-modules.mse-include/indicators/"]
|
||||||
@@ -197,6 +199,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -50,6 +50,19 @@ init script:
|
|||||||
italic: {"MPlantin-Italic"}
|
italic: {"MPlantin-Italic"}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
alias_offset_top_1 :={8}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(241, 221, 151),
|
||||||
|
u: rgb(0, 90, 149),
|
||||||
|
b: rgb(43, 40, 57),
|
||||||
|
r: rgb(157, 43, 42),
|
||||||
|
g: rgb(74, 104, 52),
|
||||||
|
a: rgb(149, 168, 178),
|
||||||
|
m: rgb(164, 104, 46),
|
||||||
|
c: rgb(104, 55, 24)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
typeline_offset_width_1 := { -2 }
|
typeline_offset_width_1 := { -2 }
|
||||||
typeline_offset_left_1 := { 1 }
|
typeline_offset_left_1 := { 1 }
|
||||||
swap_fonts_type_default :=
|
swap_fonts_type_default :=
|
||||||
@@ -225,6 +238,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ init script:
|
|||||||
]
|
]
|
||||||
|
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||||
|
alias_offset_top_1 :={-3}
|
||||||
|
alias_colors := { rgb(100, 100, 100) }
|
||||||
|
|
||||||
template_prefix := [card: "card/", pt: "pt/", crown: "crown/", identity: "/magic-modules.mse-include/indicators/"]
|
template_prefix := [card: "card/", pt: "pt/", crown: "crown/", identity: "/magic-modules.mse-include/indicators/"]
|
||||||
template_suffix := [card: "card.png", pt: "pt.png", crown: "crown.png", identity: "identity.png"]
|
template_suffix := [card: "card.png", pt: "pt.png", crown: "crown.png", identity: "identity.png"]
|
||||||
@@ -197,6 +199,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
BIN
data/magic-m15-showcase-kaldheim-dfc.mse-style/alias_mask.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 174 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
@@ -174,6 +174,23 @@ init script:
|
|||||||
transform_symbol_offset_left_2 := {-9}
|
transform_symbol_offset_left_2 := {-9}
|
||||||
transform_symbol_offset_top_1 := { if is_legend() then 4 else -7 }
|
transform_symbol_offset_top_1 := { if is_legend() then 4 else -7 }
|
||||||
transform_symbol_offset_top_2 := { if back_legend() then 4 else -7 }
|
transform_symbol_offset_top_2 := { if back_legend() then 4 else -7 }
|
||||||
|
alias_offset_top_1 := { if is_legend() then 4 else -8 }
|
||||||
|
alias_offset_top_2 := { if back_legend() then 4 else -8 }
|
||||||
|
alias_mask_1 := { "alias_mask.png" }
|
||||||
|
alias_mask_2 := { "alias_mask.png" }
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(242, 239, 233),
|
||||||
|
u: rgb(20, 110, 161),
|
||||||
|
b: rgb(47, 45, 43),
|
||||||
|
r: rgb(202, 55, 18),
|
||||||
|
g: rgb(16, 134, 68),
|
||||||
|
a: rgb(214, 216, 216),
|
||||||
|
m: rgb(229, 191, 66),
|
||||||
|
c: rgb(148, 114, 95)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -311,6 +328,7 @@ include file: /magic-modules.mse-include/stamps/card_fields
|
|||||||
include file: /magic-modules.mse-include/stamps/stamp_back
|
include file: /magic-modules.mse-include/stamps/stamp_back
|
||||||
include file: /magic-modules.mse-include/watermarks/card_fields_dfc
|
include file: /magic-modules.mse-include/watermarks/card_fields_dfc
|
||||||
include file: /magic-modules.mse-include/separators/card_fields_dfc
|
include file: /magic-modules.mse-include/separators/card_fields_dfc
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_dfc
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -104,6 +104,21 @@ init script:
|
|||||||
}@(active:false, instance:1)
|
}@(active:false, instance:1)
|
||||||
mainframe_walker := { lang_setting("is_planeswalker")(card.type) }
|
mainframe_walker := { lang_setting("is_planeswalker")(card.type) }
|
||||||
loyalty_textbox_mask := {"walker_mask.png"}
|
loyalty_textbox_mask := {"walker_mask.png"}
|
||||||
|
|
||||||
|
alias_offset_top_1 := { if is_legend() then 4 else -8 }
|
||||||
|
alias_mask_1 := { "alias_mask.png" }
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(242, 239, 233),
|
||||||
|
u: rgb(20, 110, 161),
|
||||||
|
b: rgb(47, 45, 43),
|
||||||
|
r: rgb(202, 55, 18),
|
||||||
|
g: rgb(16, 134, 68),
|
||||||
|
a: rgb(214, 216, 216),
|
||||||
|
m: rgb(229, 191, 66),
|
||||||
|
c: rgb(148, 114, 95)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -290,6 +305,7 @@ include file: /magic-modules.mse-include/stamps/stamp_back
|
|||||||
include file: /magic-modules.mse-include/watermarks/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/separators/card_fields
|
||||||
include file: /magic-modules.mse-include/loyalty/card_fields
|
include file: /magic-modules.mse-include/loyalty/card_fields
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -184,7 +184,30 @@ init script:
|
|||||||
)
|
)
|
||||||
else input
|
else input
|
||||||
}
|
}
|
||||||
|
alias_offset_top_1 := {8}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(237, 230, 190),
|
||||||
|
u: rgb(11, 130, 150),
|
||||||
|
b: rgb(109, 23, 132),
|
||||||
|
r: rgb(171, 0, 65),
|
||||||
|
g: rgb(6, 116, 2),
|
||||||
|
a: rgb(152, 208, 218),
|
||||||
|
m: rgb(254, 187, 4),
|
||||||
|
c: rgb(191, 174, 163)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
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"
|
||||||
|
)
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -318,6 +341,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/loyalty/card_fields
|
include file: /magic-modules.mse-include/loyalty/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -168,6 +168,20 @@ init script:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
alias_offset_top_1 := {-2}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(185, 174, 168),
|
||||||
|
u: rgb(27, 71, 122),
|
||||||
|
b: rgb(79, 77, 81),
|
||||||
|
r: rgb(142, 41, 49),
|
||||||
|
g: rgb(87, 118, 78),
|
||||||
|
a: rgb(146, 158, 165),
|
||||||
|
m: rgb(171, 148, 96),
|
||||||
|
c: rgb(202, 186, 169)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -294,6 +308,7 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/loyalty/card_fields
|
include file: /magic-modules.mse-include/loyalty/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -158,6 +158,11 @@ init script:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias_offset_top_1 := {-2}
|
||||||
|
alias_colors := { rgb(255, 255, 255) }
|
||||||
|
alias_offset_top_1 := {15}
|
||||||
|
alias_mask := { alias_src + "masks/remove_outline.png" }
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -284,6 +289,7 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/loyalty/card_fields
|
include file: /magic-modules.mse-include/loyalty/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
if type == "loyaltycost" then template(colors.0)
|
if type == "loyaltycost" then template(colors.0)
|
||||||
@@ -258,6 +259,19 @@ init script:
|
|||||||
else crop(input, offset_x: offset_x, offset_y: offset_y, width: width, height: height)
|
else crop(input, offset_x: offset_x, offset_y: offset_y, width: width, height: height)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -358,6 +372,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -119,6 +119,19 @@ init script:
|
|||||||
if is_stamped() then output := output + ["foil_mask_triangle.png"]
|
if is_stamped() then output := output + ["foil_mask_triangle.png"]
|
||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(248, 241, 212),
|
||||||
|
u: rgb(111, 164, 221),
|
||||||
|
b: rgb(165, 165, 166),
|
||||||
|
r: rgb(231, 115, 86),
|
||||||
|
g: rgb(123, 178, 126),
|
||||||
|
a: rgb(114, 153, 172),
|
||||||
|
m: rgb(254, 223, 134),
|
||||||
|
c: rgb(172, 167, 138)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -189,6 +202,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -110,6 +110,9 @@ init script:
|
|||||||
|
|
||||||
text_filter := text_filter + d20_filter
|
text_filter := text_filter + d20_filter
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
|
||||||
|
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -246,6 +249,7 @@ include file: /magic-modules.mse-include/information/card_fields
|
|||||||
include file: /magic-modules.mse-include/card-symbols/card_fields
|
include file: /magic-modules.mse-include/card-symbols/card_fields
|
||||||
include file: /magic-modules.mse-include/stamps/card_fields
|
include file: /magic-modules.mse-include/stamps/card_fields
|
||||||
include file: /magic-modules.mse-include/separators/card_fields
|
include file: /magic-modules.mse-include/separators/card_fields
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -99,6 +99,19 @@ init script:
|
|||||||
un_png := replace@(match:".png", replace: "")
|
un_png := replace@(match:".png", replace: "")
|
||||||
is_vehicle := {lang_setting("is_vehicle")(card.sub_type)}
|
is_vehicle := {lang_setting("is_vehicle")(card.sub_type)}
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 4 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 4 else 0 }
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(198, 188, 168),
|
||||||
|
u: rgb(20, 135, 163),
|
||||||
|
b: rgb(66, 68, 68),
|
||||||
|
r: rgb(202, 84, 59),
|
||||||
|
g: rgb(86, 162, 112),
|
||||||
|
a: rgb(170, 181, 185),
|
||||||
|
m: rgb(209, 183, 92),
|
||||||
|
c: rgb(174, 185, 188)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -223,6 +236,7 @@ include file: /magic-modules.mse-include/information/card_fields
|
|||||||
include file: /magic-modules.mse-include/stamps/card_fields
|
include file: /magic-modules.mse-include/stamps/card_fields
|
||||||
include file: /magic-modules.mse-include/rarities/card_fields
|
include file: /magic-modules.mse-include/rarities/card_fields
|
||||||
include file: /magic-modules.mse-include/separators/card_fields
|
include file: /magic-modules.mse-include/separators/card_fields
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
||||||
@@ -146,6 +147,30 @@ init script:
|
|||||||
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(240, 233, 222),
|
||||||
|
u: rgb(34, 98, 134),
|
||||||
|
b: rgb(76, 70, 80),
|
||||||
|
r: rgb(144, 25, 19),
|
||||||
|
g: rgb(84, 138, 67),
|
||||||
|
a: rgb(101, 105, 101),
|
||||||
|
m: rgb(218, 177, 0),
|
||||||
|
c: rgb(158, 129, 105)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -216,6 +241,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -108,6 +108,10 @@ init script:
|
|||||||
rarity_size := { split := split_comma(styling.rarity_offsets); (if length(split) > 2 and split.2 != "" then clamp(split.2, minimum: -52, maximum: 100) else 0) + 52 }
|
rarity_size := { split := split_comma(styling.rarity_offsets); (if length(split) > 2 and split.2 != "" then clamp(split.2, minimum: -52, maximum: 100) else 0) + 52 }
|
||||||
rarity_left := { rarity_right() - rarity_size() }
|
rarity_left := { rarity_right() - rarity_size() }
|
||||||
|
|
||||||
|
alias_colors := { rgb(252, 246, 233) }
|
||||||
|
alias_angle_1 := { -2.3 }
|
||||||
|
alias_offset_top_1 := { 18 }
|
||||||
|
alias_offset_width_1 := { -30 }
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -208,6 +212,8 @@ include file: /magic-modules.mse-include/separators/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -165,6 +165,20 @@ init script:
|
|||||||
|
|
||||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
|
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(81, 71, 78),
|
||||||
|
u: rgb(43, 46, 73),
|
||||||
|
b: rgb(30, 22, 30),
|
||||||
|
r: rgb(65, 32, 29),
|
||||||
|
g: rgb(32, 43, 33),
|
||||||
|
a: rgb(35, 31, 39),
|
||||||
|
m: rgb(73, 58, 41),
|
||||||
|
c: rgb(65, 33, 28)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
alias_mask := { alias_src + "masks/remove_outline.png" }
|
||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -233,6 +247,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
card color:
|
card color:
|
||||||
|
|||||||
@@ -171,6 +171,8 @@ init script:
|
|||||||
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height else if styling.border == "only copyright" then 927 else 563 }
|
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height else if styling.border == "only copyright" then 927 else 563 }
|
||||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
|
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
alias_offset_top_1 := {-4}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -244,6 +246,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -155,6 +155,19 @@ init script:
|
|||||||
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height else if styling.border == "only copyright" then 957 else 595 }
|
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height else if styling.border == "only copyright" then 957 else 595 }
|
||||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
|
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(216, 218, 195),
|
||||||
|
u: rgb(0, 161, 207),
|
||||||
|
b: rgb(95, 97, 99),
|
||||||
|
r: rgb(240, 46, 32),
|
||||||
|
g: rgb(66, 175, 88),
|
||||||
|
a: rgb(140, 159, 191),
|
||||||
|
m: rgb(245, 206, 66),
|
||||||
|
c: rgb(100, 74, 37)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
alias_offset_width_1 := {-6}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -228,6 +241,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 12 KiB |
@@ -1,95 +1,17 @@
|
|||||||
# Scripts for blending images
|
card_hybrid_2 := {
|
||||||
# Included by a style file in its init script
|
if mode != "mask" then linear_blend(
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Filenames and other defaults
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
mask_hybrid_with_land := { false }
|
|
||||||
mask_hybrid_with_gold := { false }
|
|
||||||
mask_multi_land_with_color := { false }
|
|
||||||
template := { input + "{type}.jpg" }
|
|
||||||
land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" }
|
|
||||||
# For what value should thumbnails of hybrids be made?
|
|
||||||
hybrid_previews := "hybrid"
|
|
||||||
# Are there templates for colored lands, land_template(...)?
|
|
||||||
colored_lands := true
|
|
||||||
trim_colors :=
|
|
||||||
replace@(match:"(, )?(multicolor|hybrid|artifact|land|horizontal|vertical|radial)", replace:"")
|
|
||||||
watermark_colors := {
|
|
||||||
if face == false then face := card.card_color
|
|
||||||
trimmed := trim_colors(face)
|
|
||||||
if trimmed == "white" then "ww"
|
|
||||||
else if trimmed == "blue" then "uu"
|
|
||||||
else if trimmed == "black" then "bb"
|
|
||||||
else if trimmed == "red" then "rr"
|
|
||||||
else if trimmed == "green" then "gg"
|
|
||||||
else if contains(face, match:"multi") or contains(face, match:"hybrid") or contains(face, match:", land") then hybrid_color(face:face)
|
|
||||||
else if contains(face, match:"artifact") then "aa"
|
|
||||||
else "cc"
|
|
||||||
}@(face:false)
|
|
||||||
hybrid_color := {
|
|
||||||
if face == false then face := card.card_color
|
|
||||||
trimmed := trim_colors(face)
|
|
||||||
if trimmed == "white, blue" then "wu"
|
|
||||||
else if trimmed == "white, black" then "wb"
|
|
||||||
else if trimmed == "white, red" then "rw"
|
|
||||||
else if trimmed == "white, green" then "gw"
|
|
||||||
else if trimmed == "blue, black" then "ub"
|
|
||||||
else if trimmed == "blue, red" then "ur"
|
|
||||||
else if trimmed == "blue, green" then "gu"
|
|
||||||
else if trimmed == "black, red" then "br"
|
|
||||||
else if trimmed == "black, green" then "bg"
|
|
||||||
else if trimmed == "red, green" then "rg"
|
|
||||||
else if trimmed == "white, blue, reversed" then "uw"
|
|
||||||
else if trimmed == "white, black, reversed" then "bw"
|
|
||||||
else if trimmed == "white, red, reversed" then "wr"
|
|
||||||
else if trimmed == "white, green, reversed" then "wg"
|
|
||||||
else if trimmed == "blue, black, reversed" then "bu"
|
|
||||||
else if trimmed == "blue, red, reversed" then "ru"
|
|
||||||
else if trimmed == "blue, green, reversed" then "ug"
|
|
||||||
else if trimmed == "black, red, reversed" then "rb"
|
|
||||||
else if trimmed == "black, green, reversed" then "bg"
|
|
||||||
else if trimmed == "red, green, reversed" then "gr"
|
|
||||||
else "mm"
|
|
||||||
}@(face:false)
|
|
||||||
########################################################################
|
|
||||||
# Combining multiple colors (hybrids)
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
card_hybrid_blend := {
|
|
||||||
linear_blend(
|
|
||||||
image1: template(colors[0])
|
image1: template(colors[0])
|
||||||
image2: template(colors[1])
|
image2: template(colors[1])
|
||||||
x1: 0.4, y1: 0
|
x1: 0.4, y1: 0
|
||||||
x2: 0.6, y2: 0
|
x2: 0.6, y2: 0
|
||||||
)
|
)
|
||||||
}
|
else masked_blend(
|
||||||
card_hybrid_2 := {
|
|
||||||
masked_blend(
|
|
||||||
light: template(colors[1])
|
light: template(colors[1])
|
||||||
dark: template(colors[0])
|
dark: template(colors[0])
|
||||||
mask: "hybrid_blend_{type}.png"
|
mask: "special_blend_{type}.png"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
overlay_hybrid := [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { combine_blend(
|
|
||||||
image1: template(colors[0]),
|
|
||||||
image2: template(colors[1]),
|
|
||||||
combine: "symmetric overlay"
|
|
||||||
)}
|
|
||||||
]
|
|
||||||
|
|
||||||
# vertical version of a horizontal hybrid
|
|
||||||
vertical_card_hybrid := {
|
|
||||||
do_linear_blend := linear_blend
|
|
||||||
linear_blend := { do_linear_blend(x1: 0, x2: 0, y1: x1, y2: x2) }
|
|
||||||
card_hybrid.horizontal[color_count]()
|
|
||||||
}
|
|
||||||
|
|
||||||
horizontal_card_hybrid := [
|
horizontal_card_hybrid := [
|
||||||
1: { template(colors[0]) }
|
1: { template(colors[0]) }
|
||||||
2: card_hybrid_2
|
2: card_hybrid_2
|
||||||
@@ -260,318 +182,6 @@ card_hybrid := [
|
|||||||
overlay: overlay_hybrid
|
overlay: overlay_hybrid
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# P/T box
|
|
||||||
########################################################################
|
|
||||||
# These are easier
|
|
||||||
|
|
||||||
horizontal_pt_hybrid := [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: -0.51, y1: 0
|
|
||||||
x2: 0.26, y2: 0
|
|
||||||
)}
|
|
||||||
4: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: -0.1, y1: 0
|
|
||||||
x2: 0.6, y2: 0
|
|
||||||
)}
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[3])
|
|
||||||
image2: template(colors[4])
|
|
||||||
x1: 0.08, y1: 0
|
|
||||||
x2: 0.65, y2: 0
|
|
||||||
)}
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[4])
|
|
||||||
image2: template(colors[5])
|
|
||||||
x1: 0.07, y1: 0
|
|
||||||
x2: 0.7, y2: 0
|
|
||||||
)}
|
|
||||||
7: {linear_blend(
|
|
||||||
image1: linear_blend(
|
|
||||||
image1: template(colors[4]),
|
|
||||||
image2: template(colors[5]),
|
|
||||||
x1: -0.2, y1: 0
|
|
||||||
x2: 0.2, y2: 0
|
|
||||||
),
|
|
||||||
image2: template(colors[6]),
|
|
||||||
x1: 0.5, y1: 0
|
|
||||||
x2: 0.7, y2: 0
|
|
||||||
)}
|
|
||||||
]
|
|
||||||
|
|
||||||
pt_hybrid := [
|
|
||||||
radial: [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { template(colors[2]) }
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0, y1: -1.5
|
|
||||||
x2: 0, y2: 0.7
|
|
||||||
)}
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0, y1: -1.5
|
|
||||||
x2: 0, y2: 0.7
|
|
||||||
)}
|
|
||||||
7: { template(colors[4]) }
|
|
||||||
]
|
|
||||||
horizontal: horizontal_pt_hybrid
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { template(colors[3]) }
|
|
||||||
5: { template(colors[4]) }
|
|
||||||
6: { template(colors[5]) }
|
|
||||||
7: { template(colors[6]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# P/T boxes of flip cards
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
flip_pt_hybrid := [
|
|
||||||
radial: [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[1]) }
|
|
||||||
4: { template(colors[1]) }
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: 0, y1: -1
|
|
||||||
x2: 0, y2: 1.8
|
|
||||||
)}
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: 0, y1: -1
|
|
||||||
x2: 0, y2: 1.8
|
|
||||||
)}
|
|
||||||
7: { template(colors[4]) }
|
|
||||||
]
|
|
||||||
horizontal: horizontal_pt_hybrid
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[0]) }
|
|
||||||
3: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[1])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 2
|
|
||||||
)}
|
|
||||||
4: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[1])
|
|
||||||
x1: 0, y1: -1.5
|
|
||||||
x2: 0, y2: 1
|
|
||||||
)}
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[1])
|
|
||||||
x1: 0, y1: -1.1
|
|
||||||
x2: 0, y2: 0.2
|
|
||||||
)}
|
|
||||||
6: { template(colors[1]) } # Probably not right
|
|
||||||
7: { template(colors[2]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
flip_pt_hybrid2 := [
|
|
||||||
radial: [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[0]) }
|
|
||||||
3: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: 0, y1: -1
|
|
||||||
x2: 0, y2: 1.1
|
|
||||||
)}
|
|
||||||
4: { template(colors[3]) }
|
|
||||||
5: { template(colors[4]) }
|
|
||||||
6: { template(colors[5]) }
|
|
||||||
7: { template(colors[5]) }
|
|
||||||
]
|
|
||||||
horizontal: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[0]) }
|
|
||||||
3: { template(colors[0]) }
|
|
||||||
4: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[1])
|
|
||||||
x1: 0.4, y1: 0
|
|
||||||
x2: 1.5, y2: 0
|
|
||||||
)}
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[1])
|
|
||||||
x1: 0.08, y1: 0
|
|
||||||
x2: 0.65, y2: 0
|
|
||||||
)}
|
|
||||||
6: { template(colors[5]) } #TODO
|
|
||||||
7: { template(colors[6]) } #TODO
|
|
||||||
]
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: 0, y1: -1
|
|
||||||
x2: 0, y2: 1.5
|
|
||||||
)}
|
|
||||||
4: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0, y1: 0.5
|
|
||||||
x2: 0, y2: 3
|
|
||||||
)}
|
|
||||||
5: { template(colors[3]) }
|
|
||||||
6: { template(colors[5]) } # Probably not right
|
|
||||||
7: { template(colors[6]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# P/T boxes for leveler cards
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
leveler_pt_hybrid := [
|
|
||||||
radial: [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 1
|
|
||||||
)}
|
|
||||||
4: { template(colors[2]) }
|
|
||||||
5: { template(colors[2]) }
|
|
||||||
6: { template(colors[2]) }
|
|
||||||
7: { template(colors[4]) }
|
|
||||||
]
|
|
||||||
horizontal: horizontal_pt_hybrid
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 1
|
|
||||||
)}
|
|
||||||
4: { template(colors[2]) }
|
|
||||||
5: { template(colors[3]) }
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[3])
|
|
||||||
image2: template(colors[4])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 0.25
|
|
||||||
)}
|
|
||||||
7: { template(colors[5]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
leveler_pt_hybrid2 := [
|
|
||||||
radial: [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { template(colors[2]) }
|
|
||||||
5: { template(colors[2]) }
|
|
||||||
6: { template(colors[2]) }
|
|
||||||
7: { template(colors[4]) }
|
|
||||||
]
|
|
||||||
horizontal: horizontal_pt_hybrid
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 1
|
|
||||||
)}
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[3])
|
|
||||||
image2: template(colors[4])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 0.75
|
|
||||||
)}
|
|
||||||
6: { template(colors[4]) }
|
|
||||||
7: { template(colors[5]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
leveler_pt_hybrid3 := [
|
|
||||||
radial: [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { template(colors[2]) }
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 1
|
|
||||||
)}
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 1
|
|
||||||
)}
|
|
||||||
7: { template(colors[4]) }
|
|
||||||
]
|
|
||||||
horizontal: horizontal_pt_hybrid
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { template(colors[3]) }
|
|
||||||
5: { linear_blend(
|
|
||||||
image1: template(colors[3])
|
|
||||||
image2: template(colors[4])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 0.5
|
|
||||||
)}
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[4])
|
|
||||||
image2: template(colors[5])
|
|
||||||
x1: 0, y1: 0
|
|
||||||
x2: 0, y2: 0.5
|
|
||||||
)}
|
|
||||||
7: { template(colors[5]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Textbox and typeline for FPM templates and Futureshifts
|
# Textbox and typeline for FPM templates and Futureshifts
|
||||||
########################################################################
|
########################################################################
|
||||||
@@ -600,403 +210,3 @@ textbox_hybrid := [
|
|||||||
]
|
]
|
||||||
overlay: overlay_hybrid
|
overlay: overlay_hybrid
|
||||||
]
|
]
|
||||||
|
|
||||||
typeline_hybrid := textbox_hybrid
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Color Identity Marking
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
identity_horizontal_hybrid := [
|
|
||||||
0: { template("c") }
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { linear_blend(
|
|
||||||
image1: template(colors[0])
|
|
||||||
image2: template(colors[1])
|
|
||||||
x1: 0.49, y1: 0.49
|
|
||||||
x2: 0.5, y2: 0.5
|
|
||||||
)}
|
|
||||||
3: {masked_blend(light: masked_blend(light: template(colors[0]), dark: template(colors[2]), mask: "/magic-modules.mse-include/indicators/imask_32.png"), dark: template(colors[1]), mask: "/magic-modules.mse-include/indicators/imask_33.png")}
|
|
||||||
4: {masked_blend(
|
|
||||||
light: masked_blend(
|
|
||||||
light: masked_blend(light: template(colors[1]), dark: template(colors[0]), mask: "/magic-modules.mse-include/indicators/imask_42.png"),
|
|
||||||
dark: template(colors[2]),
|
|
||||||
mask: "/magic-modules.mse-include/indicators/imask_43.png")
|
|
||||||
dark: template(colors[3]),
|
|
||||||
mask: "/magic-modules.mse-include/indicators/imask_44.png"
|
|
||||||
)}
|
|
||||||
5: {masked_blend(
|
|
||||||
light: masked_blend(
|
|
||||||
light: masked_blend(
|
|
||||||
light: masked_blend(
|
|
||||||
light: template(colors[0]),
|
|
||||||
dark: template(colors[4]),
|
|
||||||
mask: "/magic-modules.mse-include/indicators/imask_52.png"),
|
|
||||||
dark: template(colors[1]),
|
|
||||||
mask: "/magic-modules.mse-include/indicators/imask_53.png"),
|
|
||||||
dark: template(colors[2]),
|
|
||||||
mask: "/magic-modules.mse-include/indicators/imask_54.png"),
|
|
||||||
dark: template(colors[3]),
|
|
||||||
mask: "/magic-modules.mse-include/indicators/imask_55.png")
|
|
||||||
}
|
|
||||||
6: { template("m") }
|
|
||||||
]
|
|
||||||
|
|
||||||
identity_hybrid := [
|
|
||||||
radial: identity_horizontal_hybrid
|
|
||||||
vertical: identity_horizontal_hybrid
|
|
||||||
horizontal: identity_horizontal_hybrid
|
|
||||||
overlay: identity_horizontal_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Promo Stamp
|
|
||||||
########################################################################
|
|
||||||
# These are easier
|
|
||||||
|
|
||||||
horizontal_stamp_hybrid := [
|
|
||||||
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[1]) }
|
|
||||||
4: { linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
image2: template(colors[2])
|
|
||||||
x1: -0.3, y1: 0
|
|
||||||
x2: 1.3, y2: 0
|
|
||||||
)}
|
|
||||||
5: {linear_blend(
|
|
||||||
image1: template(colors[1])
|
|
||||||
x1: -0.55, y1: 0
|
|
||||||
x2: 0.2, y2: 0
|
|
||||||
image2: linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
x1: 0.8, y1: 0
|
|
||||||
x2: 1.55, y2: 0
|
|
||||||
image2: template(colors[3])
|
|
||||||
))}
|
|
||||||
6: { linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
image2: template(colors[3])
|
|
||||||
x1: 0.1, y1: 0
|
|
||||||
x2: 0.9, y2: 0
|
|
||||||
)}
|
|
||||||
7: {linear_blend(
|
|
||||||
image1: template(colors[2])
|
|
||||||
x1: -0.55, y1: 0
|
|
||||||
x2: 0.2, y2: 0
|
|
||||||
image2: linear_blend(
|
|
||||||
image1: template(colors[3])
|
|
||||||
x1: 0.8, y1: 0
|
|
||||||
x2: 1.55, y2: 0
|
|
||||||
image2: template(colors[4])
|
|
||||||
))}
|
|
||||||
]
|
|
||||||
|
|
||||||
stamp_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]) }
|
|
||||||
]
|
|
||||||
horizontal: horizontal_stamp_hybrid
|
|
||||||
vertical: [
|
|
||||||
1: { template(colors[0]) }
|
|
||||||
2: { template(colors[1]) }
|
|
||||||
3: { template(colors[2]) }
|
|
||||||
4: { template(colors[3]) }
|
|
||||||
5: { template(colors[4]) }
|
|
||||||
6: { template(colors[5]) }
|
|
||||||
7: { template(colors[6]) }
|
|
||||||
]
|
|
||||||
overlay: overlay_hybrid
|
|
||||||
]
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Putting it all together.
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
# Determine the card background based on the card_color multiple choice options
|
|
||||||
color_background := {
|
|
||||||
|
|
||||||
# for thumbnails
|
|
||||||
if input == "hybrid" then
|
|
||||||
input := "white,blue,red,{hybrid_previews},horizontal"
|
|
||||||
else if input == "overlay" then
|
|
||||||
input := "blue,red,{hybrid_previews},overlay"
|
|
||||||
else if input == "radial" or input == "horizontal" or input == "vertical" then
|
|
||||||
input := "white,blue,red,{hybrid_previews}," + input
|
|
||||||
else if input == "reversed" then
|
|
||||||
input := "white,blue,red,{hybrid_previews},horizontal,reversed"
|
|
||||||
|
|
||||||
# What type of 'hybrid'?
|
|
||||||
land := chosen(choice:"land")
|
|
||||||
multi := chosen(choice:"multicolor")
|
|
||||||
hybrid := chosen(choice:"hybrid")
|
|
||||||
artifact := chosen(choice:"artifact")
|
|
||||||
if land and colored_lands then template := land_template # use land template instead?
|
|
||||||
|
|
||||||
# The selected colors
|
|
||||||
colors := sort_text( order: if card_is_wedge(input) then "(wbgur)" else "(wubrg)"
|
|
||||||
, (if chosen(choice:"white") then "w")
|
|
||||||
+ (if chosen(choice:"blue") then "u")
|
|
||||||
+ (if chosen(choice:"black") then "b")
|
|
||||||
+ (if chosen(choice:"red") then "r")
|
|
||||||
+ (if chosen(choice:"green") then "g"))
|
|
||||||
if multi and (hybrid or colors == "") then (
|
|
||||||
colors := colors + "m"
|
|
||||||
multi := false
|
|
||||||
)
|
|
||||||
if artifact and (hybrid or colors == "") then (
|
|
||||||
colors := colors + "a"
|
|
||||||
artifact := false
|
|
||||||
)
|
|
||||||
if chosen(choice:"reversed") then colors := reverse(colors)
|
|
||||||
color_count := number_of_items(in: colors)
|
|
||||||
if colors == "" then colors == "c"
|
|
||||||
|
|
||||||
# 'shape' / type of hybrid
|
|
||||||
shape := if chosen(choice:"horizontal") then "horizontal"
|
|
||||||
else if chosen(choice:"vertical") then "vertical"
|
|
||||||
else if chosen(choice:"overlay") then "overlay"
|
|
||||||
else "radial"
|
|
||||||
|
|
||||||
# Determine background (allows styles to hook something else here)
|
|
||||||
color_combination()
|
|
||||||
}
|
|
||||||
|
|
||||||
color_combination := {
|
|
||||||
# The base hybrid, without the outer frame blended over it
|
|
||||||
base := base_hybrid[shape][color_count]()
|
|
||||||
# Put a frame around it?
|
|
||||||
if land and not colored_lands then
|
|
||||||
masked_blend(
|
|
||||||
mask: "multicolor_blend_{type}.png",
|
|
||||||
dark: land_template("c"),
|
|
||||||
light: base,
|
|
||||||
)
|
|
||||||
else if land and multi and mask_multi_land_with_color() then
|
|
||||||
masked_blend(
|
|
||||||
mask: "hybrid_blend_{type}.png",
|
|
||||||
dark: base,
|
|
||||||
light: land_template("m"),
|
|
||||||
)
|
|
||||||
else if multi and artifact then
|
|
||||||
masked_blend(
|
|
||||||
mask: "artifact_blend_{type}.png",
|
|
||||||
dark: template("a"),
|
|
||||||
light: masked_blend(
|
|
||||||
mask: "multicolor_blend_{type}.png",
|
|
||||||
dark: template("m"),
|
|
||||||
light: base
|
|
||||||
)
|
|
||||||
)
|
|
||||||
else if multi then
|
|
||||||
masked_blend(
|
|
||||||
mask: "multicolor_blend_{type}.png",
|
|
||||||
dark: template("m"),
|
|
||||||
light: base,
|
|
||||||
)
|
|
||||||
else if artifact and color_count > 1 and mask_hybrid_with_land() then
|
|
||||||
masked_blend(
|
|
||||||
mask: "artifact_blend_{type}.png",
|
|
||||||
dark: template("a"),
|
|
||||||
light: masked_blend(
|
|
||||||
mask: "multicolor_blend_{type}.png",
|
|
||||||
dark: template("c"),
|
|
||||||
light: base
|
|
||||||
)
|
|
||||||
)
|
|
||||||
else if artifact and color_count > 1 and mask_hybrid_with_gold() then
|
|
||||||
masked_blend(
|
|
||||||
mask: "artifact_blend_{type}.png",
|
|
||||||
dark: template("a"),
|
|
||||||
light: masked_blend(
|
|
||||||
mask: "multicolor_blend_{type}.png",
|
|
||||||
dark: template("m"),
|
|
||||||
light: base
|
|
||||||
)
|
|
||||||
)
|
|
||||||
else if artifact then
|
|
||||||
masked_blend(
|
|
||||||
mask: "artifact_blend_{type}.png",
|
|
||||||
dark: template("a"),
|
|
||||||
light: base,
|
|
||||||
)
|
|
||||||
else if color_count > 1 and mask_hybrid_with_land() then
|
|
||||||
masked_blend(
|
|
||||||
mask: "hybrid_blend_{type}.png",
|
|
||||||
dark: land_template("c"),
|
|
||||||
light: base,
|
|
||||||
)
|
|
||||||
else if color_count > 1 and mask_hybrid_with_gold() then
|
|
||||||
masked_blend(
|
|
||||||
mask: "hybrid_blend_{type}.png",
|
|
||||||
dark: land_template("m"),
|
|
||||||
light: base,
|
|
||||||
)
|
|
||||||
else base
|
|
||||||
}
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Specific types
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
card_background := { color_background(type:"card", base_hybrid:card_hybrid) }
|
|
||||||
card_ptbox := { color_background(type:"pt", base_hybrid:pt_hybrid) }
|
|
||||||
flip_ptbox := { color_background(type:"pt", base_hybrid:flip_pt_hybrid) }
|
|
||||||
flip_ptbox2 := { color_background(type:"pt2", base_hybrid:flip_pt_hybrid2) }
|
|
||||||
leveler_ptbox := { color_background(type:"pt", base_hybrid:leveler_pt_hybrid) }
|
|
||||||
leveler_ptbox2 := { color_background(type:"pt", base_hybrid:leveler_pt_hybrid2) }
|
|
||||||
leveler_ptbox3 := { color_background(type:"pt", base_hybrid:leveler_pt_hybrid3) }
|
|
||||||
card_textbox := { color_background(type:"textbox", base_hybrid:textbox_hybrid) }
|
|
||||||
card_typeline := { color_background(type:"typeline", base_hybrid:typeline_hybrid) }
|
|
||||||
card_identity := { color_background(type:"identity", base_hybrid:identity_hybrid) }
|
|
||||||
card_identity_2 := { color_background(type:"identity2", base_hybrid:identity_hybrid) }
|
|
||||||
card_stamp := { color_background(type:"stamp", base_hybrid:stamp_hybrid) }
|
|
||||||
card_stamp2 := { color_background(type:"stamp2", base_hybrid:stamp_hybrid) }
|
|
||||||
|
|
||||||
flip_background := {
|
|
||||||
linear_blend(
|
|
||||||
image1: card_background(top)
|
|
||||||
image2: card_background(bottom)
|
|
||||||
x1: 0, y1: 0.4
|
|
||||||
x2: 0, y2: 0.6
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Font colors
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
# For which colors is the font white?
|
|
||||||
font_colors_white := { input == "b" or input == "l" }
|
|
||||||
|
|
||||||
font_color_positions := [
|
|
||||||
radial: [0,0,0,2,3,3,4,4]
|
|
||||||
horizontal: [0,0,0,0,0,0,0,0]
|
|
||||||
vertical: [0,0,1,2,3,4,5,6]
|
|
||||||
overlay: [0,0,0,0,0,0,0,0]
|
|
||||||
]
|
|
||||||
|
|
||||||
# Determine whether light or dark fonts should be used
|
|
||||||
font_white := {
|
|
||||||
hybrid := chosen(choice:"hybrid")
|
|
||||||
artifact := chosen(choice:"artifact")
|
|
||||||
colors := sort_text( order: "(wubrg)"
|
|
||||||
, (if chosen(choice:"white") then "w")
|
|
||||||
+ (if chosen(choice:"blue") then "u")
|
|
||||||
+ (if chosen(choice:"black") then "b")
|
|
||||||
+ (if chosen(choice:"red") then "r")
|
|
||||||
+ (if chosen(choice:"green") then "g"))
|
|
||||||
+ (if artifact then "a")
|
|
||||||
font_colors_white(
|
|
||||||
if chosen(choice:"land") then "l"
|
|
||||||
else if input == "artifact, multicolor" then "a"
|
|
||||||
else if chosen(choice:"multicolor") then "m"
|
|
||||||
else if artifact and not hybrid then "a"
|
|
||||||
else if colors == "" then "c"
|
|
||||||
else colors[
|
|
||||||
font_color_positions[
|
|
||||||
if chosen(choice:"horizontal") then "horizontal"
|
|
||||||
else if chosen(choice:"vertical") then "vertical"
|
|
||||||
else if chosen(choice:"overlay") then "overlay"
|
|
||||||
else "radial"
|
|
||||||
][number_of_items(in: colors)]
|
|
||||||
]
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
font_color := { if font_white() then rgb(255,255,255) else rgb(0,0,0) }
|
|
||||||
|
|
||||||
#####Watermark Blending
|
|
||||||
watermark_hybrid:= {
|
|
||||||
linear_blend(
|
|
||||||
image1: colors[0] + input + ".png"
|
|
||||||
image2: colors[1] + input + ".png"
|
|
||||||
x1: 0.4, y1: 0
|
|
||||||
x2: 0.6, y2: 0
|
|
||||||
)
|
|
||||||
}
|
|
||||||
set_watermark_blend := {
|
|
||||||
set_alpha(
|
|
||||||
alpha: 0.75
|
|
||||||
input:
|
|
||||||
linear_blend(
|
|
||||||
image1:
|
|
||||||
masked_blend(
|
|
||||||
light: "/magic-watermarks.mse-include/sets/" + input + ".png"
|
|
||||||
dark: "/magic-watermarks.mse-include/sets/" + watermark_colors().0 + "mark.png"
|
|
||||||
mask: "/magic-watermarks.mse-include/sets/" + input + ".png"
|
|
||||||
)
|
|
||||||
image2:
|
|
||||||
masked_blend(
|
|
||||||
light: "/magic-watermarks.mse-include/sets/" + input + ".png"
|
|
||||||
dark: "/magic-watermarks.mse-include/sets/" + watermark_colors().1 + "mark.png"
|
|
||||||
mask: "/magic-watermarks.mse-include/sets/" + input + ".png"
|
|
||||||
)
|
|
||||||
x1: 0.4, y1: 0
|
|
||||||
x2: 0.6, y2: 0
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
spotlight_watermark_blend := {
|
|
||||||
if face == false then face := card.card_color
|
|
||||||
wmc := watermark_colors(face:face)
|
|
||||||
c1 := "/magic-watermarks.mse-include/spotlight/" + wmc.0 + (if contains(face, match:"land") then "l") + "spotlight.png"
|
|
||||||
c2 := "/magic-watermarks.mse-include/spotlight/" + wmc.1 + (if contains(face, match:"land") then "l") + "spotlight.png"
|
|
||||||
if contains(input, match:".png,") then (
|
|
||||||
array := split_text(input+",,", match:",")
|
|
||||||
input := array.0
|
|
||||||
l := min(to_number(array.1),500)
|
|
||||||
h := min(to_number(array.2),500)
|
|
||||||
)
|
|
||||||
if (h != 500 or l != 500) then (
|
|
||||||
c1 := crop(c1, height:h, width:l, offset_x:0, offset_y:0)
|
|
||||||
c2 := crop(c2, height:h, width:l, offset_x:0, offset_y:0)
|
|
||||||
)
|
|
||||||
set_alpha(
|
|
||||||
alpha: 0.75
|
|
||||||
input:
|
|
||||||
linear_blend(
|
|
||||||
image1:
|
|
||||||
masked_blend(
|
|
||||||
light: input
|
|
||||||
dark: c1
|
|
||||||
mask: input
|
|
||||||
)
|
|
||||||
image2:
|
|
||||||
masked_blend(
|
|
||||||
light: input
|
|
||||||
dark: c2
|
|
||||||
mask: input
|
|
||||||
)
|
|
||||||
x1: 0.4, y1: 0
|
|
||||||
x2: 0.6, y2: 0
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}@(h:500,l:500,face:false)
|
|
||||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 119 B |
|
After Width: | Height: | Size: 6.5 KiB |
@@ -1,4 +1,4 @@
|
|||||||
mse version: 2.0.0
|
mse version: 2.1.2
|
||||||
game: magic
|
game: magic
|
||||||
short name: Showcase
|
short name: Showcase
|
||||||
full name: Strixhaven Showcase
|
full name: Strixhaven Showcase
|
||||||
@@ -105,6 +105,31 @@ init script:
|
|||||||
then styling.default_partition
|
then styling.default_partition
|
||||||
else "A"
|
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"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
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]
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -253,6 +278,7 @@ include file: /magic-modules.mse-include/watermarks/card_fields
|
|||||||
include file: /magic-modules.mse-include/information/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/stamps/card_fields
|
||||||
include file: /magic-modules.mse-include/separators/card_fields
|
include file: /magic-modules.mse-include/separators/card_fields
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
card color:
|
card color:
|
||||||
|
|||||||
@@ -136,6 +136,7 @@ init script:
|
|||||||
|
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
old_card_hybrid_2 := horizontal_card_hybrid["2"]
|
old_card_hybrid_2 := horizontal_card_hybrid["2"]
|
||||||
old_card_hybrid_3 := horizontal_card_hybrid["3"]
|
old_card_hybrid_3 := horizontal_card_hybrid["3"]
|
||||||
old_card_hybrid_4 := horizontal_card_hybrid["4"]
|
old_card_hybrid_4 := horizontal_card_hybrid["4"]
|
||||||
@@ -266,6 +267,31 @@ init script:
|
|||||||
|
|
||||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
|
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
|
||||||
|
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {6}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(163, 143, 111),
|
||||||
|
u: rgb(9, 109, 137),
|
||||||
|
b: rgb(77, 60, 91),
|
||||||
|
r: rgb(181, 66, 75),
|
||||||
|
g: rgb(83, 130, 66),
|
||||||
|
a: rgb(83, 98, 104),
|
||||||
|
m: rgb(202, 147, 63),
|
||||||
|
c: rgb(132, 90, 59)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -362,6 +388,8 @@ include file: /magic-modules.mse-include/typelines/card_fields_dfc
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ init script:
|
|||||||
|
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
masked_blend(
|
masked_blend(
|
||||||
@@ -193,7 +194,30 @@ init script:
|
|||||||
art_height := { if styling.stretch_art_to_whole_card then stylesheet.card_height else 404 }
|
art_height := { if styling.stretch_art_to_whole_card then stylesheet.card_height else 404 }
|
||||||
|
|
||||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
|
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {6}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(163, 143, 111),
|
||||||
|
u: rgb(9, 109, 137),
|
||||||
|
b: rgb(77, 60, 91),
|
||||||
|
r: rgb(181, 66, 75),
|
||||||
|
g: rgb(83, 130, 66),
|
||||||
|
a: rgb(83, 98, 104),
|
||||||
|
m: rgb(202, 147, 63),
|
||||||
|
c: rgb(132, 90, 59)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -257,6 +281,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -79,9 +79,11 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
och := card_hybrid_2
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
if mode != "mask" then och
|
||||||
|
else masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
||||||
}
|
}
|
||||||
horizontal_card_hybrid :=
|
horizontal_card_hybrid :=
|
||||||
[
|
[
|
||||||
@@ -146,6 +148,7 @@ init script:
|
|||||||
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
alias_colors := { rgb(114, 116, 103) }
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -220,6 +223,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ init script:
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/loyalty/init_script
|
include file: /magic-modules.mse-include/loyalty/init_script
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
alias_offset_top_1 := {4}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -251,6 +253,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -118,6 +118,8 @@ init script:
|
|||||||
crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top())
|
crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
alias_offset_top_1 := {4}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -209,6 +211,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -126,7 +126,18 @@ init script:
|
|||||||
popout_width := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, maximum: 1500, minimum: 0) else 0 }
|
popout_width := { split := split_comma(styling.popout_image_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_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(255, 255, 255),
|
||||||
|
u: rgb(6, 115, 184),
|
||||||
|
b: rgb(39, 38, 36),
|
||||||
|
r: rgb(239, 56, 39),
|
||||||
|
g: rgb(6, 120, 69),
|
||||||
|
a: rgb(239, 238, 236),
|
||||||
|
m: rgb(243, 210, 105),
|
||||||
|
c: rgb(173, 151, 137)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -185,6 +196,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ init script:
|
|||||||
italic: {""}
|
italic: {""}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
linear_blend(
|
linear_blend(
|
||||||
@@ -164,6 +165,19 @@ init script:
|
|||||||
popout_width := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, maximum: 1500, minimum: 0) else 0 }
|
popout_width := { split := split_comma(styling.popout_image_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_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
||||||
|
|
||||||
|
alias_colors := { rgb(227, 220, 215) }
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {59}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -280,6 +294,8 @@ include file: /magic-modules.mse-include/separators/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ init script:
|
|||||||
|
|
||||||
card_stamp_offset_left_1 := { 1 }
|
card_stamp_offset_left_1 := { 1 }
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
linear_blend(
|
linear_blend(
|
||||||
@@ -164,6 +165,18 @@ init script:
|
|||||||
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
||||||
|
|
||||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 4 else 0 }
|
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 4 else 0 }
|
||||||
|
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -237,6 +250,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ init script:
|
|||||||
card_full_name_default := { if card.name_2 != "" then card.name + " " + card.name_2 else card.name }
|
card_full_name_default := { if card.name_2 != "" then card.name + " " + card.name_2 else card.name }
|
||||||
card_full_name := { if card.name_2 != "" then card.name + " " + card.name_2 else card.name }
|
card_full_name := { if card.name_2 != "" then card.name + " " + card.name_2 else card.name }
|
||||||
|
|
||||||
|
old_card_hybrid := card_hybrid
|
||||||
card_hybrid_2 :=
|
card_hybrid_2 :=
|
||||||
{
|
{
|
||||||
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
masked_blend(mask: "special_blend_card.png", dark: template(colors.0), light: template(colors.1))
|
||||||
@@ -158,6 +159,31 @@ init script:
|
|||||||
popout_width := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.2 != "" then clamp(split.2, maximum: 1500, minimum: 0) else 0 }
|
popout_width := { split := split_comma(styling.popout_image_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_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
popout_height := { split := split_comma(styling.popout_image_coordinates); if length(split) > 3 and split.3 != "" then clamp(split.3, maximum: 2000, minimum: 0) else 0 }
|
||||||
|
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(248, 245, 231),
|
||||||
|
u: rgb(123, 156, 175),
|
||||||
|
b: rgb(82, 79, 75),
|
||||||
|
r: rgb(195, 80, 68),
|
||||||
|
g: rgb(140, 160, 109),
|
||||||
|
a: rgb(156, 165, 180),
|
||||||
|
m: rgb(214, 154, 36),
|
||||||
|
c: rgb(157, 118, 99)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: old_card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "white"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {124}
|
||||||
|
alias_offset_width_1 := {-8}
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -260,6 +286,8 @@ include file: /magic-modules.mse-include/separators/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/typelines/card_fields
|
include file: /magic-modules.mse-include/typelines/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
card color:
|
card color:
|
||||||
|
|||||||
@@ -130,6 +130,32 @@ init script:
|
|||||||
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
if is_crowned() then output := output + ["foil_mask_crown.png"]
|
||||||
output
|
output
|
||||||
}@(face:1)
|
}@(face:1)
|
||||||
|
|
||||||
|
module_alias := {
|
||||||
|
template := alias_custom_template
|
||||||
|
land_template := alias_custom_land_template
|
||||||
|
color_background(
|
||||||
|
type: "alias",
|
||||||
|
base_hybrid: card_hybrid,
|
||||||
|
artifact_blend: "white",
|
||||||
|
hybrid_blend: "white",
|
||||||
|
multicolor_blend: "black"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
alias_colors := {
|
||||||
|
[
|
||||||
|
w: rgb(239, 239, 255),
|
||||||
|
u: rgb(85, 104, 155),
|
||||||
|
b: rgb(77, 78, 78),
|
||||||
|
r: rgb(218, 87, 76),
|
||||||
|
g: rgb(58, 107, 73),
|
||||||
|
a: rgb(177, 185, 194),
|
||||||
|
m: rgb(231, 222, 151),
|
||||||
|
c: rgb(229, 220, 209)
|
||||||
|
][input]
|
||||||
|
}
|
||||||
|
alias_offset_top_1 := {-2}
|
||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
styling field:
|
styling field:
|
||||||
@@ -200,6 +226,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
|||||||
|
|
||||||
include file: /magic-modules.mse-include/foils/card_fields
|
include file: /magic-modules.mse-include/foils/card_fields
|
||||||
|
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
|
|||||||
@@ -97,6 +97,9 @@ init script:
|
|||||||
un_png := replace@(match:".png", replace: "")
|
un_png := replace@(match:".png", replace: "")
|
||||||
is_vehicle := {lang_setting("is_vehicle")(card.sub_type)}
|
is_vehicle := {lang_setting("is_vehicle")(card.sub_type)}
|
||||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||||
|
|
||||||
|
alias_mask := { alias_src + "masks/remove_color.png" }
|
||||||
|
alias_offset_top_1 := {-3}
|
||||||
############################################################## Set info fields
|
############################################################## Set info fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -217,6 +220,7 @@ include file: /magic-modules.mse-include/information/card_fields
|
|||||||
include file: /magic-modules.mse-include/stamps/card_fields
|
include file: /magic-modules.mse-include/stamps/card_fields
|
||||||
include file: /magic-modules.mse-include/stamps/stamp_back
|
include file: /magic-modules.mse-include/stamps/stamp_back
|
||||||
include file: /magic-modules.mse-include/separators/card_fields
|
include file: /magic-modules.mse-include/separators/card_fields
|
||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
card style:
|
card style:
|
||||||
############################# Background stuff
|
############################# Background stuff
|
||||||
border color:
|
border color:
|
||||||
@@ -249,7 +253,7 @@ card style:
|
|||||||
height: {23 - 0.5*shrink_name()}
|
height: {23 - 0.5*shrink_name()}
|
||||||
alignment: bottom shrink-overflow
|
alignment: bottom shrink-overflow
|
||||||
padding bottom: 0
|
padding bottom: 0
|
||||||
z index: 1
|
z index: 900
|
||||||
font:
|
font:
|
||||||
name: Beleren Bold
|
name: Beleren Bold
|
||||||
size: {16 - shrink_name()}
|
size: {16 - shrink_name()}
|
||||||
@@ -268,7 +272,7 @@ card style:
|
|||||||
size: 15
|
size: 15
|
||||||
alignment: middle right
|
alignment: middle right
|
||||||
always symbol: true
|
always symbol: true
|
||||||
z index: 2
|
z index: 920
|
||||||
padding top: 0
|
padding top: 0
|
||||||
############################# Image
|
############################# Image
|
||||||
image:
|
image:
|
||||||
@@ -294,7 +298,7 @@ card style:
|
|||||||
width: { (if has_identity() then "290" else "310") - max(22,card_style.rarity.content_width) }
|
width: { (if has_identity() then "290" else "310") - max(22,card_style.rarity.content_width) }
|
||||||
height: { 20 - shrink_type() }
|
height: { 20 - shrink_type() }
|
||||||
alignment: top shrink-overflow
|
alignment: top shrink-overflow
|
||||||
z index: 2
|
z index: 900
|
||||||
padding top: 2
|
padding top: 2
|
||||||
font:
|
font:
|
||||||
name: Beleren Bold
|
name: Beleren Bold
|
||||||
@@ -306,7 +310,7 @@ card style:
|
|||||||
top: 297
|
top: 297
|
||||||
width: 44
|
width: 44
|
||||||
height: 22
|
height: 22
|
||||||
z index: 2
|
z index: 950
|
||||||
render style: image
|
render style: image
|
||||||
alignment: middle right
|
alignment: middle right
|
||||||
include file: /magic-modules.mse-include/rarities/choice_images
|
include file: /magic-modules.mse-include/rarities/choice_images
|
||||||
@@ -348,7 +352,7 @@ card style:
|
|||||||
top: 327
|
top: 327
|
||||||
width: 334
|
width: 334
|
||||||
bottom: 481
|
bottom: 481
|
||||||
z index: 1
|
z index: 720
|
||||||
render style: image
|
render style: image
|
||||||
popup style: in place
|
popup style: in place
|
||||||
alignment: middle center
|
alignment: middle center
|
||||||
@@ -356,7 +360,7 @@ card style:
|
|||||||
image: { watermark_image_1() }
|
image: { watermark_image_1() }
|
||||||
############################# PT
|
############################# PT
|
||||||
pt:
|
pt:
|
||||||
z index: 2
|
z index: 900
|
||||||
left: 286
|
left: 286
|
||||||
top: 469
|
top: 469
|
||||||
width: 60
|
width: 60
|
||||||
|
|||||||
BIN
data/magic-modules.mse-include/alias/base.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
35
data/magic-modules.mse-include/alias/card_fields
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
card style:
|
||||||
|
alias:
|
||||||
|
left: { alias_left_1() }
|
||||||
|
top: { alias_top_1() + alias_offset_text(face:1) + alias_offset_text_top_1() }
|
||||||
|
width: { alias_width_1() }
|
||||||
|
height: { alias_height_1() }
|
||||||
|
angle: { alias_angle_1() }
|
||||||
|
alignment: center middle shrink-overflow
|
||||||
|
z index: 900
|
||||||
|
font:
|
||||||
|
name: MPlantin-Italic
|
||||||
|
size: { alias_font_size(face:1) }
|
||||||
|
style: bold
|
||||||
|
weight: bold
|
||||||
|
color: white
|
||||||
|
|
||||||
|
extra card field:
|
||||||
|
type: choice
|
||||||
|
name: alias bar
|
||||||
|
script: card.card_color
|
||||||
|
save value: false
|
||||||
|
editable: false
|
||||||
|
|
||||||
|
extra card style:
|
||||||
|
alias bar:
|
||||||
|
left: { alias_left_1() }
|
||||||
|
top: { alias_top_1() }
|
||||||
|
width: { alias_width_1() }
|
||||||
|
height: { alias_height_1() }
|
||||||
|
angle: { alias_angle_1() }
|
||||||
|
z index: 880
|
||||||
|
render style: image
|
||||||
|
visible: { alias_enabled() }
|
||||||
|
image: { module_alias() }
|
||||||
|
mask: { alias_mask() }
|
||||||
36
data/magic-modules.mse-include/alias/card_fields_dfc
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
card style:
|
||||||
|
alias 2:
|
||||||
|
left: { alias_left_2() }
|
||||||
|
top: { alias_top_2() + alias_offset_text(face:2) + alias_offset_text_top_2() }
|
||||||
|
width: { alias_width_2() }
|
||||||
|
height: { alias_height_2() }
|
||||||
|
angle: { alias_angle_2() }
|
||||||
|
alignment: center middle shrink-overflow
|
||||||
|
z index: 900
|
||||||
|
font:
|
||||||
|
name: MPlantin-Italic
|
||||||
|
size: { alias_font_size(face:2) }
|
||||||
|
style: bold
|
||||||
|
weight: bold
|
||||||
|
color: white
|
||||||
|
|
||||||
|
extra card field:
|
||||||
|
type: choice
|
||||||
|
name: alias bar 2
|
||||||
|
script: card.card_color_2
|
||||||
|
save value: false
|
||||||
|
editable: false
|
||||||
|
|
||||||
|
extra card style:
|
||||||
|
alias bar 2:
|
||||||
|
left: { alias_left_2() }
|
||||||
|
top: { alias_top_2() }
|
||||||
|
width: { alias_width_2() }
|
||||||
|
height: { alias_height_2() }
|
||||||
|
angle: { alias_angle_2() }
|
||||||
|
z index: 880
|
||||||
|
render style: image
|
||||||
|
visible: { alias_enabled_2() }
|
||||||
|
image: { module_alias() }
|
||||||
|
mask: { alias_mask_2() }
|
||||||
35
data/magic-modules.mse-include/alias/card_fields_under
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
card style:
|
||||||
|
alias:
|
||||||
|
left: { alias_left_1() }
|
||||||
|
top: { alias_top_1() + alias_offset_text(face:1) + alias_offset_text_top_1() }
|
||||||
|
width: { alias_width_1() }
|
||||||
|
height: { alias_height_1() }
|
||||||
|
angle: { alias_angle_1() }
|
||||||
|
alignment: center middle shrink-overflow
|
||||||
|
z index: 900
|
||||||
|
font:
|
||||||
|
name: MPlantin-Italic
|
||||||
|
size: { alias_font_size(face:1) }
|
||||||
|
style: bold
|
||||||
|
weight: bold
|
||||||
|
color: white
|
||||||
|
|
||||||
|
extra card field:
|
||||||
|
type: choice
|
||||||
|
name: alias bar
|
||||||
|
script: card.card_color
|
||||||
|
save value: false
|
||||||
|
editable: false
|
||||||
|
|
||||||
|
extra card style:
|
||||||
|
alias bar:
|
||||||
|
left: { alias_left_1() }
|
||||||
|
top: { alias_top_1() }
|
||||||
|
width: { alias_width_1() }
|
||||||
|
height: { alias_height_1() }
|
||||||
|
angle: { alias_angle_1() }
|
||||||
|
z index: 180
|
||||||
|
render style: image
|
||||||
|
visible: { alias_enabled() }
|
||||||
|
image: { module_alias() }
|
||||||
|
mask: { alias_mask() }
|
||||||
36
data/magic-modules.mse-include/alias/card_fields_under_dfc
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
include file: /magic-modules.mse-include/alias/card_fields
|
||||||
|
card style:
|
||||||
|
alias 2:
|
||||||
|
left: { alias_left_2() }
|
||||||
|
top: { alias_top_2() + alias_offset_text(face:2) + alias_offset_text_top_2() }
|
||||||
|
width: { alias_width_2() }
|
||||||
|
height: { alias_height_2() }
|
||||||
|
angle: { alias_angle_2() }
|
||||||
|
alignment: center middle shrink-overflow
|
||||||
|
z index: 900
|
||||||
|
font:
|
||||||
|
name: MPlantin-Italic
|
||||||
|
size: { alias_font_size(face:2) }
|
||||||
|
style: bold
|
||||||
|
weight: bold
|
||||||
|
color: white
|
||||||
|
|
||||||
|
extra card field:
|
||||||
|
type: choice
|
||||||
|
name: alias bar 2
|
||||||
|
script: card.card_color_2
|
||||||
|
save value: false
|
||||||
|
editable: false
|
||||||
|
|
||||||
|
extra card style:
|
||||||
|
alias bar 2:
|
||||||
|
left: { alias_left_2() }
|
||||||
|
top: { alias_top_2() }
|
||||||
|
width: { alias_width_2() }
|
||||||
|
height: { alias_height_2() }
|
||||||
|
angle: { alias_angle_2() }
|
||||||
|
z index: 180
|
||||||
|
render style: image
|
||||||
|
visible: { alias_enabled_2() }
|
||||||
|
image: { module_alias() }
|
||||||
|
mask: { alias_mask_2() }
|
||||||
BIN
data/magic-modules.mse-include/alias/color.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |