ACTOR GD2Chainsaw : weapon
{
  Weapon.Kickback 0
  Weapon.SelectionOrder 2200
  SCALE 0.95
  Weapon.UpSound "UACElite/ChainsawUp"
  Weapon.ReadySound "UACElite/ChainsawIdle"
  Inventory.PickupMessage "$GOTCHAINSAW"
  Obituary "%o was shredded by %k's Heavy Chainsaw."
  Tag "Heavy Chainsaw"
  Inventory.RestrictedTo "UACEliteOfficerClass"
  +WEAPON.MELEEWEAPON
  States
  {
  Ready:
    GDSW A 2 A_WeaponReady
    Loop
  Deselect:
    GDSW A 1 A_Lower
	TNT1 A 0 A_Lower
	TNT1 A 0 A_Lower
    Loop
  Select:
    GDSW A 1 A_Raise
	TNT1 A 0 A_Raise
	TNT1 A 0 A_Raise
    Loop
  Fire:
    GDSW AB 2
  HOLD:
    GDSW CD 2 A_Saw ("UACElite/ChainsawFire", "UACElite/ChainsawHit", 15, "BulletPuff", SF_NORANDOM)
    GDSW B 0 A_ReFire
    Goto Ready
  Spawn:
    GDSW E -1
    Stop
  }
}