ACTOR TKRWShotGun: Weapon
{
    obituary "%k sprayed %o with Shotgun Bullets."
	scale 0.4
	Weapon.SelectionOrder 1200
		Weapon.AmmoUse1 6
	Weapon.AmmoGive1 50
	Weapon.AmmoType1 "TKRWBullets"
			Weapon.AmmoUse2 10
	Weapon.AmmoType2 "TKRWBullets"
	Tag "Shotgun"
	Inventory.PickupSound "TurokRageWars/Items/BulletWeaponPick"
	Weapon.Kickback 100
	inventory.Icon "TK67A0"
	Inventory.PickupMessage "Shotgun"
	Weapon.BobStyle Alpha
  Weapon.BobSpeed 2.0
  Weapon.BobRangeX 0.0
  Weapon.BobRangeY 0.3   
	States
	{
		Spawn:
		TK66 M -1
		Stop
  Ready:
  	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
    TK21 A 1
    TK21 BCDEF 1
    TK21 F -1 A_WeaponReady
    Goto Ready+6
  Deselect:
    TK22 A 1
    TK22 BC 1
    TK22 C 0 A_Lower
    wait
	Select:
		TK21 A 0 A_Raise
		Loop
	Fire:
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/Shotgunfire","Weapon")
		TK21 GH 1
		TK21 I 2 BRIGHT A_FireBullets(3.0, 3, 5, 6, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
		TK21 JKLMNOPQRST 1
		TK21 UV 1
		TK21 XYZ 2
		Goto Ready+6
				  AltFire: 
    TK84 ABCDEFGHIJKLM 1
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TK84 NOPQRSTUVXYZ 1
	TK85 ABCDEFGH 1
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TK85 IJKLMNOPQRSTUVXYZ 1
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TK86 ABCDEFGHIJKLMNOPQ 1
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TK86 RSTUVXYZ 2
	TK87 ABCDEFGHIJKLMNOPQR 1
	TK87 R 2 A_Refire
	Goto AltRelease
   AltHold:
   TK87 R 1
    TK87 R 1 A_Refire
	Goto AltRelease
	AltRelease:
	  TNT1 A 0 A_Stopsound(7)
	  TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunAlt","Weapon")
	TK87 ST 2 
	TK87 Z 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
	TK87 UVXY 2
	TK87 Z 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
    TK88 ABC 2
	TK88 D 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
	TK88 EFGHI 2
	TK88 J 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff",FBF_USEAMMO|FBF_NORANDOM)
	TK88 KLMNOPQRSTUVX 2
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TK88 YZ 2
	TK89 ABCDEFGHI 2
    Goto Ready+6
	}
}