#include <lib.h>
inherit LIB_ROOM;

static void create() {
    room::create();
    SetClimate("indoors");
    SetAmbientLight(30);
    SetShort("Corridor");
    SetLong("You are in an east-west corridor on the first "
      "floor of the Virtual Campus administrative building. "
      "The campus mail room lies north of here, and a door to the south "+
      "leads into a stairwell. "+
      "A foyer and the building exit lie west of here.");
    SetExits( ([
	"north" : "/domains/campus/room/mailroom",
	"west" : "/domains/campus/room/foyer",
	"south" : "/domains/campus/room/stairwell",
	"east" : "/domains/campus/room/corridor" ]) );
    SetItems( (["corridor" : "This is a carpeted corridor, leading west.",
	"floor" : "The carpet is purple, and somewhat institutional.",
	"carpet" : "The carpet is purple, and somewhat institutional."]) );
    SetDoor("south","/domains/campus/doors/top_stairs");
    SetProperty("no attack", 1);
}
int CanReceive(object ob){
    if(ob && ob->GetRace() == "rodent"){
	message("info","You are repelled by rodenticide.",ob);
	return 0;
    }
    return 1;
}
void init(){
    ::init();
}
