Actor SurvivalistAutoShotgun : Weapon
{
		Weapon.AmmoUse 1
		Weapon.AmmoGive 8
		Weapon.AmmoType "SurvAutoShell"
		Inventory.PickupMessage "You got the autoshotgun!"
		Obituary "%o was pounded by %k's autoshotgun."
		Attacksound "Weapons/Smasher"
		Decal "BulletChip"
		Tag "Autoshotgun"
		Inventory.RestrictedTo "SurvivalistClass"
	States
	{

		Deselect:
			SMAG A 1 A_Lower
			TNT1 A 0 A_Lower
			TNT1 A 0 A_Lower
			Loop
		Select:
			SMAG A 1 A_Raise
			TNT1 A 0 A_Raise
			TNT1 A 0 A_Raise
			Loop
		Ready:
			SMAG A 1 A_WeaponReady
			Loop
		Fire:
			SMAG A 2
			SMAG B 1 bright A_FireBullets (6, 6, 8, 10, "BulletPuff", FBF_NORANDOM|FBF_USEAMMO)
			SMAG B 0 bright A_SetPitch (pitch-0.9)
			SMAG CDE 1 Bright
			SMAG FGH 1 A_SetPitch (pitch+0.3)
			SMAG A 2 A_ReFire
			Goto Ready
		Flash:
			TNT1 A 4 Bright A_Light1
			TNT1 A 3 Bright A_Light2
			Goto LightDone
		Spawn:
			SMSG A -1
			Stop
	}
}

ACTOR SurvAutoShell : Ammo
{
Inventory.Amount 5
Inventory.MaxAmount 100
Ammo.BackpackAmount 5
Ammo.BackpackMaxAmount 200
}