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

actor TK3Arrow: Fastprojectile
{
  obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 200
  damage 25
  scale 0.2
  DeathSound "Turok3/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  states
  {
  Spawn:
    TX22 A 6
    loop
  Death:
    TX22 A 0 A_SpawnItemEx ("TK3UsedArrow",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 25
  scale 0.2
  DeathSound "Turok3/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  states
  {
  Spawn:
    TX22 A 6
    loop
  Death:
    TX22 A 0 A_SpawnItemEx ("TK3UsedArrow",0,0,5,0,0,0,0,1,0)
    stop		
  }
}