Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: [INFORM] 'ask for' vs 'ask about'
Message-ID: <GDDGD5.Dq8@world.std.com>
Date: Tue, 15 May 2001 10:12:41 GMT
References: <slrn9g1t7u.90p.bernard.el-hagin@gdndev25.lido-tech>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 22
Xref: news.duke.edu rec.arts.int-fiction:86954

Bernard El-Hagin <bernard.el-hagin@lido-tech.net> wrote:
>  So my question is, how do I get 'ask <creature> for <thingy>' to work?

Implement "<creature>, give <thingy> to me", which is what this
command gets "secretly" turned into.  See the table of how various
inputs get mapped to various actions in DM3section16 or DM4section18.

For example (no guarantees this is right):

   orders [;
      Give:
         if (second == player) {
            switch (noun) {
               key:
                  move key to player;
                  "~Good luck encrypting anything with that, mate,~ says ",
                          (the) self;
            }
         }
   ]

SeanB
