ACTOR TK2MPBore : Weapon
{
	Weapon.Kickback 100
		Scale 0.1
	Weapon.AmmoUse 1
	Weapon.AmmoGive 1
	Inventory.PickupSound "Turok2/Items/Pickup"
	 Weapon.AmmoType "TK2MPSmallCoreAmmo"
	Tag "Cerebral Bore (MP)"
  Weapon.BobStyle Alpha
  Weapon.BobSpeed 2.0
  Weapon.BobRangeX 0.0
  Weapon.BobRangeY 0.3 	
	Inventory.Icon "TKA2F0"
	States
	{
		Spawn:
		TKQ6 J -1
		Stop
	Ready:
    TK15 A 1
	TK15 B 1
	TK15 C 1
	TK15 D 1
	TK15 E 1
	TK15 F 1
	TK15 G 2
	TK15 H 1
	TK15 I 2 
    TK15 J 1 A_WeaponReady
		tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile1", random(0,0),0,0,0,0,random(0,0))
		tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile2", random(0,0),0,0,0,0,random(0,0))
    Goto Ready+9
	Deselect:
		TK16 I 2
		TK16 J 1
		TK16 K 2
		TK16 L 1
		TK16 M 1
		TK16 N 1
		TK16 O 1
		TK16 P 1
		TK09 A 0 A_Lower
		wait
			Select:
		TK19 A 0 A_Raise
		Loop
	Fire:
	TNT1 A 0 A_PlaySound ("Turok2MP64/Weapons/Bore","Weapon")
		TK15 K 2 A_FireCustomMissile ("TK2BoreShot")
		TK15 L 1
					tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
		TK15 M 2
		TK15 N 1
		TK15 O 2
					tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
		TK15 P 1
		TK15 Q 2
		TK15 R 1
		TK15 S 2
		TK15 T 1
		TK15 U 2
		TK15 V 1
		TK15 X 2
		TK15 Y 1
		TK15 Z 2
		TK16 A 1
					tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
	tnt1 A 0 A_FireCustomMissile("CbrMiraProjectile3", random(0,0),0,0,0,0,random(0,0))
		TK16 B 2
		TK16 C 1
		TK16 D 2
		TK16 E 1
		TK16 F 2
		TK16 G 1
		TK16 H 2
		Goto Ready+9
	}
}

actor TK2MPBoreShot
{
  obituary "%o got a noogie from %k."
  radius 8
  height 8
  speed 20
  damage 500
      radius 8
  height 8
  scale 0.2
  PROJECTILE
  	+BLOODSPLATTER
  +RANDOMIZE
    +SEEKERMISSILE
    +FORCEXYBILLBOARD
  states
  {
  Spawn:
	 TF37 A 6 A_PlaySoundEx("Turok2MP64/Weapons/BoreLoop","Body",1)
	 TF37 A 0 Bright A_BishopMissileWeave 
     TF37 A 3 Bright A_Tracer2
    loop
DEATH:
NULL A 0
TNT1 A 0 A_PlaySoundEx("Turok2MP64/Weapons/Boom","Weapon",0)
TNT1 A 0 A_StopSoundEx("Body")
NULL A 0 A_ALERTMONSTERS
NULL A 0 A_SPAWNITEMEX("TK2MPBoreBoom",0,0,0,random(0,0),random(0,0),0)
STOP
}}


ACTOR TK2MPBoreBoom
{
SCALE 3.0
  obituary "%o got a noogie from %k."
+NOGRAVITY
+BRIGHT
  +EXTREMEDEATH 
  +SKYEXPLODE
    +FORCEXYBILLBOARD

STATES
{
SPAWN:
NULL A 0
NULL A 0 A_QUAKE(2,200,1,350,"")
NULL A 0 A_EXPLODE(1020,200)
1588 HIJKLMNOPQRST 2
STOP
}}

ACTOR TK2MPBorePickup : Custominventory
{
   Scale 0.1
	Inventory.PickupSound "Turok2/Items/Pickup"
	Inventory.PickupMessage "Cerebral Bore (MP)"
   States
   {
   Spawn:
	 TKA1 J -1
	  loop
   Pickup:
	  TNT1 A 0 A_GiveInventory("TK2MPBore")
	   TNT1 A 0 A_PlaySound ("Turok2/Voice/Bore")
	  stop
   }
}