Actor GD2ImprovedShotgun : Weapon
{
  Weapon.AmmoUse 1
  Weapon.AmmoGive 8
  Weapon.AmmoType "GDAutoShells"
  Decal "BulletChip"
  Inventory.PickupMessage "Automatic shotgun"
  Obituary "%o was blown away by %k's Automatic shotgun."
  Decal "BulletChip"
  Tag "Automatic Shotgun"
  Weapon.UpSound "UACElite/SGSwap"
  AttackSound "UACElite/AutoFire"
  Inventory.RestrictedTo "UACEliteOfficerClass"
  Scale 0.85
  States
  {
  Ready:
    GDPD A 1 A_WeaponReady
    Loop
  Deselect:
    GDPD A 1 A_Lower
	TNT1 A 0 A_Lower
	TNT1 A 0 A_Lower
    Loop
  Select:
    GDPD A 1 A_Raise
	TNT1 A 0 A_Raise
	TNT1 A 0 A_Raise
    Loop
  Fire:
    GDPD B 2 Bright A_FireBullets (6, 4, 10, 8, "BulletPuff")
    GDPD B 0 Bright A_GunFlash
	TNT1 A 0 A_FireCustomMissile("Shotgun12GCaseSpawn", 0,0,20,-5)
    GDPD B 0 Bright A_SetPitch (pitch-0.3)
    GDPD C 1 Bright
    GDPD DA 2
    GDPD A 14 A_ReFire
    Goto Ready
  }
}

Actor GDAutoShells : Ammo
{
	Inventory.Amount 10
	Inventory.Maxamount 100
	Ammo.Backpackamount 10
	Ammo.BackpackMaxamount 200
}