Subject: Exits as direct objects

From: Andrew Donkin <[email-masked]>
Date: Sun, 18 Apr 1993 22:31:14 -0700

Yet Another Newbie Question:  I'm programming an exit that responds to
verbs of its own (such as `open' and `close').  I create them `rd' and
`this none none', and they work fine when applied to the object number of
my exit.  For example, `open #177' works fine, but `open west' responds
with "I don't understand that".  `west' is, of course, object #177.

This happens with both verbs defined in the exit itself, and verbs defined
in the parent class, which is a child of $exit.  It happens when `west' is
the real name of the object, and when `west' is only one of the aliases.
There are no other `west' exits, of course.

I'm confused.  Does the parser not check the textual names of exits when
searching for the direct object?  If not, should I put `west' in the
contents field of the room so that the parser checks it along with the
non-exit objects in the room?  Please tell that it's just something silly
I've done, and is easily solved.

Thanks in advance - 

,------------------------------------------------------------------------,
|            Andrew Donkin - [email-masked]            |
`------------------------------------------------------------------------'

---

From: Judy Anderson <[email-masked]>
Date: Mon, 19 Apr 1993 19:36:43 -0700

The built-in server does not recognize objects not present in the
actual .location of the player in commands.  However, if you have some
recent LambdaCore, you'll have exit verb matching in the :huh system.
As long as the verbs on your exits are +x, things should work.

Judy Anderson yclept yduJ   [email-masked]  'yduJ' rhymes with 'fudge'
    [ LambdaMOO is lambda.parc.xerox.com 8888 / 13.2.116.36 8888 ]
       Join the League for Programming Freedom, [email-masked]

---

From: Judy Anderson <[email-masked]>
Date: Mon, 19 Apr 1993 19:51:28 -0700

Whups!  I lied.  The fancy exit-matching :huh is *not* in the core,
it's just in a room on LambdaMOO (#17755).  This functionality should
probably be moved into the core, but of course that won't do existing
users much good.
						yduJ