parent
9ea4431f0e
commit
b34dc20901
@ -434,9 +434,8 @@ screen stat_bar(steps, top_text, bottom_text, stat_number, top_padding=20):
|
|||||||
add Crop((0, 0, steps*36, 600), gui.format("interface/stats/{}/bar_full.webp"))
|
add Crop((0, 0, steps*36, 600), gui.format("interface/stats/{}/bar_full.webp"))
|
||||||
add gui.format("interface/stats/{}/bar_empty.webp")
|
add gui.format("interface/stats/{}/bar_empty.webp")
|
||||||
|
|
||||||
text bottom_text+" (lvl " +str(stat_number)+ ")" xalign 0.5 size 20
|
text "[bottom_text] (lvl [stat_number])" xalign 0.5 size 20
|
||||||
|
|
||||||
screen text_stat(startText="", endText="", amount="", top_padding = 20):
|
screen text_stat(startText="", endText="", amount="", top_padding = 20):
|
||||||
sensitive False
|
sensitive False
|
||||||
|
text "[startText][amount][endText]" xpos 20 size 14
|
||||||
text (startText +str(amount)+ endText) xpos 20 size 14
|
|
||||||
|
Loading…
Reference in New Issue
Block a user