I have a roughly linear conversation I’m trying to create using Simple Chat. Since most of the choices at each stage of the conversation are the same, I thought it would be helpful to say something like:
Instead of finding responses to a level-3 chat node:
I discovered I can do this:
A chat node can be level-0, level-1, or level-2.
But this seems like it would quickly get out of hand. I’d rather do this:
A chat node has a number called level.
Unfortunately, neither of these work:
Instead of finding responses to a chat node with level 3:
Instead of finding responses to a level 3 chat node:
And although this syntax works, I find it unreadable:
Instead of finding responses to a 3 chat node:
Any suggestions?
Some source for you to play with:
[spoiler][code]Conversation is a room.
Include Simple Chat by Mark Tilford.
Use default forbid exiting conversations.
a chat node can be innocuous, questionable, rude, or innocence-asserting. a chat node is usually innocuous.
a chat node can be level-1, level-3, or level-5.
hello is an innocuous level-1 chat node.
goodbye is a rude level-3 chat node.
why, wherefore, and how are questionable level-5 chat nodes.
Instead of giving text for hello, say “hello.”
Instead of finding responses to hello:
link to goodbye;
Instead of giving link to goodbye, say “goodbye.”
Instead of giving text for goodbye, say “well, I never!”
Instead of finding responses to a level-3 chat node:
link to why;
link to wherefore;
link to how;
Instead of giving link to how, say “How?”
Instead of giving text for how:
say “however.”;
end the game saying “end”;
Instead of giving link to why, say “Why?”
Instead of giving text for why:
say “whyever.”;
end the game saying “end”.
Instead of giving link to wherefore, say “Wherefore?”
Instead of giving text for wherefore:
say “whereforever”;
end the game saying “end”;
When play begins:
run a conversation from hello.
[/code][/spoiler]