ACTOR TK3SliencedPistol : Weapon
{
  Weapon.Kickback 100
  scale 0.2
	+WEAPON.NOALERT
     	Weapon.AmmoUse 1
	Weapon.AmmoGive 20
	Weapon.AmmoType "TK3SmallPistolAmmo"
	inventory.Icon "TKA5T0"
  Inventory.PickupMessage "Slienced Pistol"
  Obituary  "%k Slienced %o with a Slienced Pistol."
  	Inventory.PickupSound "Turok3/Items/PickupWeapon"
  States
  {
  Spawn:
    TKA3 S -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound ("Turok3/Weapons/SliencedPistolUp","Weapon")
    TK12 A 2 
    TK12 B 2
    TK12 C 2
    TK12 D 2
    TK12 E 2
    TK12 F 2
    TK12 G 2
	TK12 H 2
	TK12 I 2
    TK12 I -1 A_WeaponReady
    Goto Ready+10
  Deselect:
    TK12 U 2
    TK12 VXYZ 2
	TK13 ABCDE 2
    TK09 E 0 A_Lower
    wait
  Select: 
    TK12 A 0 A_Raise 
    Loop  
  Fire: 
 	TNT1 A 0 A_PlaySound ("Turok3/Weapons/SliencedPistolAttack","Weapon")
    TK12 J 2 BRIGHT A_FireBullets(0, 0, 1, 10, "BulletPuff")
	TNT1 A 0 A_SpawnItemEx("TK3PistolCasing", 30,cos(pitch)*12,sin(-pitch)*10+30, frandom(0.5,1.2),frandom(0.5,1.2),frandom(1.5,2.5))
    TK12 L 2
    TK12 M 2  
    TK12 N 2
    TK12 O 2 
    TK12 P 2 A_Refire
	TK12 Q 2 
	TK12 R 2
	TK12 S 2
	TK12 T 2
    Goto Ready+10
  }
}