Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!feeder.qis.net!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: Re: [Inform] Nice simple straightforward question
Message-ID: <GHs8xJ.Ao4@world.std.com>
Date: Thu, 9 Aug 2001 04:10:31 GMT
References: <326rk9.007.ln@127.0.0.1> <slrn9n2i69.87.cerutti@fiad06.norwich.edu> <d0qrk9.dj1.ln@127.0.0.1> <9ks84f$eks$1@news.panix.com>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 18
Xref: news.duke.edu rec.arts.int-fiction:90894

Andrew Plotkin  <erkyrath@eblong.com> wrote:
>react_after [;
>  Drop:
>    if (player in self) {
>      if (noun in self) {
>        move noun to parent(self);
>      }
>    }
>],

On further reflection, one problem with this is if you have
something else in your game that react_afters and returns TRUE
before this gets to run. But I can't think of too many reasons
you'd do that. (To cross threads, one reason would be to have a
character print a reaction to the drop event, with the reaction
printed after the "Dropped." message.)

SeanB
