Improve and fix last
This commit is contained in:
parent
1672b2381a
commit
acfb09516c
@ -32,11 +32,13 @@ label summon_menu(xx=723, yy=90):
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
label .summon(char, busy):
|
label .summon(char):
|
||||||
if not busy:
|
|
||||||
$ enable_game_menu()
|
$ enable_game_menu()
|
||||||
$ renpy.jump_out_of_context("summon_"+char.lower())
|
$ renpy.jump_out_of_context("summon_"+char.lower())
|
||||||
else:
|
|
||||||
|
return
|
||||||
|
|
||||||
|
label .summon_busy(char):
|
||||||
if game.daytime or char in ["Tonks", "Snape"]:
|
if game.daytime or char in ["Tonks", "Snape"]:
|
||||||
nar "[char] is currently busy. Try again later."
|
nar "[char] is currently busy. Try again later."
|
||||||
else:
|
else:
|
||||||
@ -109,10 +111,10 @@ screen summon_menu():
|
|||||||
text_xanchor 0.5
|
text_xanchor 0.5
|
||||||
text_size 20
|
text_size 20
|
||||||
if not summon_dict[char]["busy"]:
|
if not summon_dict[char]["busy"]:
|
||||||
action Call("summon_menu.summon", char, False)
|
action Call("summon_menu.summon", char, from_current=True)
|
||||||
else:
|
else:
|
||||||
text_color "#8C8C70"
|
text_color "#8C8C70"
|
||||||
action Call("summon_menu.summon", char, True)
|
action Call("summon_menu.summon_busy", char, from_current=True)
|
||||||
|
|
||||||
add gui.format("interface/achievements/{}/spacer_left.webp")
|
add gui.format("interface/achievements/{}/spacer_left.webp")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user