ACTOR CyborgCYBERPISTOL : Weapon
{
  Weapon.SelectionOrder 1900
  Weapon.AmmoUse 1
  Weapon.AmmoGive 20
  Weapon.AmmoType "Cyborgcells"
  +WEAPON.WIMPY_WEAPON
  Tag "IMC Flash Compressor Blaster"
    Weapon.BobRangeX 0.2
	Weapon.BobRangeY 0.2
	Inventory.RestrictedTo "CyborgClass"
  States
  {
  Ready:
    CPST A 1 A_WeaponReady
    Loop
  Deselect:
    CPST AA 1 A_Lower
	CPST A 0 A_Lower
    Loop
  Select:
   CPST AA 1 A_Raise
	CPST A 0 A_Raise
    Loop
  Fire:
  CPST A 1 OFFSET(0,32) A_PLAYWEAPONSOUND("CYBPFIRE")
  CPST B 0 A_GUNFLASH
  CPST B 2 BRIGHT OFFSET(0,34) A_FIRECUSTOMMISSILE("ATOMSHOT")
  CPST D 2 OFFSET(0,39)
  CPST D 2 OFFSET(0,36)
  CPST C 2 OFFSET(0,35)
  CPST C 2 OFFSET(0,34)
  CPST A 1 OFFSET(0,33)
  CPST A 5 OFFSET(0,32)
    Goto Ready
  Spawn:
    PIST A -1
    Stop
  }
  }