40 lines
1.4 KiB
C
40 lines
1.4 KiB
C
#include <lib.h>
|
|
|
|
inherit LIB_ROOM;
|
|
|
|
void create() {
|
|
::create();
|
|
SetProperty("light", 1);
|
|
SetProperty("indoors", 1);
|
|
SetProperty("no castle", 1);
|
|
SetListen("default", "Sounds taunt you from every direction.");
|
|
SetSmell("default", "Musty odors arise from deeper into the "
|
|
"mountain.");
|
|
SetShort( "Tunnel entrance under the Daroq Mountains");
|
|
SetLong(
|
|
"You are inside the poorly lit tunnel of goblins under the Daroq "
|
|
"Mountains. The only source of light is the opening to the outside. "
|
|
"As the tunnel drops down deeper into the mountain, it gets even darker."
|
|
" On the east wall a thick clump of bushes has grown up in "
|
|
"front of a small cave making it difficult to see it. "
|
|
"Off to the northeast you can see a rocky path.");
|
|
SetItems(
|
|
(["tunnel" : "It is very dim.",
|
|
"light" : "There is not much of it.",
|
|
"opening" : "It leads to the outside world.",
|
|
"mountain" : "You feel evil throughout it."]) );
|
|
SetExits( ([
|
|
"out" : "/domains/Praxis/pass2",
|
|
]) );
|
|
AddExit("down", "/domains/Praxis/mountains/tunnel1", (: "go_down" :));
|
|
}
|
|
|
|
int go_down() {
|
|
if(this_player()->query_level() > 10) {
|
|
message("my_action", "A magic force prevents you from going "
|
|
"further into the mountain.", this_player());
|
|
return 0;
|
|
}
|
|
return 1;
|
|
}
|