parent
9665d565d8
commit
03d1c9a2c4
@ -32,15 +32,17 @@ 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())
|
|
||||||
|
return
|
||||||
|
|
||||||
|
label .summon_busy(char):
|
||||||
|
if game.daytime or char in ["Tonks", "Snape"]:
|
||||||
|
nar "[char] is currently busy. Try again later."
|
||||||
else:
|
else:
|
||||||
if game.daytime or char in ["Tonks", "Snape"]:
|
nar "[char] is currently asleep. Try again tomorrow."
|
||||||
nar "[char] is currently busy. Try again later."
|
|
||||||
else:
|
|
||||||
nar "[char] is currently asleep. Try again tomorrow."
|
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -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