ACTOR TKRWAssaultRifle : Weapon
{
    obituary "%o took a fatal rifle round from %k."
	Weapon.SelectionOrder 800
	scale 0.4
	Tag "Assault Rifle"
	Weapon.AmmoUse1 1
	Weapon.AmmoGive1 50
	Weapon.AmmoType1 "TKRWBullets"
	Weapon.AmmoUse2 1
	Weapon.AmmoType2 "TKRWBullets"
	Inventory.PickupSound "TurokRageWars/Items/BulletWeaponPick"
	Weapon.Kickback 100
	inventory.Icon "TK65N0"
	Inventory.PickupMessage "Assault Rifle"
	Weapon.BobStyle Alpha
  Weapon.BobSpeed 2.0
  Weapon.BobRangeX 0.0
  Weapon.BobRangeY 0.3   
	States
	{
		Spawn:
		TK66 A -1
		Stop
  Ready:
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/AssaultRifleReady","Weapon")
    TK01 A 1
    TK01 B 1
    TK01 C 1
    TK01 D -1 A_WeaponReady
    Goto Ready+3
  Deselect:
    TK01 X 1
    TK01 YZ 1
    TK01 Z 0 A_Lower
    wait
	Select:
		TK01 A 0 A_Raise
		Loop
	Fire:
	    TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/AssaultRifleFire","Weapon")
		TK01 C 1 BRIGHT A_FireBullets(1, 3, 1, 17, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
		TK01 DEFGHIJKLMNOP 1
		TK01 STU 1 A_Refire
		Goto Ready+3
	AltFire:
	    TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/AssaultRifleAlt","Weapon")
		TK70 A 2 BRIGHT A_FireBullets(1, 6, 1, 5, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
		TK70 B 2
		TK70 B 1 A_Refire
		Goto Ready+3
	}
}