sample_two.c

ds2.10/lib/realms/template/area/room/sample_two.c · 532 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include "../customdefs.h"

inherit LIB_ROOM;

static void create() {
    room::create();
    SetClimate("indoors");
    SetAmbientLight(30);
    SetShort("Second Sample Room");
    SetLong("This is another sample room.");
    SetItems( ([
                "template" : "That's what this is.",
                ]) );
    SetInventory(([
                MY_OBJ "/case" :1,
                ]));
    SetExits(([
                "west" : MY_AREA "/room/sample_room",
                ]));

}

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

Site Stats

Snippets: 1791
Codebases: 571