27 lines
757 B
C
27 lines
757 B
C
#include <lib.h>
|
|
#include <vendor_types.h>
|
|
inherit LIB_FIREARM;
|
|
|
|
void create(){
|
|
::create();
|
|
SetKeyName("gun");
|
|
SetId(({"gun","pistol","piece","revolver"}));
|
|
SetAdjectives(({".357","357","magnum"}));
|
|
SetShort("a .357 magnum revolver");
|
|
SetLong("This is a thick, heavy chunk of weaponry that fires some very "+
|
|
"serious rounds. Bullets are loaded individually into it, and they, along with spent "+
|
|
"shells, remain in the cylinder until unloaded.");
|
|
SetCaliber(357);
|
|
SetFirearmType("revolver");
|
|
SetFirearmName("revolver");
|
|
SetAmmoType("magnum");
|
|
SetMaxAmmo(6);
|
|
SetMass(20);
|
|
SetBaseCost("silver", 1200);
|
|
SetVendorType(VT_WEAPON);
|
|
SetMagnum(30);
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|