AFR Update and sorting
This commit is contained in:
@@ -78,29 +78,32 @@ init script:
|
||||
}
|
||||
|
||||
font_field := {
|
||||
if font_profile() == "m15" then (
|
||||
if field == "name" then font_name_m15[value]
|
||||
else if field == "type" then font_type_m15[value]
|
||||
else if field == "text" then font_text_m15[value]
|
||||
else if field == "pt" then font_pt_m15[value]
|
||||
)
|
||||
else if font_profile() == "new" then (
|
||||
if font_profile() == "new" then (
|
||||
if field == "name" then font_name_new[value]
|
||||
else if field == "type" then font_type_new[value]
|
||||
else if field == "text" then font_text_new[value]
|
||||
else if field == "pt" then font_pt_new[value]
|
||||
else font_pt_new[value]
|
||||
)
|
||||
else if font_profile() == "phyrexian" then (
|
||||
if field == "name" then font_name_phyrexian[value]
|
||||
else if field == "type" then font_type_phyrexian[value]
|
||||
else if field == "text" then font_text_phyrexian[value]
|
||||
else if field == "pt" then font_pt_phyrexian[value]
|
||||
else font_pt_phyrexian[value]
|
||||
)
|
||||
else if font_profile() == "old" then (
|
||||
if field == "name" then font_name_old[value]
|
||||
else if field == "type" then font_type_old[value]
|
||||
else if field == "text" then font_text_old[value]
|
||||
else if field == "pt" then font_pt_old[value]
|
||||
else font_pt_old[value]
|
||||
)else(
|
||||
if field == "name" then font_name_m15[value]
|
||||
else if field == "type" then font_type_m15[value]
|
||||
else if field == "text" then font_text_m15[value]
|
||||
else if field == "pt" then font_pt_m15[value]
|
||||
else font_pt_m15[value]
|
||||
)
|
||||
}
|
||||
|
||||
@@ -123,6 +126,10 @@ styling field:
|
||||
type: text
|
||||
name: chop text
|
||||
description: Shrinks the textbox, formatted as "top,bottom". This must end in a comma.
|
||||
styling field:
|
||||
type: text
|
||||
name: flavor bar offset
|
||||
description: Move the flavor bar down X pixels. Use negative to move up.
|
||||
styling field:
|
||||
type: choice
|
||||
name: font style
|
||||
@@ -685,6 +692,13 @@ extra card field:
|
||||
save value: false
|
||||
editable: false
|
||||
show statistics: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: flavor bar
|
||||
choice: bar
|
||||
editable: false
|
||||
save value: false
|
||||
show statistics: false
|
||||
extra card style:
|
||||
card code:
|
||||
left: 24
|
||||
@@ -855,4 +869,13 @@ extra card style:
|
||||
name: Matrix
|
||||
size: 7
|
||||
color: white
|
||||
weight: bold
|
||||
weight: bold
|
||||
flavor bar:
|
||||
left: 0
|
||||
top: { bar_equation() }
|
||||
width: 375
|
||||
height: 1
|
||||
z index: 3
|
||||
render style: image
|
||||
image: bar.png
|
||||
visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar }
|
||||
|
||||
Reference in New Issue
Block a user