AFR Update and sorting

This commit is contained in:
CajunAvenger
2021-07-09 13:48:12 -05:00
parent eda330eee8
commit 946e8534b1
1673 changed files with 5365 additions and 6505 deletions

View File

@@ -123,6 +123,9 @@ init script:
chop_top := {if styling.chop_top == "" then 0 else if comma_count(styling.chop_top) == "," or comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).0 else styling.chop_top}
chop_bot := {if comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).1 else if styling.chop_bottom == "" then 0 else styling.chop_bottom}
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)}
############################################################## Set info fields
set info style:
@@ -142,6 +145,10 @@ styling field:
type: text
name: chop bottom
description: Shrinks the textbox X pixels from the bottom.
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 holofoil stamps
@@ -607,12 +614,6 @@ extra card field:
choice: stamp
save value: false
editable: false
extra card field:
type: text
name: vorthos box
save value: true
editable: true
description: Where they put mtgstory.com on story spotlights.
extra card style:
card code:
left: 24
@@ -727,15 +728,3 @@ extra card style:
render style: image
image: bar.png
visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar }
vorthos box:
right: { if card.pt != "" then 275 else 350 }
top: 488
left: 210
height: 10
z index: 3
alignment: middle right
font:
name: Relay-Medium
size: 7
color: white
weight: bold