Re: Code Help

Date: 04/19/95

> if(obj_num == 8136) {
>   char_from_room(ch);
>   char_to_room(ch, location);     <------- bombs here!
>   look_at_room(ch, 0);
>   }
>   return 1;
> }

I'd suggest looking at ACMD(do_open) for how to open the door, put in the 
call to open (whatever) and use command_interpreter(ch, <dir>) to force 
the person to leave in that direction if you need them to.  Otherwise, 
you're fine with just opening the door and leaving them in the same room.
Oh, might want to make sure the door isn't locked either :).
> Also, has anyone thought of  doing like a  dictionary for the circle 
> functions and how  to implement, with perhaps sample code..

Haven't the slightest idea what you're talking about, but if you'd care 
to elaborate, I might consider it interesting enough to do something with 

> Obviously not all the little bitty  functions,  but it  would be nice to know
> what fn  does what with  out  grepping through all the code to find 
> it.... 

I forget off-hand what fn is for, sorry :).

/Spawn@KrimsonMud , the accused flamer.
DISCLAIMER: I didn't do it.. um, Winters did!

This archive was generated by hypermail 2b30 : 12/07/00 PST