47 lines
1.7 KiB
C
47 lines
1.7 KiB
C
#include <lib.h>
|
|
inherit LIB_ROOM;
|
|
|
|
static void create() {
|
|
room::create();
|
|
SetClimate("indoors");
|
|
SetAmbientLight(30);
|
|
SetShort("Probability Lab 2");
|
|
SetLong("This is a clean, antiseptic lab with "
|
|
"gleaming white walls. On the west wall are "
|
|
"three doors: "
|
|
"one %^RED%^red%^RESET%^, "
|
|
"one %^GREEN%^green%^RESET%^, "
|
|
"one %^BLUE%^blue%^RESET%^. "
|
|
"\n"
|
|
"%^GREEN%^There is a large sign on the wall you can read.%^RESET%^");
|
|
SetItems( ([
|
|
({ "wall","walls","north wall"}) : "Shiny, white laboratory walls.",
|
|
"red room" : "There's no red room here.",
|
|
"green room" : "There's no green room here.",
|
|
"blue room" : "There's no blue room here.",
|
|
]) );
|
|
SetExits( ([
|
|
"northeast" : "/domains/campus/room/wiz_lab",
|
|
]) );
|
|
SetInventory(([
|
|
"/domains/campus/npc/charles" : 1,
|
|
"/domains/campus/obj/pedestal2" : 1,
|
|
]));
|
|
AddItem( ({"sign","sign on the wall"}), "A sign you can read.",({"large"}) );
|
|
|
|
SetEnters( ([
|
|
"red room" : "/domains/campus/room/red_room2",
|
|
"green room" : "/domains/campus/room/green_room2",
|
|
"blue room" : "/domains/campus/room/blue_room2"
|
|
]) );
|
|
SetDoor("red room","/domains/campus/doors/red_door2");
|
|
SetDoor("green room","/domains/campus/doors/green_door2");
|
|
SetDoor("blue room","/domains/campus/doors/blue_door2");
|
|
SetNoClean(1);
|
|
}
|
|
void init(){
|
|
::init();
|
|
SetRead(({"sign","sign on the wall"}), "Press the button on "
|
|
"the pedestal to reset the experiment.");
|
|
}
|