This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Problem is, I don't want to list every possible answer ever and every possible clue ever for every challenge. Is there a way to have a choice menu pop up, but for the choices within it to be varied depending on actions the player has already taken.
Player walks into a room with a pair of scissors, an empty bottle and a bucket.
There is a locked door which they click on.
They are given the choice to use the scissors, bottle and bucket on the door but none work.
They use the scissors to open a deck and retrieve a code, but break the scissors in the process.
They click on the door again and this time the bottle and bucket are listed again, the scissors are not but the code now is
Basically the old point and click forumla
Any idea how to code this? I tried IF statments in the Choice Menu but couldn't get it to work at all.
Is there a way to change the order in which the choices in the menu are displayed, based upon the order a player has items in their inventory? So if you had the bucket first in your inventory, it would be the top option, but if you moved it to the third inventory spot it would be third in the menu
Thank you again
A good start would be display_menu function. You will have to create a list of choices manually from your invertory content and pass it to the function.
https://www.renpy.org/doc/html/statemen ... splay_menu