actor "Striker" : RGUWeapon
{
  obituary "%k smacked %o over with the Striker."
  inventory.pickupmessage "Striker"  
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Ready:
    STKA A 2 //A_PlayWeaponSound("fal/select")
    STKA BCDEFGHIJKLMNOO 2 A_WeaponReady(WRF_NOPRIMARY)
    STKA O 0 A_JumpIfNoAmmo("Reload")
    STKA O 0 A_JumpIfInventory("Aiming",1,5)
    STKA O 0 A_JumpIfInventory("Reloading",1,"Reload")
    STKA O 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    STKA O 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA O 1 A_WeaponReady
    goto Ready+16
    STKC F 0 A_JumpIfInventory("Reloading",1,"Reload")    
    STKC F 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    STKC F 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKC F 1 A_WeaponReady(WRF_NOBOB)
    goto Ready+22
  Deselect:
    STKA O 0 A_TakeInventory("Aiming",1)
    STKA O 0 ACS_ExecuteAlways(602,0,0,0,0)
    STKA O 0 A_TakeInventory("Reloading",1)
    STKA O 0 A_ZoomFactor(1.0)
    STKA O 0 A_Lower
    STKA O 1 A_Lower
    goto Deselect+2
  Select:
    STKA A 0 A_Raise
	STKA A 0 ACS_ExecuteAlways(602,0,0,0,0)
	TNT1 F 0 A_GiveInventory("InCombatCrosshair", 35)
    loop
  Fire:	
    STKA O 0 A_JumpIfInventory("Reloading",1,"ReloadEnd")
    STKA O 0 A_JumpIfInventory("Aiming",1,"FireAim")
    STKA O 1 A_JumpIfNoAmmo("ReloadStart")
    STKB B 0 A_JumpIfInventory("Perk3_SteadyAim",1,"Fire_SteadyAim")
    STKB A 0 A_PlayWeaponSound("striker/fire")
    TNT1 F 0 A_GiveInventory("InCombatCrosshair",35)
    TNT1 F 0 A_GiveInventory("InCombat", 5)
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,8,3)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,8,3)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,8,3)
    STKB G 0 BRIGHT A_FireBullets (8.0, 8.0, 4, 5, "ShotgunPuff", 0, 200)
    STKB G 1 BRIGHT A_FireBullets (8.0, 8.0, 8, 5, "ShotgunPuff", 1, 400)
	STKB G 1 BRIGHT A_FireBullets (8.0, 8.0, 1, 2, "ShotgunPuff", 0, 600)
    STKB A 0 BRIGHT ACS_ExecuteAlways(600,0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady
    STKB FG 1 A_WeaponReady
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKB A 0 A_ReFire
    goto Ready+16
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    STKB A 0 A_ReFire
    goto Ready+16
  FireAim:
    STKC F 1 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_PlayWeaponSound("striker/fire")
    TNT1 F 0 A_GiveInventory("InCombatCrosshair",35)
    TNT1 F 0 A_GiveInventory("InCombat", 5)
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,3)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,0,3)
    STKD G 0 BRIGHT A_FireBullets (7.0, 7.0, 4, 5, "ShotgunPuff", 0, 200)
    STKD G 1 BRIGHT A_FireBullets (7.0, 7.0, 8, 5, "ShotgunPuff", 1, 400)
	STKD G 1 BRIGHT A_FireBullets (7.0, 7.0, 1, 2, "ShotgunPuff", 0, 600)
    STKD A 0 BRIGHT ACS_ExecuteAlways(600,0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireAimEmpty")
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1 A_WeaponReady
    STKD FG 1 A_WeaponReady
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKD A 0 A_ReFire
    goto Ready+22
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_ReFire
    goto Ready+22
  FireEmpty:
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 
    STKB FG 1 
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKB A 0 A_ReFire
    goto Ready+16
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    STKB A 0 A_ReFire
    goto Ready+16
  FireAimEmpty:
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1 
    STKD FG 1 
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKD A 0 A_ReFire
    goto Ready+16
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_ReFire
    goto Ready+16
  Hold:
    STKA O 3 A_JumpIfInventory("Aiming",1,"HoldAim")
    STKA O 1 A_ReFire
    goto Ready+16
  HoldAim:
    STKC F 3
    STKC F 1 A_ReFire
    goto Ready+22
  Reload: //AltFire:
    VECC A 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadStart")
    VECC A 0 A_TakeInventory("Reloading",1)
    goto Ready+19
  ReloadStart:
  	TNT1 A 0 ACS_ExecuteAlways(652,0,0,0,0) // Shout "Reloading" 
    STKE A 0 A_JumpIfInventory("Aiming",1,"ReloadStartAim")
    STKE A 0 A_JumpIfInventory("Perk1_SOH",1,"ReloadStart_SOH")
    STKE A 0 A_GiveInventory("Reloading",1)
    STKE A 3 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BCDE 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    goto ReloadAmmo
  ReloadAmmo:
    STKE X 0 A_GiveInventory("StrikerClip",1)
    STKE X 0 A_TakeInventory("StrikerAmmo",1)
    STKE F 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 3 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJK 3 A_WeaponReady(WRF_NOBOB)
    STKE LMN 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE X 0 A_JumpIfInventory("StrikerClip",12,"ReloadEnd")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadAmmo")
    goto ReloadEnd
  ReloadEnd:
    STKE O 3 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE PQRST 3 A_WeaponReady(WRF_NOFIRE)
    STKA O 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA B 0 A_TakeInventory("Reloading",1)
    STKA B 0 A_ReFire
    goto Ready+16
  AltFire:
    STKC A 0 A_JumpIfInventory("Reloading",1,"ReloadEnd")
    STKC A 0 A_JumpIfInventory("Aiming",1,"AltFire2")
    STKC A 0 A_ZoomFactor(1.2)
    STKC ABCDEF 1
    STKC F 0 A_GiveInventory("Aiming",1)
    STKC F 0 ACS_ExecuteAlways(602,0,0,0,0)
    goto Ready+22
  AltFire2:
    STKC A 0 A_ZoomFactor(1.0)
    STKC FEDCBA 1
    STKC A 0 A_TakeInventory("Aiming",1)
    STKC A 0 ACS_ExecuteAlways(602,0,0,0,0)
    goto Ready+16
  ReloadStartAim:
    STKC A 0 A_ZoomFactor(1.0)
    STKC FEDCBA 1
    STKC A 0 A_TakeInventory("Aiming",1)
    STKC A 0 ACS_ExecuteAlways(602,0,0,0,0)
    goto ReloadStart+1
  Flash:
    TNT1 A 2 bright A_Light1
    TNT1 A 0 bright A_Light0
    stop
  Spawn:
    WEP2 A 15
    TNT1 A 0 A_SpawnItem("StrikerPickup")
    stop
  Fire_SteadyAim:
    STKB A 0 A_PlayWeaponSound("striker/fire")
    TNT1 F 0 A_GiveInventory("InCombatCrosshair",35)
    TNT1 F 0 A_GiveInventory("InCombat", 5)
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,8,3)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,8,3)
    STKB G 0 BRIGHT A_FireBullets (7.0, 7.0, 4, 5, "ShotgunPuff", 0, 200)
    STKB G 1 BRIGHT A_FireBullets (7.0, 7.0, 8, 5, "ShotgunPuff", 1, 400)
	STKB G 1 BRIGHT A_FireBullets (7.0, 7.0, 1, 2, "ShotgunPuff", 0, 600)
    STKB A 0 BRIGHT ACS_ExecuteAlways(600,0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady
    STKB FG 1 A_WeaponReady
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKB A 0 A_ReFire
    goto Ready+16
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    STKB A 0 A_ReFire
    goto Ready+16
  ReloadStart_SOH:
    STKE A 0 A_GiveInventory("Reloading",1)
    STKE A 2 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BCDE 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    goto ReloadAmmo_SOH
  ReloadAmmo_SOH:
    STKE X 0 A_GiveInventory("StrikerClip",1)
    STKE X 0 A_TakeInventory("StrikerAmmo",1)
    STKE F 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 2 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJK 2 A_WeaponReady(WRF_NOBOB)
    STKE LMN 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE X 0 A_JumpIfInventory("StrikerClip",12,"ReloadEnd_SOH")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadAmmo_SOH")
    goto ReloadEnd_SOH
  ReloadEnd_SOH:
    STKE O 2 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE PQRST 2 A_WeaponReady(WRF_NOFIRE)
    STKA O 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA B 0 A_TakeInventory("Reloading",1)
    STKA B 0 A_ReFire
    goto Ready+16
  FragGrenade:
    U45F A 0 A_ZoomFactor(1.0)
    U45A L 0 A_TakeInventory("Aiming",1)
    U45A L 0 A_TakeInventory("Reloading",1)
    U45F A 0 ACS_ExecuteAlways(602,0,0,0,0)
    U45A L 0 A_JumpIfInventory("Perk1_SOH_Pro",1,"FragGrenade_SOH")
    GRNA A 2 A_PlaySound("grenade/pinpull")
    GRNA BCDEFGH 2
    TNT1 A 15 
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 2
    GRNA L 0 A_TakeInventory("FragGrenadeAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 2 A_FireCustomMissile("FragGrenade",0,0,0,16)
    GRNA MN 2 
    goto Ready+1
  FragGrenade_SOH:
    GRNA A 1 A_PlaySound("grenade/pinpull")
    GRNA BCDEFGH 1
    TNT1 A 10
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 1
    GRNA L 0 A_TakeInventory("FragGrenadeAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 1 A_FireCustomMissile("FragGrenade",0,0,0,16)
    GRNA MN 1 
    goto Ready+1
  KnifeAttack:
    U45F A 0 A_ZoomFactor(1.0)
    U45A L 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    U45A L 0 A_TakeInventory("Aiming",1)
    U45A L 0 A_TakeInventory("Reloading",1)
    U45F A 0 ACS_ExecuteAlways(602,0,0,0,0)
    U45A L 0 A_JumpIfInventory("Perk1_SOH_Pro",1,"KnifeAttack_SOH")
    U45C A 0 A_JumpIfInventory("Perk3_Commando",1,"KnifeAttack_Commando")
    KNFA A 0 ACS_ExecuteAlways(599,0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA CDE 1 A_CustomPunch(34,1,0,"KnifePuff",96)
    KNFA FGHIJKL 1 
    TNT1 A 20
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    goto Ready+1
  KnifeAttack_Commando:
    KNFA A 0 ACS_ExecuteAlways(599,0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA CDE 1 A_CustomPunch(34,1,0,"KnifePuff",160)
    KNFA FGHIJKL 1 
    TNT1 A 20
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    goto Ready+1
  KnifeAttack_SOH:
    U45C A 0 A_JumpIfInventory("Perk3_Commando",1,"KnifeAttack_SOH_Commando")
    KNFA A 0 ACS_ExecuteAlways(599,0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA CDE 1 A_CustomPunch(34,1,0,"KnifePuff",96)
    KNFA FGHIJKL 1 
    TNT1 A 10
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    goto Ready+1
  KnifeAttack_SOH_Commando:
    KNFA A 0 ACS_ExecuteAlways(599,0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA CDE 1 A_CustomPunch(34,1,0,"KnifePuff",160)
    KNFA FGHIJKL 1 
    TNT1 A 10
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    goto Ready+1
  }
}
actor StrikerClip : Ammo
{
    inventory.icon "CLIPA0"
    inventory.amount 0
    inventory.maxamount 12
    ammo.backpackamount 0
    ammo.backpackmaxamount 12
    +IGNORESKILL
}
actor "Striker Ex Mags" : "Striker"
{
  obituary "%k smacked %o over with the Striker."
  inventory.pickupmessage "Striker"  
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip2"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Reload: //AltFire:
    VECC A 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadStart")
    VECC A 0 A_TakeInventory("Reloading",1)
    goto Ready+19
  ReloadStart:
  	TNT1 A 0 ACS_ExecuteAlways(652,0,0,0,0) // Shout "Reloading" 
    STKE A 0 A_JumpIfInventory("Aiming",1,"ReloadStartAim")
    STKE A 0 A_JumpIfInventory("Perk1_SOH",1,"ReloadStart_SOH")
    STKE A 0 A_GiveInventory("Reloading",1)
    STKE A 3 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BCDE 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    goto ReloadAmmo
  ReloadAmmo:
    STKE X 0 A_GiveInventory("StrikerClip2",1)
    STKE X 0 A_TakeInventory("StrikerAmmo",1)
    STKE F 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 3 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJK 3 A_WeaponReady(WRF_NOBOB)
    STKE LMN 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE X 0 A_JumpIfInventory("StrikerClip2",18,"ReloadEnd")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadAmmo")
    goto ReloadEnd
  ReloadEnd:
    STKE O 3 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE PQRST 3 A_WeaponReady(WRF_NOFIRE)
    STKA O 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA B 0 A_TakeInventory("Reloading",1)
    STKA B 0 A_ReFire
    goto Ready+16
  ReloadStartAim:
    STKC A 0 A_ZoomFactor(1.0)
    STKC FEDCBA 1
    STKC A 0 A_TakeInventory("Aiming",1)
    STKC A 0 ACS_ExecuteAlways(602,0,0,0,0)
    goto ReloadStart+1
  ReloadStart_SOH:
    STKE A 0 A_GiveInventory("Reloading",1)
    STKE A 2 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BCDE 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    goto ReloadAmmo_SOH
  ReloadAmmo_SOH:
    STKE X 0 A_GiveInventory("StrikerClip2",1)
    STKE X 0 A_TakeInventory("StrikerAmmo",1)
    STKE F 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 2 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJK 2 A_WeaponReady(WRF_NOBOB)
    STKE LMN 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE X 0 A_JumpIfInventory("StrikerClip2",18,"ReloadEnd_SOH")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadAmmo_SOH")
    goto ReloadEnd_SOH
  ReloadEnd_SOH:
    STKE O 2 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE PQRST 2 A_WeaponReady(WRF_NOFIRE)
    STKA O 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA B 0 A_TakeInventory("Reloading",1)
    STKA B 0 A_ReFire
    goto Ready+16
  }
}

actor StrikerClip2 : Ammo
{
    inventory.icon "CLIPA0"
    inventory.amount 0
    inventory.maxamount 18
    ammo.backpackamount 0
    ammo.backpackmaxamount 18
    +IGNORESKILL
}
actor StrikerExMags : Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}
actor "Striker Grip" : "Striker"
{/*
  obituary "%k smacked %o over with the Striker."
  inventory.pickupmessage "Striker"  
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Fire:
    STKA O 0 A_JumpIfInventory("Reloading",1,"ReloadEnd")
    STKA O 0 A_JumpIfInventory("Aiming",1,"FireAim")
    STKA O 1 A_JumpIfNoAmmo("ReloadStart")
    STKB B 0 A_JumpIfInventory("Perk3_SteadyAim",1,"Fire_SteadyAim")
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,8,3)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,8,3)
    STKB A 0 BRIGHT A_FireBullets (5.0, 5.0, 4, 7, "ShotgunPuff", 0, 160)
    STKB A 1 BRIGHT A_FireBullets (5.0, 5.0, 8, 5, "ShotgunPuff", 1, 1200)
    STKB A 0 BRIGHT ACS_ExecuteAlways(600,0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady
    STKB FG 1 A_WeaponReady
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKB A 0 A_ReFire
    goto Ready+16
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    STKB A 0 A_ReFire
    goto Ready+16
  FireAim:
    STKC F 1 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_PlayWeaponSound("striker/fire")
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,3)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,0,3)
    STKD A 0 BRIGHT A_FireBullets (4.0, 4.0, 4, 7, "ShotgunPuff", 0, 160)
    STKD A 1 BRIGHT A_FireBullets (4.0, 4.0, 8, 5, "ShotgunPuff", 1, 1200)
    STKD A 0 BRIGHT ACS_ExecuteAlways(600,0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireAimEmpty")
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1 A_WeaponReady
    STKD FG 1 A_WeaponReady
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKD A 0 A_ReFire
    goto Ready+22
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_ReFire
    goto Ready+22
  Fire_SteadyAim:
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,8,3)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_BigMuzzle",0,0,8,3)
    STKB A 0 BRIGHT A_FireBullets (4.0, 4.0, 4, 7, "ShotgunPuff", 0, 160)
    STKB A 1 BRIGHT A_FireBullets (4.0, 4.0, 8, 5, "ShotgunPuff", 1, 1200)
    STKB A 0 BRIGHT ACS_ExecuteAlways(600,0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady
    STKB FG 1 A_WeaponReady
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,2)
    STKB A 0 A_ReFire
    goto Ready+16
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    STKB A 0 A_ReFire
    goto Ready+16
  }*/
}
actor StrikerGrip : Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}
actor StrikerPickup : CustomInventory
{
  inventory.pickupmessage "Striker"  
  inventory.pickupsound "misc/w_pkup"
  +INVENTORY.AUTOACTIVATE
  inventory.respawntics 35
  scale 0.15
  States
  {
  Spawn:
    WEP2 A -1
    stop
  Pickup:
    JDGP A 0
    JDGP A 0 A_JumpIfInventory("Striker",1,"FailPickup") // If the player already has this weapon, they get more ammo for it
    JDGP A 0 A_JumpIfInventory("Striker Ex Mags",1,"FailPickup")
    JDGP A 0 A_JumpIfInventory("Striker Grip",1,"FailPickup")
    JDGP A 0 A_JumpIfInventory("MaxWeaponsFilled",0,"FailPickup2")
    BKPK A 0 ACS_ExecuteWithResult(618,27,0,0)
    stop
  AmmoPickup:
    JDGP A 0
    JDGP A 0 A_JumpIfInventory("StrikerAmmo",0,"FailPickup")
    JDGP A 0 A_GiveInventory("StrikerAmmo",12)
    stop
  FailPickup:
    WEP2 A 1
    fail
  FailPickup2:
    WEP2 A 1 
    BKPK A 0 ACS_ExecuteAlways(620,0,1,0,0)
    fail
  }
}
