Okay, I worked it out.
Now I spent a lot of time figuring out which big of information when where and looking in tuples...but in the end, I don't think that is necessary. So here is what I came up with. Two different options, both of which involve editing the screens.rpy file. It is important to note that these options are based off of using the persistent._chosen list that renpy uses to keep track of choices made. So...if you use this...you can't roll back and redo your choices (though I did find a way around that sort of.)
The other thing, if you want a choice to be choosable even after it has been chosen once (useful for those choices that break the menu loop, then you need to put an asterisk in its text.
So, option 1 will delete options that have already been chosen.
Code: Select all
screen choice(items):
window:
style "menu_window"
xalign 0.5
yalign 0.5
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
#This keeps the options visible but no action if chosen
#This deletes the options if chosen
if not chosen or "*" in caption:
if action:
button:
action action
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
This second options will not delete the options, but will gray them out and make them unclickable:
screen choice(items):
Code: Select all
screen choice(items):
window:
style "menu_window"
xalign 0.5
yalign 0.5
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
#This keeps the options visible but no action if chosen
if action:
button:
if "*" in caption:
action action
else:
action If(chosen, true=None, false=action)
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
Then in your script.rpy you just make your menus like so:
Code: Select all
menu choices:
"Do the Hokey-Pokey."
"Put Your Right Foot In":
"You put your right foot in."
"Put Your Right Foot Out":
"You put your right foot out."
"Shake it All About":
"You shake it all about."
"*That's what it's all about.":
"jump dance_over."
jump choices
Of course if you ever return to this menu again, you won't be able to redo any of your done choices...even if you start a new game. Because...persistent.
You can wipe the persistent menu choices by using this command:
$persistent._chosen.clear()
But that will wipe menu choices for those people who want to auto skip past them with new games...and that might irritate some people.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe:
http://lemmasoft.renai.us/forums/viewto ... 51&t=21978