Update style
This commit is contained in:
@@ -201,6 +201,7 @@ init script:
|
|||||||
is_crowned := { styling.legend_crown == "yes" or (styling.legend_crown == "if legendary" and contains(card.super_type, match:"Legendary")) }
|
is_crowned := { styling.legend_crown == "yes" or (styling.legend_crown == "if legendary" and contains(card.super_type, match:"Legendary")) }
|
||||||
|
|
||||||
is_pinlined := { styling.pinlines }
|
is_pinlined := { styling.pinlines }
|
||||||
|
is_backdrop := { styling.pinlines or styling.smaller_backdrop }
|
||||||
|
|
||||||
chop_top := { split := split_comma(styling.chop_textbox); if length(split) > 0 and split.0 != "" and split.0 != "-" then clamp(to_int(split.0), minimum: -300, maximum: 250) else 0 }
|
chop_top := { split := split_comma(styling.chop_textbox); if length(split) > 0 and split.0 != "" and split.0 != "-" then clamp(to_int(split.0), minimum: -300, maximum: 250) else 0 }
|
||||||
chop_bottom := { split := split_comma(styling.chop_textbox); if length(split) > 1 and split.1 != "" and split.1 != "-" then clamp(to_int(split.1), minimum: -300, maximum: 250) else 0 }
|
chop_bottom := { split := split_comma(styling.chop_textbox); if length(split) > 1 and split.1 != "" and split.1 != "-" then clamp(to_int(split.1), minimum: -300, maximum: 250) else 0 }
|
||||||
@@ -227,9 +228,9 @@ init script:
|
|||||||
else 1.0
|
else 1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
textbox_left := { if is_pinlined() then 25 else 0 }
|
textbox_left := { if is_backdrop() then 25 else 0 }
|
||||||
textbox_width := { if is_pinlined() then 325 else 375 }
|
textbox_width := { if is_backdrop() then 325 else 375 }
|
||||||
textbox_height := { if is_pinlined() then 442 else 523 }
|
textbox_height := { if is_backdrop() then 442 else 523 }
|
||||||
textbox_image := { set_alpha(recolor_image("textbox.png", color: styling.textbox_color), alpha: get_alpha(styling.textbox_opacity_percentage, default: 0)) }
|
textbox_image := { set_alpha(recolor_image("textbox.png", color: styling.textbox_color), alpha: get_alpha(styling.textbox_opacity_percentage, default: 0)) }
|
||||||
textbox_mask :=
|
textbox_mask :=
|
||||||
{
|
{
|
||||||
@@ -267,6 +268,10 @@ styling field:
|
|||||||
name: stretch art to whole card
|
name: stretch art to whole card
|
||||||
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
|
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
|
||||||
initial: no
|
initial: no
|
||||||
|
styling field:
|
||||||
|
type: text
|
||||||
|
name: chop textbox
|
||||||
|
description: Formatted as "X,Y,Z". Shrinks textbox X pixels from the top, Y from the bottom, and Z from the right.
|
||||||
styling field:
|
styling field:
|
||||||
type: choice
|
type: choice
|
||||||
name: center rule text
|
name: center rule text
|
||||||
@@ -290,10 +295,6 @@ styling field:
|
|||||||
type: text
|
type: text
|
||||||
name: textbox opacity percentage
|
name: textbox opacity percentage
|
||||||
description: Set the opacity percentage for the textbox background. Opaque is 100, transparent is 0, default is 0.
|
description: Set the opacity percentage for the textbox background. Opaque is 100, transparent is 0, default is 0.
|
||||||
styling field:
|
|
||||||
type: text
|
|
||||||
name: chop textbox
|
|
||||||
description: Formatted as "X,Y,Z". Shrinks textbox X pixels from the top, Y from the bottom, and Z from the right.
|
|
||||||
styling field:
|
styling field:
|
||||||
type: boolean
|
type: boolean
|
||||||
name: rounded textbox
|
name: rounded textbox
|
||||||
@@ -320,6 +321,11 @@ styling field:
|
|||||||
name: pinlines
|
name: pinlines
|
||||||
description: Use pinlines on the side?
|
description: Use pinlines on the side?
|
||||||
initial: no
|
initial: no
|
||||||
|
styling field:
|
||||||
|
type: boolean
|
||||||
|
name: smaller backdrop
|
||||||
|
description: Use the smaller backdrop without pinlines?
|
||||||
|
initial: no
|
||||||
styling field:
|
styling field:
|
||||||
type: boolean
|
type: boolean
|
||||||
name: basic land symbol
|
name: basic land symbol
|
||||||
|
|||||||
Reference in New Issue
Block a user