#include <lib.h>
#include <rooms.h>
inherit LIB_ROOM;
string LongDesc(){
string desc = "Immortals come here to communicate with each other about "+
"the world they are building. The Adventurer's Guild "+
"is north. The Arch Room is south. To visit the Dead Souls "+
"test and development mud, go west. The test lab facilities are east.";
desc += "\nA sign reads: "+load_object(ROOM_ARCH)->SignRead();
return desc;
}
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("Domains Room");
SetLong("This room provides a convenient access point to various domain start rooms and featured realms.");
SetItems(([
"Ylsrim" : "This is the entry point for the Ylsrim domain.",
"campus" : "This is the entry point for the campus domain.",
"examples" : "This is the entry point for the examples domain.",
"town" : "This is the entry point for the town domain.",
({ "sign" }) : "A sign you can read.",
]));
SetEnters( ([
"campus" : "/domains/campus/room/start",
"ylsrim" : "/domains/Ylsrim/room/bazaar",
"examples" : "/domains/examples/room/start.c",
"town" : "/domains/town/room/vill_road1",
]) );
SetProperty("no attack", 1);
SetProperty("nopeer",1);
SetExits(([
"north" : "/domains/default/room/wiz_hall2",
]));
SetInventory(([
]));
SetRead("sign", (: load_object(ROOM_ARCH)->SignRead() :) );
}
int CanReceive(object ob) {
if(playerp(ob) && !creatorp(ob) && !present("testchar badge",ob) &&
!member_group(ob,"TEST")) {
message("info","Creator staff only, sorry.", ob);
return 0;
}
if(ob->GetRace() == "rodent"){
message("info","You are repelled by rodenticide.",ob);
return 0;
}
return 1;
}
void init(){
::init();
}