ACTOR UACMarineShotgun : Weapon
{
  Weapon.SelectionOrder 1300
  Weapon.AmmoUse 1
  Weapon.AmmoGive 8
  Weapon.AmmoType "Shell"
  Inventory.PickupMessage "$GOTSHOTGUN"
  Obituary "$OB_MPSHOTGUN"
  Tag "12 Gauge Shotgun"
  Inventory.RestrictedTo "UACMarineClass"
  States
  {
  Ready:
  TNT1 A 0 A_PLAYWEAPONSOUND("sg-get")
    TSHT A 1 OFFSET(9,128)
	TSHT A 1 OFFSET(7,96)
	TSHT A 1 OFFSET(5,72)
	TSHT A 1 OFFSET(3,48)
	TSHT A 1 OFFSET(1,36)
    GOTO READY2
	Ready2:
    TSHT A 1 A_WeaponReady
    Loop
  Deselect:
    TSHT AA 0 A_Lower
	TSHT A 1 A_Lower
    Loop
  Select:
    TSHT AA 0 A_Raise
	TSHT A 0 A_Raise
    Loop
  Fire:
   TSHT A 1 
   TNT1 A 0 A_PLAYWEAPONSOUND("SGTFIRE")
   TSHT B 1 OFFSET(0,37) BRIGHT A_FireBullets(6,3,12,2,"SKIPPUFF")
   TSHT C 1 OFFSET(0,39) BRIGHT
   TSHT A 1 OFFSET(0,40)
   TSHT A 1 OFFSET(0,39)
   TSHT A 1 OFFSET(0,37)
   TSHT D 1 OFFSET(3,28)
   TSHT D 1 OFFSET(2,30)
   TSHT D 1 OFFSET(0,32)
   TSHT E 1 OFFSET(2,30)
   TSHT E 1 OFFSET(0,32)
   TNT1 A 0 A_PLAYWEAPONSOUND("PUMP2")
   TSHT F 2 OFFSET(-1,30)
   TSHT F 2 OFFSET(0,32)
   TNT1 A 0 A_PLAYWEAPONSOUND("PUMP1")
   TSHT E 1 OFFSET(0,32)
   TSHT E 1 OFFSET(2,30)
   TSHT D 1 OFFSET(0,32)
   TSHT D 1 OFFSET(2,30)
   TSHT D 1 OFFSET(3,28)
   TSHT A 3
    Goto Ready2

  Spawn:
    HUNT A -1
    Stop
  }
}