knife.c

ds3.0/lib/domains/campus/weap/knife.c · 484 B

From the archive ds3.0.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <damage_types.h>
#include <vendor_types.h>

inherit LIB_ITEM;

static void create() {
    item::create();
    SetKeyName("knife");
    SetId( ({ "knife"}));
    SetAdjectives( ({ "small","utility"}));
    SetShort("a small utility knife");
    SetLong("A small utility knife.");
    SetMass(40);
    SetBaseCost("silver",5);
    SetVendorType(VT_WEAPON);
    SetClass(2);
    SetDamageType(KNIFE);
    SetWeaponType("knife");
}

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

Site Stats

Snippets: 1791
Codebases: 571