MOO-cows Mailing List Archive

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

Re: Exit invisible!



> On Wed, 8 May 1996, Levy T wrote:
>
> Hi,
> I am using the database LambdaCore-1Oct94 on my MOO server.
> After having created a new room and an exit to it, the exit and the room 
> are available. But with a 'look' command in the room, I can't see the exit.
> In many MOOs, you can see all the exits while looking to the room.
> Doesn't somebody know about that?
> Is it due to the database?
> Do I have to change the look or description verb?

Guess this a good start for you:

#3:"tell_exits"   this none this
 1:  if (!this.tell_exits)
 2:    return;
 3:  endif
 4:  if (this.obvious_exits)
 5:    su = $string_utils;
 6:    all_exits = {};
 7:    for exit in (this.exits)
 8:      if (exit.obvious)
 9:        all_exits = {@all_exits, tostr(su:capitalize(exit.name), " [to 
",
exit.dest.name, "]")};
10:      endif
11:    endfor
12:    if (all_exits)
13:      player:tell(su:english_list(all_exits));
14:    endif
15:  endif

Good luck!

-G=]<-  


References:

Home | Subject Index | Thread Index