48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
inherit "/lib/std/room";
|
|
|
|
void init() {
|
|
::init();
|
|
add_action("enter_opening", "enter");
|
|
add_action("go_southeast", "southeast");
|
|
}
|
|
|
|
void create() {
|
|
::create();
|
|
SetProperty("light", 2);
|
|
SetShort( "The tropical wilderness");
|
|
SetLong(
|
|
"You are inside a jungle that thickens along the path "
|
|
"northeast. The path widens west as it heads towards "
|
|
"the adventuring village of Praxis. You also notice "
|
|
"a small opening in the thick jungle cover southeast.");
|
|
SetItems(
|
|
(["jungle" : "A wilderness area full of outlaws and "
|
|
"mysterious things.\n",
|
|
"village" : "The adventurer's town of Praxis.",
|
|
"vegetation" : "It gets thicker to the east.",
|
|
"path" : "You can see it opening up towards the village west.",
|
|
"opening" : "Perhaps you could enter it?"]) );
|
|
SetExits(
|
|
(["northeast" : "/domains/Praxis/jungle",
|
|
"west" : "/domains/Praxis/wild1"]) );
|
|
}
|
|
|
|
int enter_opening(string str) {
|
|
if(!str) {
|
|
notify_fail("Enter what?\n");
|
|
return 0;
|
|
}
|
|
if(str != "opening" && str != "hole" && str != "jungle") {
|
|
notify_fail("That is not here to be entered.\n");
|
|
return 0;
|
|
}
|
|
this_player()->eventMoveLiving("/domains/Praxis/outland1", "into the jungle");
|
|
return 1;
|
|
}
|
|
|
|
int go_southeast() {
|
|
this_player()->eventMoveLiving("/domains/Praxis/outland1", "into the jungle");
|
|
return 1;
|
|
}
|
|
|