ACTOR TK3Bow : Weapon
{
  Weapon.Kickback 100
  scale 0.2
  	Weapon.AmmoUse 1
	Weapon.AmmoGive 20
	Weapon.AmmoType "TK3ArrowAmmo"
  Inventory.PickupMessage "Bow"
  	inventory.Icon "TKA5E0"
  Obituary  "%o meets %k's blade and died."
  	Inventory.PickupSound "Turok3/Items/PickupWeapon"
  States
  {
  Spawn:
    TKA3 A -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound ("Turok3/Weapons/BowUp","Weapon")
    TK04 A 2 
    TK04 B 2
    TK04 C 2
    TK04 D 2
    TK04 D -1 A_WeaponReady
    Goto Ready+4
  Deselect:
    TK04 U 2
    TK04 VX 2
	TK04 Y 2
    TK04 Y 0 A_Lower
    wait
  Select: 
    TK04 A 0 A_Raise 
    Loop  
  Fire:
    TK04 E 2 A_PlaySound("Turok3/Weapons/BowPull","Weapon")
    TK04 F 2 
    TK04 G 2
    TK04 H 2
    TK04 I 2 A_Refire     
	TNT1 A 0 A_FireCustomMissile ("TK3ArrowSlow")
	TK04 K 2 A_PlaySound("Turok3/Weapons/BowAttack","Weapon")
    TK04 L 2
    TK04 M 2  
    TK04 N 2 
    TK04 O 2 A_JumpIfNoAmmo("deselect")
    TK04 P 2  
    TK04 Q 2 
    TK04 R 2
    TK04 S 2  
    TK04 T 2 
    Goto Ready+4
    Hold:
    TK04 J 2  
    TK04 J 2 A_Refire
    Goto Release
    Release:
	TNT1 A 0 A_FireCustomMissile ("TK3Arrow")
	TK04 K 2 A_PlaySound("Turok3/Weapons/BowAttack","Weapon")
    TK04 L 2
    TK04 M 2  
    TK04 N 2 
    TK04 O 2 A_JumpIfNoAmmo("deselect")
    TK04 P 2  
    TK04 Q 2 
    TK04 R 2
    TK04 S 2  
    TK04 T 2 
     Goto Ready+4
    TK04 T 2  
     Goto Ready+6 
  }
}

actor TK3Arrow: Fastprojectile
{
  obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 200
  damage 13
  scale 0.2
  DeathSound "Turok3/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  states
  {
  Spawn:
    TF22 A 6
    loop
  Death:
    TF22 A 0 A_SpawnItemEx ("UsedArrow",0,0,5,0,0,0,0,1,0)
    stop	
  }
}

actor TK3ArrowSlow: Fastprojectile
{
  obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 100
  damage 13
  scale 0.2
  DeathSound "Turok3/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  states
  {
  Spawn:
    TF22 A 6
    loop
  Death:
    TF22 A 0 A_SpawnItemEx ("UsedArrow",0,0,5,0,0,0,0,1,0)
    stop	
  }
}