I’m trying to make a menu question which leads to a further menu question.
This is my generic script:
Include Questions by Michael Callaghan.
The place is a room.
The item is in the place.
After examining the item:
now current question is "Question 1?";
now current question menu is {"A", "B", "C"};
ask a closed question, in menu mode;
follow the q1 rule.
A menu question rule (this is the q1 rule):
if the current question is "Question 1?":
if the number understood is 1:
now the current question is "Question 2?";
now the number understood is 0;
now current question menu is {"A", "B", "C"};
ask a closed question, in menu mode;
follow the q2 rule;
exit.
A menu question rule (this is the q2 rule):
if the current question is "Question 2?":
if the number understood is 1:
say "Hi";
exit.
I included now the number understood is 0;
just because otherwise the game recognizes the answer to the first question as the same answer to the second.
The problem is that when I try to give an answer to the second question the game says I didn't understand that sentence.
and the game continues as the question was ended:
place
You can see an item here.x item
You see nothing special about the item.Question 1?
1 - A
2 - B
3 - CPlease select a number between 1 and 3 >1
Question 2?
1 - A
2 - B
3 - CPlease select a number between 1 and 3 >1
I didn’t understand that sentence.Please select a number between 1 and 3 >
Any idea, please?