ACTOR TK2Blade: Weapon
{
  Weapon.Kickback 100
  scale 0.07
  Tag "War Blade"
  Inventory.PickupMessage "War Blade"
  Weapon.BobStyle Alpha
  Weapon.BobSpeed 2.0
  Weapon.BobRangeX 0.0
  Weapon.BobRangeY 0.3  
  Obituary  "%o was sliced and diced by %k."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
	Inventory.Icon "TKA5A0"
		+WEAPON.MELEEWEAPON
  States
  {
  Spawn:
    TKQ7 A -1
    Loop
  Ready:
    TK28 A 1 
    TK28 B 1
    TK28 C 1
    TK28 D 1
    TK28 E 1
    TK28 F 1
	TK28 G 1
	TK28 H 1
	TK28 I 1
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/WarBladeUp","Weapon")
	TK28 J 1
	TK28 K 2
	TK28 L 1
	TK28 M 2
    TK28 N -1 A_WeaponReady
    Goto Ready+7
  Deselect:
    TL06 E 2
	TL06 F 1
	TL06 G 2
	TL06 H 1
	TL06 I 1
	TL06 J 1
	TL06 K 1
	TL06 L 1
	TL06 M 1
	TL06 N 1
    TK05 Y 0 A_Lower
    wait
  Select: 
    TK28 A 0 A_Raise 
    Loop  
  Fire: 
      TK01 A 0 A_Jump(128,"FireAlt")
	  TK01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
    TK28 O 2
    TK28 P 2 
    TK28 Q 2 
    TK28 R 2 
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/WarBladeAttack","Weapon")
    TK28 STUV 2
	TK28 X 2 A_CustomPunch(15, FALSE, 0, "TK2HitPuff")
    TK28 Y 2 A_CustomPunch(15, FALSE, 0, "TK2HitPuff")
    TK28 Z 2 A_CustomPunch(13, FALSE, 0, "TK2HitPuff")
    TK29 A 2
    TK29 BCDEFG 1
    Goto Ready+14
		FireAlt:
		TK01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
	TK29 HIJKLM 2
			TNT1 A 0 A_PlaySound ("Turok2/Weapons/Warbladeattack","Weapon")
	TK29 N 2
	TK29 O 2 A_CustomPunch(15, FALSE, 0, "TK2HitPuff")
	TK29 P 2 A_CustomPunch(15, FALSE, 0, "TK2HitPuff")
	TK29 Q 2 A_CustomPunch(13, FALSE, 0, "TK2HitPuff")
	TK29 RST 1
	TK29 UVXYZ 1
	Tl06 ABCD 1
    Goto Ready+14
		 SwingPower:
    TK01 A 0 A_Jump(128,"SwingPower2")
    TK28 O 1
    TK28 P 1 
    TK28 Q 1
    TK28 R 1
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/WarBladeAttack","Weapon")
    TK28 STUV 1
	TK28 X 1 A_CustomPunch(25, FALSE, 0, "TK2HitPuff")
    TK28 Y 1 A_CustomPunch(25, FALSE, 0, "TK2HitPuff")
    TK28 Z 1 A_CustomPunch(23, FALSE, 0, "TK2HitPuff")
    TK29 A 1
    TK29 BCDEFG 1
    Goto Ready+14
	 SwingPower2:
	TK29 HIJKLM 2
			TNT1 A 0 A_PlaySound ("Turok2/Weapons/Warbladeattack","Weapon")
	TK29 N 1
	TK29 O 1 A_CustomPunch(25, FALSE, 0, "TK2HitPuff")
	TK29 P 1 A_CustomPunch(25, FALSE, 0, "TK2HitPuff")
	TK29 Q 1 A_CustomPunch(23, FALSE, 0, "TK2HitPuff")
	TK29 RST 1
	TK29 UVXYZ 1
	T106 ABCD 1
    Goto Ready+14
  }
}

ACTOR TK2BladePickup : Custominventory
{
   Scale 0.05
	Inventory.PickupSound "Turok2/Items/Pickup"
    Inventory.PickupMessage "War Blade"
   States
   {
   Spawn:
	 TKB1 R -1
	  loop
   Pickup:
	  TNT1 A 0 A_GiveInventory("TK2Blade")
	  TNT1 A 0 A_PlaySound ("Turok2/Voice/WarBlade")
	  stop
   }
}