38 lines
759 B
Text
38 lines
759 B
Text
// Plutoni Inc. Mortal Rifle (from UnSX 2)
|
|
// Slot 9, spawns shared with Candygun
|
|
|
|
Class MisterRifle : SWWMWeapon
|
|
{
|
|
int clipcount;
|
|
bool chambered, gchambered;
|
|
int firemode;
|
|
|
|
Property ClipCount : clipcount;
|
|
|
|
Default
|
|
{
|
|
Tag "$T_MORTALRIFLE";
|
|
Inventory.PickupMessage "$T_MORTALRIFLE";
|
|
Obituary "$O_MORTALRIFLE";
|
|
SWWMWeapon.Tooltip "$TT_MORTALRIFLE";
|
|
SWWMWeapon.GetLine "getmortalrifle";
|
|
Weapon.SlotNumber 9;
|
|
Weapon.SlotPriority 2.;
|
|
Weapon.SelectionOrder 750;
|
|
Weapon.AmmoType1 "MisterAmmo";
|
|
Weapon.AmmoGive1 1;
|
|
Weapon.AmmoType2 "MisterGAmmo";
|
|
Weapon.AmmoGive2 1;
|
|
SWWMWeapon.DropAmmoType "Cell";
|
|
MisterRifle.ClipCount 20;
|
|
Stamina 1600000;
|
|
+SWWMWEAPON.NOFIRSTGIVE;
|
|
+WEAPON.BFG;
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
XZW1 A -1;
|
|
Stop;
|
|
}
|
|
}
|