To make your closed door be visible, try something like this: in act.informative.c make your do_auto_exits function seems like this: void do_auto_exits(struct char_data * ch) { int door, slen = 0; *buf = '\0'; for (door = 0; door < NUM_OF_DIRS; door++) if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE && !EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED)) slen += sprintf(buf + slen, "%c ", LOWER(*dirs[door])); else if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE && EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED)) slen += sprintf(buf + slen, "!%c ", LOWER(*dirs[door])); sprintf(buf2, "%s[ Exits: %s]%s\r\n", CCYN(ch, C_NRM), *buf ? buf: None ", CCNRM(ch, C_NRM)); send_to_char(buf2, ch); } Your closed doors will appear with an "!" in front of. IE.: [ Exits: n !s !w d ] Regards, Stacey. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/05/01 PST