One of the earliest objects in my game can be obtained either by asking a
character ABOUT it, or asking the character FOR it. The "ask about" bit works
okay, but I've tried coding the "ask for" as follows:
AskFor: <<Ask character item>>;
But it doesn't seem to want to work. AskFor seems to yield the same result
as Order, as in "character, GIVE ME THE item," (which I've attempted to code
in the same manner as shown above for AskFor), and as a result, asking FOR
the item isn't recognized, and it drops down to the standard default message
"He can't tell you anything about that," which is printed when the player asks
ABOUT something the game wasn't meant to recognize.
So my question is: if the player types "ASK character FOR item," what exactly
is stored in such Inform variables as "verb," "noun," and "second," and how
can I change the above bit of code so that AskFor and Order will have the same
effect as Ask (about)?
Thanx in advance for any help you can provide.
-- C.E. Forman ceforma@rs6000.cmp.ilstu.edu Read the I-F e-zine XYZZYnews, at ftp.gmd.de:/if-archive/magazines/xyzzynews! * Interactive Fiction * Beavis and Butt-Head * The X-Files * MST3K * C/C++ *