Internal tweaks
This commit is contained in:
parent
acfb09516c
commit
d34a96284c
@ -93,11 +93,11 @@ screen summon_menu():
|
||||
|
||||
vbox:
|
||||
pos (6, 6)
|
||||
$ tmp_x = 0
|
||||
$ allbusy = True
|
||||
for char in summon_categories_sorted:
|
||||
if summon_dict[char]["flag"]:
|
||||
if summon_show_busy or not summon_dict[char]["busy"]:
|
||||
$ tmp_x += 1
|
||||
$ allbusy = False
|
||||
frame:
|
||||
style "empty"
|
||||
xsize 195
|
||||
@ -118,19 +118,16 @@ screen summon_menu():
|
||||
|
||||
add gui.format("interface/achievements/{}/spacer_left.webp")
|
||||
|
||||
$ image_zoom = crop_image_zoom("interface/icons/head/"+summon_dict[char]["ico"]+".webp", 42, 42, summon_dict[char]["busy"])
|
||||
|
||||
button:
|
||||
style gui.theme("overlay_button")
|
||||
background gui.format("interface/achievements/{}/iconbox.webp")
|
||||
foreground "interface/achievements/glass_iconbox.webp"
|
||||
xysize (48, 48)
|
||||
add image_zoom align (0.5, 0.5)
|
||||
add crop_image_zoom("interface/icons/head/"+summon_dict[char]["ico"]+".webp", 42, 42, summon_dict[char]["busy"]) align (0.5, 0.5)
|
||||
|
||||
text map_transcript_loc[summon_dict[char]["loc"]] size 10 xalign 0.625 yalign 0.9 xanchor 0.5
|
||||
|
||||
if not states.sna.unlocked:
|
||||
text "You don't know anyone" size 12 at truecenter
|
||||
else:
|
||||
if tmp_x <= 0:
|
||||
text "All characters are busy" size 12 at truecenter
|
||||
elif allbusy:
|
||||
text "All characters are busy" size 12 at truecenter
|
||||
|
Loading…
Reference in New Issue
Block a user