ACTOR TKRWShotGun: Weapon
{
    obituary "%k sprayed %o with Shotgun Bullets."
	scale 0.4
		Weapon.AmmoUse1 1
	Weapon.AmmoGive1 50
	Weapon.AmmoType1 "Ammo_Shell"
			Weapon.AmmoUse2 1
	Weapon.AmmoType2 "Ammo_Shell"
	Inventory.PickupSound "TurokRageWars/Items/BulletWeaponPick"
	Weapon.Kickback 100
	Inventory.PickupMessage "Shotgun"
	States
	{
		Spawn:
		TDA1 M -1
		Stop
  Ready:
  	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
    TR21 A 1
    TR21 BCDEF 1
    TR21 F -1 A_WeaponReady
    Goto Ready+6
  Deselect:
    TR22 A 1
    TR22 BC 1
    TR22 C 0 A_Lower
    wait
	Select:
		TR21 A 0 A_Raise
		Loop
	Fire:
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/Shotgunfire","Weapon")
		TR21 GH 1
		TR21 I 2 BRIGHT A_FireBullets(3.0, 3, 5, 6, "BulletPuff")
		TR21 HJKLMNOPQRST 2
		TR21 UV 4
		TR21 XYZ 2 A_Refire
		Goto Ready+6
				  AltFire: 
    TR84 ABCDEFGHIJKLM 2
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TR84 NOPQRSTUVXYZ 2
	TR85 ABCDEFGH 2
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TR85 IJKLMNOPQRSTUVXYZ 2
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TR86 ABCDEFGHIJKLMNOPQ 2
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TR86 RSTUVXYZ 2
	TR87 ABCDEFGHIJKLMNOPQR 2
	TR87 R 2 A_Refire
	Goto AltRelease
   AltHold:
   TR87 R 1
    TR87 R 1 A_Refire
	Goto AltRelease
	AltRelease:
	  TNT1 A 0 A_Stopsound(7)
	  TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunAlt","Weapon")
	TR87 ST 2 
	TR87 Z 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff")
	TR87 UVXY 2
	TR87 Z 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff")
    TR88 ABC 2
	TR88 D 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff")
	TR88 EFGHI 2
	TR88 J 2 BRIGHT A_FireBullets(3.0, 3, 5, 25, "BulletPuff")
	TR88 KLMNOPQRSTUVX 2
	TNT1 A 0 A_PlaySound ("TurokRageWars/Weapons/ShotgunReady","Weapon")
	TR88 YZ 2
	TR89 ABCDEFGHI 2
    Goto Ready+6
	}
}