Is your feature request related to a problem? Please describe.
Sometimes one wants to present a list of options that is custom to the moment. Right now, DialogueManager allows only showing a fixed list of options with some of them disabled, which may or may not make sense in that scene.
Describe the solution you'd like
To have a way for the conditionals attached to the options in a list hide the option they're attached to rather than just disable it.
Describe alternatives you've considered
I tried code like the following, but it does not function in the way I was hoping. It breaks the list into multiple lists, and shows each one separately, only if the condition for that list succeeds.
if condition:
- option
if other_condition:
- other_option
if condition3:
- option3, etc.
Additional context
Example: Jane is talking to Susan and one of the things Jane can say is, "Ed is the culprit!" but she can say it only if she's discovered that fact. Having it visible but disabled from the beginning of the game gives away the plot.
Is your feature request related to a problem? Please describe.
Sometimes one wants to present a list of options that is custom to the moment. Right now, DialogueManager allows only showing a fixed list of options with some of them disabled, which may or may not make sense in that scene.
Describe the solution you'd like
To have a way for the conditionals attached to the options in a list hide the option they're attached to rather than just disable it.
Describe alternatives you've considered
I tried code like the following, but it does not function in the way I was hoping. It breaks the list into multiple lists, and shows each one separately, only if the condition for that list succeeds.
Additional context
Example: Jane is talking to Susan and one of the things Jane can say is, "Ed is the culprit!" but she can say it only if she's discovered that fact. Having it visible but disabled from the beginning of the game gives away the plot.