check if class bar should be there
This commit is contained in:
@@ -192,7 +192,7 @@ init script:
|
||||
special_text := {
|
||||
if is_class() then
|
||||
(
|
||||
card.chapter_text
|
||||
(if card.chapter_text == "" then saga_reminder() else card.chapter_text)
|
||||
+(if card.level_1_text != "" then "\n" + card.level_1_text)
|
||||
+(if card.level_2_text != "" then "\n" + card.level_9_text + (if card.level_2 == "" then " Level 2" else " " + card.level_2) + "\n" + card.level_2_text)
|
||||
+(if card.level_3_text != "" then "\n" + card.level_10_text + (if card.level_3 == "" then " Level 3" else " " + card.level_3) + "\n" + card.level_3_text)
|
||||
@@ -1280,7 +1280,7 @@ extra card style:
|
||||
render style: image
|
||||
z index: 720
|
||||
image: {if is_case() then "bar.png" else if is_class() then class_bar() else "line.png"}
|
||||
visible: {is_class() or is_case() or not un_marked()}
|
||||
visible: {(is_class() and card.chapter_text != "" and card.level_1_text != "") or is_case() or not un_marked()}
|
||||
linebreak 2:
|
||||
left: {30+if is_class() or is_case() then 158 else 0}
|
||||
top: {if is_class() or is_case() then lev2() else if split_12() == "" then 248 else split_12()-1}
|
||||
|
||||
Reference in New Issue
Block a user