ACTOR NanoShotgun : Weapon
{
    +FLOORCLIP
	Weapon.SelectionOrder 3000
    Weapon.AmmoType "Shell"
    Weapon.AmmoGive 4
    Weapon.AmmoUse 1
    Weapon.KickBack 700
	Scale 0.8
	Inventory.RestrictedTo "MorseClass"
    Inventory.PickupMessage "Picked up a SPAS-12."
	Obituary  "%o was destroyed by %k's SPAS-12."
	Tag "SPAS-12"
    States
    {
    Spawn:
        SHOT B -1
        Loop
    Ready:
		NASG A 1 A_WeaponReady
		Loop
  Deselect:
	NASG A 1 A_Lower
	TNT1 A 0 A_Lower
	TNT1 A 0 A_Lower
	Loop
  Select:
	NASG A 1 A_Raise
	TNT1 A 0 A_Raise
	TNT1 A 0 A_Raise
    Loop
    Fire:
		NULL A 0 A_GunFlash
        NASG A 2 A_PlayWeaponSound("SWATSHOT")
		NASG A 0 BRIGHT A_Recoil(0.45)
        NASG Q 3 BRIGHT A_FireBullets(3, 5, 6, 5, "BulletPuff", 1)
		NASG A 1 BRIGHT A_SpawnItemEx("ShotCaseSpawn",30,0,29,0,0,0,0,128)
	    NASG I 1 A_PlaySound("SWATREL")
		NASG J 1
		NASG K 1
		NASG L 1
		NASG M 1
		NASG N 1
		NASG O 1
		NASG P 1
		NASG O 1
		NASG N 1
		NASG M 1
		NASG L 1
		NASG K 1
		NASG J 1
		NASG I 1
        goto Ready
}
}