Add New Canon Borderless (#173)
improve borderless+frameless+inverted --------- Co-authored-by: Aanginer <decodedaygaming@gmail.com> Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
@@ -256,6 +256,7 @@ init script:
|
||||
#### except THBLand is a special kind of frameless
|
||||
is_thbland := {
|
||||
is_frameless()
|
||||
and not is_inverted()
|
||||
and not is_leveler()
|
||||
and remove_tags(card.text) == "\n"
|
||||
}
|
||||
@@ -286,6 +287,9 @@ init script:
|
||||
is_inverted := {
|
||||
chosen(styling.frames, choice:"inverted")
|
||||
}
|
||||
is_transparent_borderless := {
|
||||
is_borderless() and is_frameless() and is_inverted()
|
||||
}
|
||||
is_planeshifted := {
|
||||
chosen(styling.frames, choice:"planeshifted")
|
||||
}
|
||||
@@ -562,6 +566,8 @@ init script:
|
||||
then "frame_masks/energy.png"
|
||||
else if uses_expanded_art() and is_dka()
|
||||
then "frame_masks/borderless_dka.png"
|
||||
else if is_transparent_borderless()
|
||||
then "frame_masks/borderless_transparent.png"
|
||||
else if is_borderless() and is_frameless()
|
||||
then "frame_masks/borderless_frameless" + (if is_miracle() then "_miracle" else "") + ".png"
|
||||
else if uses_expanded_art()
|
||||
@@ -2187,6 +2193,12 @@ extra card field:
|
||||
script: card.card_color_2
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: transparent borderless overlay
|
||||
script: card.card_color
|
||||
save value: false
|
||||
editable: false
|
||||
|
||||
extra card style:
|
||||
pt box:
|
||||
@@ -2640,3 +2652,12 @@ extra card style:
|
||||
z index: 720
|
||||
image: { prototype_pt_image() }
|
||||
visible: { is_prototype() and styling.prototype_secondary == "pt" and card.pt_2 != "" }
|
||||
transparent borderless overlay:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
render style: image
|
||||
z index: 600
|
||||
image: transparent_borderless.png
|
||||
visible: { is_transparent_borderless() }
|
||||
BIN
data/magic-m15-altered.mse-style/transparent_borderless.png
Normal file
BIN
data/magic-m15-altered.mse-style/transparent_borderless.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Reference in New Issue
Block a user