book.c

ds2.1.1/lib/obj/book.c · 426 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <vendor_types.h>
inherit LIB_BOOK;

void create(){
    ::create();
    SetKeyName("generic book");
    SetId( ({"book"}) );
    SetAdjectives( ({"generic","sample","template"}) );
    SetShort("a generic book");
    SetLong("This is a mostly empty book.");
    SetMass(20);
    SetBaseCost("silver",10);
    SetVendorType(VT_TREASURE);
    SetTitle("The Sample Book");
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571