Trying to make my menu offer another option once all others have been chosen
Posted: Tue Jul 25, 2017 4:21 am
Hello, I'm a little new to Ren'py, and I need a little help. I'm using a menu and flags to remove the choices once they've been picked, but I can't get a final option to pop up once all of them have been picked.
For example, once library, general store, bar and diner, and walk around have been chosen, I want the option of 'Go to cabin' to pop up. Any ideas?
For example, once library, general store, bar and diner, and walk around have been chosen, I want the option of 'Go to cabin' to pop up. Any ideas?
Code: Select all
label lookaroundmenu:
menu:
nar "Where should you go to first?"
"The Library." if library_visited_done == False:
$ library_visited_done = True
jump thelibrary
"The General Store." if generalstore_visited_done == False:
$ generalstore_visited_done = True
jump generalstore
"The Bar and Diner." if baranddiner_visited_done == False:
$ baranddiner_visited_done = True
jump baranddiner
"Walk around." if walkaround_done == False:
$ walkaround_done = True
jump walkaround
label thelibrary:
nar "You walked to the rather small library, interested in if it had anything instore for you."
jump lookaroundmenu
label generalstore:
nar "You walked up the short steps to the general store, taking note of the fresh red paint on the porch. Maybe they were renovating a bit?"
jump lookaroundmenu
label baranddiner:
nar "Your stomach had been growling not too long ago. Maybe something to eat would satisfy you?"
jump lookaroundmenu
label walkaround:
nar "You choose to walk around, interested in the sights."
nar "You found there to be a town hall, which might actually have some answers about this places history."
jump lookaroundmenu
label chooseagain:
nar "You've already done that. Try again."
jump lookaroundmenu
return