34 lines
867 B
C
34 lines
867 B
C
#include <lib.h>
|
|
#include ROOMS_H
|
|
|
|
inherit LIB_ROOM;
|
|
|
|
int tutorial = 0;
|
|
|
|
string DoDesc(){
|
|
string desc = "Welcome! To enter Oogtopia, type: %^%^GREEN%^%^enter oogtopia%^%^RESET%^%^/n/n";
|
|
string desc2 = "To enter a tutorial area, type: %^%^RED%^%^enter tutorial/n/n%^%^RESET%^%^";
|
|
return desc + ( tutorial ? desc2 : "");
|
|
}
|
|
|
|
void create() {
|
|
room::create();
|
|
SetClimate("indoors");
|
|
SetAmbientLight(30);
|
|
SetShort("Ooga Booga Central");
|
|
SetLong("This is party central, where the oogas get together to hang out and get wild.");
|
|
SetNoModify(0);
|
|
SetCoordinates("5000,5000,0");
|
|
SetItems( ([
|
|
"tutorial" : "A set of rooms to get familiar with this environment.",
|
|
"town" : "The main town.",
|
|
]) );
|
|
if(tutorial){
|
|
AddEnter("tutorial", "/domains/tutorial/room/start");
|
|
}
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|