Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,20 @@ init script:
italic: {""}
]

transform_symbol_disabled_1 := { true }
transform_symbol_image_folder := { "/" + stylesheet.folder_name + ".mse-style/transform/" }
transform_symbol_modal_uses_normal_background := { true }
transform_symbol_multicolor_blend := { if transform_symbol_is_right(card.transformation) then "white" else "black" }
transform_symbol_default_background := { "colored" }
transform_symbol_default_rim := { "none" }
transform_symbol_default_icon := { "colored" }
transform_symbol_offset_left_1 := { -7 }
transform_symbol_offset_top_1 := { 0 }
transform_symbol_icon_offset_width := { -2 }
transform_symbol_icon_offset_height := { -2 }

name_transform_symbol_offset_left_1 := { 0 }
casting_cost_transform_symbol_offset_left_1 := { 2 }

name_offset_left_1 := { -9 }
name_offset_top_1 := { 1 }
casting_cost_offset_top_1 := { -1 }
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,17 @@ init script:
italic: {""}
]

transform_symbol_disabled_1 := { true }
nameline_offset_top_1 := { -10 }

transform_symbol_modal_uses_normal_background := { true }
transform_symbol_offset_left_1 := { if transform_symbol_is_right(card.transformation) then 21 else 20 }
transform_symbol_offset_top_1 := { -1 }

name_transform_symbol_offset_left_1 := { 27 }
casting_cost_transform_symbol_offset_left_1 := { -34 }

casting_cost_offset_left_1 := { 2 }
casting_cost_offset_top_1 := { 1 }
swap_fonts_name_default :=
[
name: {"Beleren Bold"},
Expand Down Expand Up @@ -98,6 +106,10 @@ init script:
alias: "alias.png",
stamp: "stamp.png",
nonstamp: "nonstamp.png"
transforml: "transform_left.png",
nontransforml: "nontransform_left.png",
transformr: "transform_right.png",
nontransformr: "nontransform_right.png",
identity: "identity.png",
identity2: "identity.png",
]
Expand Down Expand Up @@ -135,14 +147,18 @@ init script:
}


card_background := { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_ptbox := { color_background(input: card.card_color, type: "pt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nonptbox := { color_background(input: card.card_color, type: "nonpt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nonptptbox := { color_background(input: card.card_color, type: "nonptpt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_crown := { color_background(input: card.card_color, type: "crown", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_alias := { color_background(input: card.card_color, type: "alias", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_stamp := { color_background(input: card.card_color, type: "stamp", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nonstamp := { color_background(input: card.card_color, type: "nonstamp", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_background := { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_ptbox := { color_background(input: card.card_color, type: "pt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nonptbox := { color_background(input: card.card_color, type: "nonpt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nonptptbox := { color_background(input: card.card_color, type: "nonptpt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_crown := { color_background(input: card.card_color, type: "crown", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_alias := { color_background(input: card.card_color, type: "alias", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_stamp := { color_background(input: card.card_color, type: "stamp", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nonstamp := { color_background(input: card.card_color, type: "nonstamp", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_transforml := { color_background(input: card.card_color, type: "transforml", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nontransforml := { color_background(input: card.card_color, type: "nontransforml", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_transformr := { color_background(input: card.card_color, type: "transformr", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_nontransformr := { color_background(input: card.card_color, type: "nontransformr", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }

pure_colors :=
{
Expand Down Expand Up @@ -183,6 +199,13 @@ init script:
}
alias_offset_top_1 := {-12}
alias_mask := { alias_src + "masks/remove_outline.png" }

art_left := { 0 }
art_top := { 0 }
art_width := { stylesheet.card_width }
art_height := { if styling.stretch_image_to_whole_card then stylesheet.card_height else if card.pt != "" then 985 else 952 }
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }

############################################################## Extra style options

styling field:
Expand Down Expand Up @@ -399,12 +422,12 @@ card style:
mask: card_mask.png
############################# Image
image:
left: { 0 }
top: { 0 }
width: { stylesheet.card_width }
height: { if styling.stretch_image_to_whole_card then stylesheet.card_height else if card.pt != "" then 985 else 952 }
left: { art_left() }
top: { art_top() }
width: { art_width() }
height: { art_height() }
mask: { art_mask() }
z index: 100
mask: { if styling.stretch_image_to_whole_card then "image_mask_full.png" else if card.pt != "" then "image_mask_pt.png" else "image_mask.png" }
mainframe image:
left: { popout_left() }
top: { popout_top() }
Expand Down Expand Up @@ -479,6 +502,20 @@ extra card field:
save value: false
show statistics: false
choice: non pt box
extra card field:
type: choice
name: card transform left
editable: false
save value: false
show statistics: false
choice: card transform left
extra card field:
type: choice
name: card transform right
editable: false
save value: false
show statistics: false
choice: card transform right
extra card field:
type: choice
name: card stamp rim
Expand Down Expand Up @@ -543,6 +580,22 @@ extra card style:
visible: { is_crowned() }
render style: image
image: { card_crown() }
card transform left:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 850
render style: image
image: { if transform_symbol_is_empty(card.transformation) or transform_symbol_is_right(card.transformation) then card_nontransforml() else card_transforml() }
card transform right:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 850
render style: image
image: { if transform_symbol_is_empty(card.transformation) or not transform_symbol_is_right(card.transformation) then card_nontransformr() else card_transformr() }
card stamp rim:
left: 0
top: 0
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 68 additions & 7 deletions data/magic-m15-showcase-dominaria-stained-glass.mse-style/style
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,16 @@ init script:
italic: {""}
]

transform_symbol_disabled_1 := { true }
transform_symbol_multicolor_blend := { "black" }
transform_symbol_artifact_blend := { "black" }
transform_symbol_offset_left_1 := { if transform_symbol_is_right(card.transformation) then 1 else 0 }
transform_symbol_offset_top_1 := { 0 }
transform_symbol_icon_offset_width := { 0 }
transform_symbol_icon_offset_height := { 0 }

name_transform_symbol_offset_left_1 := { -4 }
casting_cost_transform_symbol_offset_left_1 := { 0 }

card_symbol_offset_top_1 := { 1 }
casting_cost_offset_top_1 := { 1 }
nameline_offset_top_1 := { -1 }
Expand All @@ -80,15 +89,35 @@ init script:
italic: {""}
]

template_prefix := [card: "card/", pt: "pt/", crown: "crown/", stamp: "stamp/", identity: "/magic-modules.mse-include/indicators/"]
template_suffix := [card: "card.png", pt: "pt.png", crown: "crown.png", stamp: "stamp.png", identity: "identity.png"]
template_prefix :=
[
card: "card/",
pt: "pt/",
crown: "crown/",
stamp: "stamp/",
transforml: "transform_left/",
transformr: "transform_right/",
identity: "/magic-modules.mse-include/indicators/"
]
template_suffix :=
[
card: "card.png",
pt: "pt.png",
crown: "crown.png",
stamp: "stamp.png",
transforml: ".png",
transformr: ".png",
identity: "identity.png"
]
template := { template_prefix[type] + input + template_suffix[type] }
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + template_suffix[type] }

card_background := { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, hybrid_blend: "white") }
card_crown := { color_background(input: card.card_color, type: "crown", base_hybrid: card_hybrid, hybrid_blend: "white") }
card_ptbox := { color_background(input: card.card_color, type: "pt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "black", multicolor_blend: "white") }
card_stamp := { color_background(input: card.card_color, type: "stamp", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "black", multicolor_blend: "black") }
card_background := { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, hybrid_blend: "white") }
card_crown := { color_background(input: card.card_color, type: "crown", base_hybrid: card_hybrid, hybrid_blend: "white") }
card_ptbox := { color_background(input: card.card_color, type: "pt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "black", multicolor_blend: "white") }
card_stamp := { color_background(input: card.card_color, type: "stamp", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "black", multicolor_blend: "black") }
card_transforml := { color_background(input: card.card_color, type: "transforml", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "black", multicolor_blend: "black") }
card_transformr := { color_background(input: card.card_color, type: "transformr", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "black", multicolor_blend: "black") }

pure_colors :=
{
Expand Down Expand Up @@ -315,6 +344,20 @@ extra card field:
save value: false
show statistics: false
choice: card stamp rim
extra card field:
type: choice
name: card transform left
editable: false
save value: false
show statistics: false
choice: card transform left
extra card field:
type: choice
name: card transform right
editable: false
save value: false
show statistics: false
choice: card transform right

extra card style:
pt box:
Expand Down Expand Up @@ -361,3 +404,21 @@ extra card style:
z index: 31
render style: image
image: { if is_stamped() then card_stamp() else "" }
card transform left:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 220
visible: { (not transform_symbol_is_empty(card.transformation)) and (not transform_symbol_is_right(card.transformation)) }
render style: image
image: { card_transforml() }
card transform right:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 220
visible: { (not transform_symbol_is_empty(card.transformation)) and (transform_symbol_is_right(card.transformation)) }
render style: image
image: { card_transformr() }
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 51 additions & 3 deletions data/magic-m15-showcase-eldraine-tales.mse-style/style
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mse version: 2.1.2
mse version: 2.6.0
game: magic
short name: Enchanting Tales
full name: Eldraine Showcase
Expand Down Expand Up @@ -62,7 +62,18 @@ init script:
italic: {""}
]

transform_symbol_disabled_1 := { true }
transform_symbol_image_folder := { "/magic-m15-showcase-eldraine-tales.mse-style/transform/" }
transform_symbol_modal_uses_normal_background := { true }
transform_symbol_default_background := { "none" }
transform_symbol_default_rim := { "none" }
transform_symbol_default_icon := { "colored" }
transform_symbol_default_rim_bevel := { false }
transform_symbol_default_icon_bevel := { false }
transform_symbol_offset_top_1 := { -1 }
transform_symbol_offset_left_1 := { if transform_symbol_is_right(card.transformation) then 4 else 5 }
name_transform_symbol_offset_left_1 := { 4 }
casting_cost_transform_symbol_offset_left_1 := { -7 }

swap_fonts_name_default :=
[
name: {"Beleren Bold"},
Expand Down Expand Up @@ -109,6 +120,8 @@ init script:
stamprim: "stamprim/",
ubstamprim: "stamprim/ub/",
textbox: "textbox/",
transforml: "transform_left/",
transformr: "transform_right/",
identity: "/magic-modules.mse-include/indicators/",
pt: "pt/",
nyx: "nyx/"
Expand All @@ -120,6 +133,8 @@ init script:
stamprim: "stamprim.png",
ubstamprim: "stamprim.png",
textbox: "textbox.png",
transforml: ".png",
transformr: ".png",
identity: "identity.png"
pt: "pt.png",
nyx: "nyx.png"
Expand All @@ -130,6 +145,8 @@ init script:
card_border := { color_background(input: card.card_color, type: "border", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "black") }
card_background := { color_background(input: card.card_color, type: "card", base_hybrid: card_hybrid, hybrid_blend: "white") }
card_textbox := { color_background(input: card.card_color, type: "textbox", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "black") }
card_transforml := { color_background(input: card.card_color, type: "transforml", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "black") }
card_transformr := { color_background(input: card.card_color, type: "transformr", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "black") }
card_ptbox := { color_background(input: card.card_color, type: "pt", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") }
card_stamprim := { color_background(input: card.card_color, type: "stamprim", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "black") }
card_ubstamprim := { color_background(input: card.card_color, type: "ubstamprim", base_hybrid: card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "black", blend_type:"stamprim") }
Expand Down Expand Up @@ -445,6 +462,20 @@ extra card field:
save value: false
show statistics: false
choice: card colored border
extra card field:
type: choice
name: transform left
script: card.card_color
editable: false
save value: false
show statistics: false
extra card field:
type: choice
name: transform right
script: card.card_color
editable: false
save value: false
show statistics: false

extra card style:
text box:
Expand Down Expand Up @@ -527,4 +558,21 @@ extra card style:
render style: image
image: { card_border() }
mask: border_mask.png

transform left:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 210
visible: { not transform_symbol_is_empty(card.transformation) and not transform_symbol_is_right(card.transformation) }
render style: image
image: { card_transforml() }
transform right:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 210
visible: { not transform_symbol_is_empty(card.transformation) and transform_symbol_is_right(card.transformation) }
render style: image
image: { card_transformr() }
Loading