[Prev][Next][Index][Thread]

# Re: Visible Exits on MOO

- Date: Thu, 29 Aug 1996 16:40:43 PDT
- From:
- cc: MOO-Cows.parc@xerox.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- References: <199608300453.VAA02297@big.fishnet.net>

    Dan Knapp wrote:
    >
    >         Hi. I have a problem with my rooms. Whenever I walk into a room, I
    > just get the contents, and the description. That's not what I want. Well,
    > actually, I do want it to list those things, but I also want the obvious
    > exits. I checked the .obvious property on the exits, and they are infact 1.
    > How can I make them listed?

    Add these lines to $room:look_self

      exits = player:checkexits(player:obvious_exits(), this, exits);
      player:tell_ways(exits, this);
    When you see the room description and contents is why look_self verb in
    the room is called. Adding this you can see also obvious exits.
    The .obvious prop is for use with @exits command and so...

References:

- Visible Exits on MOO

- From: mendak@fishnet.net (Dan Knapp)

- Prev: Re: Visible Exits on MOO
- Next: Re: Visible Exits on MOO
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index