// --------------------------------------------------------------------------
//
// Aug (Weapon)
//
// --------------------------------------------------------------------------




ACTOR "Aug_RAT" : AUG //5010
{
	+POWERED_UP 
	Weapon.SisterWeapon AUG

//+AMMO_OPTIONAL

	Weapon.SelectionOrder 1900

  weapon.ammotype1 "762mmAmmo"
  weapon.ammouse1 1
  weapon.ammogive1 30
	obituary "%k killed %o with Aug."
	+WEAPON.WIMPY_WEAPON
	Inventory.Pickupmessage "Picked up an Aug."
	Tag "Aug"
	Weapon.UpSound "Aug/Ready"
	//AttackSound "Aug/Fire" 
	Scale 0.1425
	//+NOAUTOFIRE

	States
	{
	
	
	AltFire:
	TNT1 A 0 ACS_Execute(781, 0, 0, 0, 0)
	Goto Ready




	Fire:
	W02E G 0 A_JumpIfNoAmmo("Ready")	
TNT1 A 0 A_JumpIfInventory("IsBot",1,"BotFire")

	TNT1 A 0 A_JumpIfInventory("Augwillzoom",1,"ToFIREZOOM")
		W02D A 1 A_GunFlash
		W02D BC 1 A_WEAPONREADY(WRF_NOFIRE)
		
		
		W02D D 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D E 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D F 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D G 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D H 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D I 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")		
		W02D J 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D K 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D L 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D M 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D N 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D O 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D P 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D Q 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D R 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D S 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D T 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D U 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D V 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D W 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D X 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D Y 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02D Z 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")

		W02E A 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02E B 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02E C 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02E D 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02E E 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")
		W02E F 1 A_WEAPONREADY        TNT1 A 0 A_JumpIfInventory("IsAltFire",1,"ToZOOM")

		Goto Ready




	ToFireZoom:
	SCOP B 0 A_JumpIfNoAmmo("Ready")	
		SCOP B 1 A_GunFlash
		SCOP B 4 A_WEAPONREADY(WRF_NOFIRE)
		Goto ReadyZoom






	}
}