fixes to auto custom border

This commit is contained in:
cajun
2025-04-12 20:02:56 -05:00
parent 416e179601
commit b3ee2c72ed
5 changed files with 5 additions and 5 deletions

View File

@@ -285,7 +285,7 @@ init script:
}
is_nyx := {
chosen(styling.frames, choice:"nyx")
or (lang_setting("is_enchantment")(card.super_type) and set.auto_nyx)
or (lang_setting("is_enchantment")(card.super_type) and set.auto_nyx and not auto_custom_border())
}
is_leveler := {
chosen(styling.frames, choice:"leveler")

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

View File

@@ -208,7 +208,7 @@ init script:
]
swap_fonts_body_default := [
name: {if is_archetype() then "Gotham Pro" else "MPlantin"},
size: {14},
size: {if styling.shrink_font_size != "" then 14 - to_number(styling.shrink_font_size) else 14},
color: {if white_state_font() then "white" else "black"},
vertical: {0},
italic: {"MPlantin-Italic"}
@@ -572,7 +572,7 @@ card style:
shadow displacement y: 1
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.shrink_font_size != "" then 14 - to_number(styling.shrink_font_size) else 14}
size: { body_font_size() }
alignment:
script:
if (styling.center_text == "short text only" and
@@ -726,7 +726,7 @@ extra card field:
extra card field:
type: choice
name: custom overlay
choice: plate
script: card.card_color
save value: false
editable: false
extra card field:
@@ -873,7 +873,7 @@ extra card style:
image: voverlay.png
mask: {"v_" + (if is_nyx() or is_snow() then "nyx_" else "") + if is_tall() then "tall_mask.png" else if is_textless() then "short_mask.png" else "mid_mask.png"}
visible: { is_vehicle() }
vehicle overlay:
custom overlay:
left: 15
top: 15
width: 345