This commit is contained in:
CajunAvenger
2021-07-22 00:42:07 -05:00
parent 946e8534b1
commit 8be3f6c0fd
2 changed files with 34 additions and 91 deletions

View File

@@ -65,6 +65,9 @@ init script:
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}
top_of_textbox := {(327) - (-chop_top()) }
bottom_of_textbox := {(481) - chop_bot() }
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)}
shrink_type := {if styling.shrink_typeline_text != "" then to_int(styling.shrink_typeline_text) else 0 }
shrink_name := {if styling.shrink_name_text != "" then to_int(styling.shrink_name_text) else 0 }
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}