Sync with Cajun-Style-Temples, part 2
Add Old Magic Logos to Packs Add Alias blends to Adventure Add Ancestral Generic to Devoid Add Vorthos Box to Future Fix Split-Fusable border and second face watermarks Add Symbol Extractor Update namechecker
This commit is contained in:
@@ -38,10 +38,6 @@ init script:
|
||||
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
|
||||
un_png := replace@(match:".png", replace: "")
|
||||
remove_rarity := { styling.remove_rarity_symbol}
|
||||
########## Flavor bar stuff
|
||||
bar_offset := {if styling_offset() == "-" then 0 else if styling_offset() != "" then -styling_offset() else 0}
|
||||
styling_offset := { replace(styling.flavor_bar_offset, match:"(u|d)+", replace: "") }
|
||||
offset_lines := {offset_counter(styling.flavor_bar_offset)}
|
||||
|
||||
normal_mask := {styling.mask == "default"}
|
||||
upload_mask := { styling.mask == "upload"}
|
||||
@@ -60,6 +56,23 @@ styling field:
|
||||
type: text
|
||||
name: popout image style
|
||||
description: The styling instructions for the popout image field, formatted as "left,top,width,height,". The text MUST end with a comma.
|
||||
styling field:
|
||||
type: text
|
||||
name: font size
|
||||
description: The font size for the text. The default is 14.
|
||||
styling field:
|
||||
type: boolean
|
||||
name: remove from autocount
|
||||
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
|
||||
initial: no
|
||||
styling field:
|
||||
type: choice
|
||||
name: center text
|
||||
description: When to center text (short text only means only on one-line cards with no flavor text)
|
||||
choice: always
|
||||
choice: short text only
|
||||
choice: never
|
||||
initial: always
|
||||
styling field:
|
||||
type: choice
|
||||
name: mask
|
||||
@@ -68,15 +81,6 @@ styling field:
|
||||
choice: custom
|
||||
description: Open the mask field to upload a custom frame mask.
|
||||
initial: default
|
||||
styling field:
|
||||
type: boolean
|
||||
name: remove from autocount
|
||||
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
|
||||
initial: no
|
||||
styling field:
|
||||
type: text
|
||||
name: flavor bar offset
|
||||
description: Move the flavor bar down X pixels. Use negative to move up.
|
||||
styling field:
|
||||
type: boolean
|
||||
name: use guild mana symbols
|
||||
@@ -95,14 +99,6 @@ styling field:
|
||||
choice: modern
|
||||
choice: old
|
||||
choice: diagonal T
|
||||
styling field:
|
||||
type: choice
|
||||
name: center text
|
||||
description: When to center text (short text only means only on one-line cards with no flavor text)
|
||||
choice: always
|
||||
choice: short text only
|
||||
choice: never
|
||||
initial: short text only
|
||||
styling field:
|
||||
type: boolean
|
||||
name: inverted common symbol
|
||||
@@ -252,21 +248,31 @@ card style:
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
size: 14
|
||||
size: {if styling.font_size == "" then 14 else styling.font_size}
|
||||
scale down to: 10
|
||||
color: black
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 14
|
||||
alignment: middle center shrink-overflow
|
||||
size: {if styling.font_size == "" then 14 else styling.font_size}
|
||||
alignment:
|
||||
script:
|
||||
if (styling.center_text == "short text only" and
|
||||
not contains(match:"\n", card.rule_text) and
|
||||
card.flavor_text == "<i-flavor></i-flavor>" and
|
||||
card_style.text.content_lines <= 2) or
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 4
|
||||
padding left: 6
|
||||
padding top: 2
|
||||
padding right: 4
|
||||
padding bottom: 2
|
||||
line height hard: 1.2
|
||||
line height hard: {if is_modal(card.rule_text) then 0.9 else 1.2 }
|
||||
line height line: 1.5
|
||||
line height soft: 0.9
|
||||
line height hard max: {if is_modal(card.rule_text) then 1.0 else 1.3 }
|
||||
line height line max: 1.6
|
||||
############################# Card sorting / numbering
|
||||
set code:
|
||||
left: 24
|
||||
@@ -296,7 +302,7 @@ card style:
|
||||
width: {if set.automatic_copyright then 0 else 140}
|
||||
height: 10
|
||||
z index: 4
|
||||
alignment: middle right shrink-overflow
|
||||
alignment: middle right
|
||||
font:
|
||||
name: Matrix
|
||||
size: 7
|
||||
@@ -418,7 +424,7 @@ extra card style:
|
||||
width: {if set.automatic_copyright then 140 else 0}
|
||||
height: 10
|
||||
z index: 4
|
||||
alignment: middle right shrink-overflow
|
||||
alignment: middle right
|
||||
font:
|
||||
name: Matrix
|
||||
size: 7
|
||||
|
||||
Reference in New Issue
Block a user