Robin & Orchid — 48 of 88

Ryan Veeder & Emily Boegheim

Release 4

Section - Printing the player's command

[Fix for the >TAKE PHOTO / What do you want to take of? bug, courtesy of gurok: http://www.intfiction.org/forum/viewtopic.php?f=7&t=8146]

To decide which snippet is the player's verb:

(- verb_wordnum * 100 + 1 -).

Repeating the player's verb is an activity.

Rule for repeating the player's verb:

say the player's verb.

Rule for repeating the player's verb when the player's verb matches "i" or the player's verb matches "inv" or the player's verb matches "inventory":

say "take inventory";

Rule for repeating the player's verb when the player's verb matches "x":

say "examine";

Rule for repeating the player's verb when the player's verb matches "l":

say "look";

Rule for repeating the player's verb when the player's verb matches "z":

say "wait";

[Additions for Conversation Framework]

Rule for repeating the player's verb when the player's verb matches "t":

say "tell someone about";

Rule for repeating the player's verb when the player's verb matches "a":

say "ask someone about";

[For photography (will only kick in if "after reading a command" fails to rewrite the command first, though)]

Rule for repeating the player's verb when the player's command includes "take [photo]":

say "take a".

This is the language verb rule:

carry out the repeating the player's verb activity.

Include (-

Replace LanguageVerb;

-) after "Definitions.i6t".

Include (-

[ LanguageVerb;

(+ language verb rule+)();

rtrue;

];

-) after "Language.i6t".