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
|
#### except THBLand is a special kind of frameless
|
||||||
is_thbland := {
|
is_thbland := {
|
||||||
is_frameless()
|
is_frameless()
|
||||||
|
and not is_inverted()
|
||||||
and not is_leveler()
|
and not is_leveler()
|
||||||
and remove_tags(card.text) == "\n"
|
and remove_tags(card.text) == "\n"
|
||||||
}
|
}
|
||||||
@@ -286,6 +287,9 @@ init script:
|
|||||||
is_inverted := {
|
is_inverted := {
|
||||||
chosen(styling.frames, choice:"inverted")
|
chosen(styling.frames, choice:"inverted")
|
||||||
}
|
}
|
||||||
|
is_transparent_borderless := {
|
||||||
|
is_borderless() and is_frameless() and is_inverted()
|
||||||
|
}
|
||||||
is_planeshifted := {
|
is_planeshifted := {
|
||||||
chosen(styling.frames, choice:"planeshifted")
|
chosen(styling.frames, choice:"planeshifted")
|
||||||
}
|
}
|
||||||
@@ -562,6 +566,8 @@ init script:
|
|||||||
then "frame_masks/energy.png"
|
then "frame_masks/energy.png"
|
||||||
else if uses_expanded_art() and is_dka()
|
else if uses_expanded_art() and is_dka()
|
||||||
then "frame_masks/borderless_dka.png"
|
then "frame_masks/borderless_dka.png"
|
||||||
|
else if is_transparent_borderless()
|
||||||
|
then "frame_masks/borderless_transparent.png"
|
||||||
else if is_borderless() and is_frameless()
|
else if is_borderless() and is_frameless()
|
||||||
then "frame_masks/borderless_frameless" + (if is_miracle() then "_miracle" else "") + ".png"
|
then "frame_masks/borderless_frameless" + (if is_miracle() then "_miracle" else "") + ".png"
|
||||||
else if uses_expanded_art()
|
else if uses_expanded_art()
|
||||||
@@ -2187,6 +2193,12 @@ extra card field:
|
|||||||
script: card.card_color_2
|
script: card.card_color_2
|
||||||
save value: false
|
save value: false
|
||||||
editable: false
|
editable: false
|
||||||
|
extra card field:
|
||||||
|
type: choice
|
||||||
|
name: transparent borderless overlay
|
||||||
|
script: card.card_color
|
||||||
|
save value: false
|
||||||
|
editable: false
|
||||||
|
|
||||||
extra card style:
|
extra card style:
|
||||||
pt box:
|
pt box:
|
||||||
@@ -2639,4 +2651,13 @@ extra card style:
|
|||||||
render style: image
|
render style: image
|
||||||
z index: 720
|
z index: 720
|
||||||
image: { prototype_pt_image() }
|
image: { prototype_pt_image() }
|
||||||
visible: { is_prototype() and styling.prototype_secondary == "pt" and card.pt_2 != "" }
|
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