9mmclip.c

ds2.4.1/lib/domains/town/obj/9mmclip.c · 607 B

From the archive ds2.4.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <vendor_types.h>
inherit "/lib/clip";

void create(){
    ::create();
    SetKeyName("9mmclip");
    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);
    SetInventory(([
	"/domains/town/obj/round2" : 15
      ]));
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571