9mmclip.c

ds3.0/lib/domains/town/obj/9mmclip.c · 694 B

From the archive ds3.0.zip

Download the archive   « Back to the archive contents

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

void create(){
    clip::create();
    SetKeyName("9mm clip");
    SetId(({"clip","magazine"}));
    SetAdjectives(({"9mm","ammunition","ammo","9 millimeter","pistol"}));
    SetShort("a 9 millimeter pistol ammunition clip");
    SetLong("This is a slender, spring-loaded metal container designed "+
            "to feed a 9 millimeter pistol with bullets.");
    SetMillimeter(9);
    SetMaxAmmo(15);
    SetAmmoType("acp");
    SetVendorType(VT_TREASURE);
    SetMass(5);
    SetBaseCost("silver", 45);
    SetInventory(([
                "/domains/town/obj/9mmround" : 15
                ]));
}

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

Site Stats

Snippets: 1791
Codebases: 571