ACTOR TK2Bow : Weapon
{
  Weapon.Kickback 100
  scale 0.2
  	Weapon.AmmoUse 1
	Weapon.AmmoGive 5
	Weapon.AmmoType "Ammo_Arrow"
  Inventory.PickupMessage "Bow"
  Obituary  "%o meets %k's blade and died."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
	Inventory.Icon "T1A5C0"
  States
  {
  Spawn:
    TBA1 U -1
    Loop
  Ready:
    TW06 A 2 
    TW06 B 2
    TW06 C 2
    TW06 DEFGHIJ 2
    TW06 K -1 A_WeaponReady
    Goto Ready+4
  Deselect:
    TW08 GH 2
	TW08 IJKLMNOP 2
    TW08 P 0 A_Lower
    wait
  Select: 
    TW06 A 0 A_Raise 
    Loop  
  Fire:
    TW06 L 2 A_PlaySound("Turok2/Weapons/BowPull","Weapon")
    TW06 M 1 
    TW06 N 1
    TW06 OPQRSTUVXYZ 1
	TW07 ABCDEFGHIJKLMNOP 1
    TW07 Q 2 A_Refire     
	TNT1 A 0 A_FireCustomMissile ("TK2ArrowSlow")
	TW07 R 2 A_PlaySound("Turok2/Weapons/BowFire","Weapon")
    TW07 S 2
    TW07 T 2  
    TW07 U 2 
    TW07 V 2 A_JumpIfNoAmmo("deselect")
    TW07 X 2  
    TW07 Y 2 
    TW07 Z 2
    TW08 ABCDEF 2
     Goto Ready+10
    TW06 T 2  
     Goto Ready+10
    Hold:
    TW07 Q 2  
    TW07 Q 2 A_Refire
    Goto Release
    Release:
	TNT1 A 0 A_FireCustomMissile ("TK2Arrow")
	TW07 R 2 A_PlaySound("Turok2/Weapons/BowFire","Weapon")
    TW07 S 2
    TW07 T 2  
    TW07 U 2 
    TW07 V 2 A_JumpIfNoAmmo("deselect")
    TW07 X 2  
    TW07 Y 2 
    TW07 Z 2
    TW08 ABCDEF 2
     Goto Ready+10
    TW06 T 2  
     Goto Ready+10
  }
}

actor TK2Arrow: Fastprojectile
{
  obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 150
  damage 14
  scale 0.1
  DeathSound "Turok2/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
    +BLOODSPLATTER
  states
  {
  Spawn:
    TB01 A 6
    loop
  Death:
    TB01 A 0 A_SpawnItemEx ("TK2UsedArrow",0,0,5,0,0,0,0,1,0)
    stop	
  }
}

actor TK2ArrowSlow: Fastprojectile
{
  obituary "%k pinned %o to the wall."
  radius 8
  height 8
  speed 90
  damage 14
  scale 0.1
  DeathSound "Turok2/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
    +BLOODSPLATTER
  states
  {
  Spawn:
    TB01 A 6
    loop
  Death:
    TB01 A 0 A_SpawnItemEx ("TK2UsedArrow",0,0,5,0,0,0,0,1,0)
    stop	
  }
}

