[Package Index | Mudlib Index | Effect Index]
Written by Belle, Gototh, Ceres
inherit "/std/room/player_housing"; void setup() { set_light(100); set_theft_handler(HOSPITAL); set_save_file("/save/player_housing/am/short/flat1"); set_short("front room"); set_base_desc("a small and cosy front room" ); add_surface( "floor", "finished pine board" ); add_surface( "ceiling", "plain plaster" ); add_surface( "north wall", "plain plaster" ); add_surface( "south wall", "plain plaster" ); add_surface( "east wall", "plain plaster" ); add_surface( "west wall", "plain plaster" ); add_exit("out", PATH+"courtyard", "door"); add_exit("north", PATH+"flat1bed", "door"); } In the room outside the house you also need to add the following line to make sure the doors from the street to the house get setup correctly (ie. know if the user left the door locked or not and what kind of lock/trap is in use in the door): (PATH+"flat1")->setup_doors();
.
string query_address()This method returns the address of the player house.