Hi,
I’m trying to create the following scenario in my game, which uses Michael Martin’s Quip-Based Conversation for its dialogue:
After entering the casino, you need to talk to the waitress. However, she ignores you until after you talk to the bartender.
It’s a pretty straightforward scenario, but I can’t get the code to work. Here’s what I’ve got so far:
"test" by Emanuel Nordrum
Include Version 5 of Quip-Based Conversation by Michael Martin.
Casino is a room.
Bartender is a person in Casino. The greeting of Bartender is bartender-g. The litany of Bartender is Table of Bartender Conversation.
Waitress is a person in Casino. The greeting of Waitress is waitress-g. The litany of Waitress is Table of Waitress Conversation.
Table of Quip Texts (continued)
quip quiptext
bartender-g "The bartender speaks to you."
bartender-1 "Let me tell you about the waitress."
waitress-g "The waitress notices you."
waitress-1 "Oh hi."
Table of Bartender Conversation
prompt response enabled
"Waitress?" bartender-1 0
Table of Waitress Conversation
prompt response enabled
"Hello." waitress-1 1
After quipping when the current quip is bartender-1:
enable the bartender-1 quip;
terminate the conversation.
Waitress Ignores You is a scene. Waitress Ignores You begins when the player is in Casino.
Before talking to Waitress during Waitress Ignores You:
say "She ignores you." instead;
enable the bartender-1 quip.
After examining Waitress during Waitress Ignores You:
say "She ignores you.";
enable the bartender-1 quip.
Waitress Ignores You ends after quipping when the current quip is bartender-1.
The trouble spot is the “enable the bartender-1 quip” line; I know it fires - or rather, I know the “She ignores you.” line right above it fires - but when I talk to the bartender again the option isn’t there.
The syntax I use is the same as Quip-Based Conversation uses (as seen slightly further up), so the only thing I can think is that Quip-Based Conversation requires the “after quipping when the current quip is” line in order to enable or disable quips. Which would be kind of a downer if true.
If anyone could show me the correct way to go about things, I’d be most grateful.