key.c

ds3.0/lib/secure/obj/key.c · 396 B

From the archive ds3.0.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_ITEM;

string RetStr(){
    return file_name(this_object());
}

static void create() {
    item::create();
    SetKeyName("key");
    SetId( ({ "key", "sample key" }) );
    SetAdjectives( ({ "simple","sample" }) );
    SetShort((: RetStr :));
    SetLong((: RetStr :));
    SetMass(50);
    SetBaseCost(1);
    SetDisableChance(100);
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571