vill_road1.c

dsII/lib/domains/town/room/vill_road1.c · 896 B

From the archive dsII.zip

Download the archive   « Back to the archive contents

#include <lib.h>
inherit LIB_ROOM;

int readSign() {
    this_player()->more("/domains/town/txt/hints_sign.txt");
    return 1;
}

static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("Village Road Intersection");
    SetLong("You are in the main intersection of the village, where Saquivor road extends north and south, and Nightmare lane intersects east to west.");

    SetItems( ([
	"sign":"A large sign on the road. To read it, 'read sign'.",
      ]) );
    SetNoModify(0);
    SetInventory(([
	"/domains/town/obj/clocktower" : 1,
      ]));
    SetEnters( ([
      ]) );
    SetRead("sign", (: readSign :) );
    SetExits( ([
	"north" : "/domains/town/room/road",
	"east" : "/domains/town/room/vill_road2",
	"west" : "/domains/town/room/road1",
	"south" : "/domains/town/room/south_road1",
      ]) );
}

void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571