Conditional Menus?
Posted: Mon Oct 19, 2020 12:54 pm
Would it be possible to have a menu with questions that are only unlocked if a variable is set to true? If so how would I do it?
Supporting creators of visual novels and story-based games since 2003.
https://lemmasoft.renai.us/forums/
Code: Select all
default beach_unlocked = True
label start:
menu:
"Go to the park":
"I guess I'll go to the park."
"Go to the beach" if beach_unlocked: #will only appear if beach_unlocked is True
"Let's go to the beach!"