Actor AutoCannon : Weapon 150
{
	Weapon.slotnumber 4
	Weapon.ammotype "Cell"
	Obituary "%o got Demoted by %k's Auto-Cannon"
	Weapon.ammouse 2
	Weapon.ammogive 16
	Decal "Bulletchip"
	Inventory.pickupmessage "You got the UAC Heavy Grade Auto Cannon"
	
	States
	{
		Spawn:
			ACNZ A -1
			Loop
		
		Select:
			ACN1 A 1 A_Raise
			Loop
		
		Deselect:
			ACN1 A 1 A_Lower
			Loop
		
		Ready:
			ACN1 A 1 A_Weaponready
			Loop
			
		Fire:
		ACN1 A 1 A_Playsound("weapons/AutoCannonFire")
		ACF1 A 1 A_FireBullets(2,3,3,6,"BulletPuff")
		TNT1 A 0 A_Quakeex(2,2,0,15,0,128,"",QF_SCALEDOWN)
		ACN1 B 1 Offset(0,40)
		ACN1 C 0 Offset(0,48)
		ACN1 C 0 Offset(0,50)
		ACN1 C 0 Offset(0,44)
		ACN1 C 1 Offset(0,40)
		ACN1 B 0 Offset(0,36)
		ACN1 B 1 Offset(0,32)
		ACN1 A 1
		ACN1 A 1 A_Refire
		Goto Ready
	}
}