ACTOR TK3SliencedPistol : Weapon
{
  Weapon.Kickback 100
  scale 0.2
	+WEAPON.NOALERT
     	Weapon.AmmoUse 1
	Weapon.AmmoGive 20
	Weapon.AmmoType "Ammo_PistolBullets"
	inventory.Icon "T3A5T0"
  Inventory.PickupMessage "Slienced Pistol"
  Obituary  "%k Slienced %o with a Slienced Pistol."
  	Inventory.PickupSound "Turok3/Items/PickupWeapon"
  States
  {
  Spawn:
    TEA3 S -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound ("Turok3/Weapons/SliencedPistolUp","Weapon")
    TT12 A 2 
    TT12 B 2
    TT12 C 2
    TT12 D 2
    TT12 E 2
    TT12 F 2
    TT12 G 2
	TT12 H 2
	TT12 I 2
    TT12 I -1 A_WeaponReady
    Goto Ready+10
  Deselect:
    TT12 U 2
    TT12 VXYZ 2
	TT13 ABCDE 2
    TK09 E 0 A_Lower
    wait
  Select: 
    TT12 A 0 A_Raise 
    Loop  
  Fire: 
 	TNT1 A 0 A_PlaySound ("Turok3/Weapons/SliencedPistolAttack","Weapon")
    TT12 J 2 BRIGHT A_FireBullets(0, 0, 1, 9, "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))
    TT12 L 2
    TT12 M 2  
    TT12 N 2
    TT12 O 2 
    TT12 P 2 A_Refire
	TT12 Q 2
	TT12 R 2
	TT12 S 2
	TT12 T 2
    Goto Ready+10
  }
}