ACTOR TK2FlameThrower : Weapon
{
  Weapon.Kickback 100
  scale 0.1
    Weapon.AmmoUse 1
	Weapon.AmmoGive 50
	Weapon.AmmoType "Ammo_GasTank"
  Inventory.PickupMessage "Flame Thrower"
  Obituary  "%o lost his head by %k."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
	Inventory.Icon "T1A5E0"
  States
  {
  Spawn:
    TBA1 H -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound("Turok2/Weapons/FlameThrowidle",7,1,TRUE)
    TW51 A 2 
    TW51 B 2
    TW51 C 2
    TW51 D 2
    TW51 E 2
    TW51 F 2
	TW51 GHIJKLMN 2
    TW51 O -1 A_WeaponReady
    Goto Ready+7
  Deselect:
  TNT1 A 0 A_Stopsound(7)
    TW52 EFGHIJKL 2
    TW52 M 2
    TW52 Y 0 A_Lower
    wait
  Select: 
    TW51 A 0 A_Raise 
    Loop  
  Fire: 
 	TNT1 A 0 A_PlaySound("Turok2/Weapons/FlameThrowfire",7,1,TRUE)

	Goto Hold
	Hold:
	    TW51 P 2
    TW51 Q 1  A_FireCustomMissile("TK2Flamethrowed", 2, 1, 9, 0)
    TW51 R 1 
    TW51 S 1  A_FireCustomMissile("TK2Flamethrowed", 2, 1, 9, 0)
    TW51 T 1
    TW51 U 1  A_FireCustomMissile("TK2Flamethrowed", 2, 1, 9, 0)
    TW51 V 1
    TW51 X 1 A_FireCustomMissile("TK2Flamethrowed", 2, 1, 9, 0)
	TW51 Y 1
	TW51 Z 1 A_ReFire
  Goto Rest
  Rest:
  TNT1 A 0 A_PlaySound("Turok2/Weapons/FlameThrowidle",7,1,TRUE)
	TW52 ABCDE 2
    Goto Ready+15
  }
}

ACTOR TK2Flamethrowed
{   
  Speed 35
  Damage 7
  Scale 0.1
      radius 8
  height 8
  Projectile
	  obituary "%o got torched by %k."
	    -NOGRAVITY
			+RIPPER
  +FORCEXYBILLBOARD
  +RANDOMIZE
  States
  {
  Spawn:
    1588 HIJKLMNOPQRST 2
    stop
}}