inherit "/std/room"; #include "path.h" void setup() { set_short("Mailing room"); set_light(50); set_zone("post office"); set_long("The mailing room is a large chamber full of wobbly "+ "desks and chairs, at which you can write messages or read "+ "your mail.\n"); add_item("chair", "You test out a chair, and yes, it does wobble alarmingly.\n"); add_item( ({"desk", "table"}), "The desks all have small notes on them saying :-\n\n"+ " 'mail <name>' to mail somebody.\n 'read' to read your mail.\n"); add_exit("south", "post", "door"); } /* setup() */ void init() { ::init(); add_action("do_mail", "mail"); add_action("do_mail", "read", -1); } /* init() */ int do_mail(string str) { return (int)"/obj/handlers/mail_track"->mail(str); } /* do_mail() */ int send_message(string str) { return (int)"/d/home/city/postoffice/post"->send_message(str); }