

Actor TeenyKillReward : CustomInventory
{
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupSound "Sounds/rewardt"
  States
  {
  Spawn:
    TKRW A 6 Bright
    Loop
  Pickup:
    TKRW B 2 A_DropItem("SuperShotgun", -1)
    TKRW B 2 A_DropItem("HealthBonus2", 10)
    Stop
  }
}

Actor MediumKillReward : CustomInventory
{
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupSound "Sounds/rewardr"
  States
  {
  Spawn:
    MKRW A 6 Bright
    Loop
  Pickup:
    MKRW B 2 A_DropItem("Shotgun", -1)
    MKRW B 2 A_DropItem("Chaingun", -1)
    MKRW B 3 A_DropItem("HealthBonus2", 30)
    MKRW B 2 A_DropItem("ArmorStuff", -1)
    Stop
  }
}

Actor SchmeatyKillReward : CustomInventory
{
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupSound "Sounds/rewardb"
  States
  {
  Spawn:
    BKRW A 6 Bright
    Loop
  Pickup:
    TNT1 A 0 A_JumpIf(CallACS("ZandroKillRewards_CVar")==1, "ExtremePickup")
    BKRW B 2 A_DropItem("SuperShotgun", -1)
    BKRW B 2 A_DropItem("Shotgun", -1)
    BKRW B 2 A_DropItem("Chaingun", -1)
    BKRW B 3 A_DropItem("HealthBonus2", 60)
    BKRW B 2 A_DropItem("ArmorStuff", -1)
    Stop
  ExtremePickup:
    BKRW B 1 A_DropItem("SuperShotgun", -1)
    BKRW B 1 A_DropItem("Shotgun", -1)
    BKRW B 1 A_DropItem("Chaingun", -1)
    BKRW B 1 A_DropItem("PlasmaRifle", -1)
    BKRW B 2 A_DropItem("HealthBonus2", 80)
    BKRW B 3 A_DropItem("MidArmorStuff", -1)
    Stop
  }
}

Actor MASSIVEKillReward : CustomInventory
{
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupSound "Sounds/rewardh"
  States
  {
  Spawn:
    EKRW A 6 Bright
    EKRW B 3
    Loop
  Pickup:
    EKRW B 2 A_DropItem("SuperShotgun", -1)
    EKRW B 2 A_DropItem("PlasmaRifle", -1)
    EKRW B 2 A_DropItem("BFG9000", -1)
    EKRW C 2 A_DropItem("SoulSphere", -1)
    EKRW B 2 A_DropItem("HealthBonus2", 95)
    EKRW C 3 A_DropItem("MegaArmorStuff", -1)
    Stop
  ExtremePickup:
    EKRW B 1 A_DropItem("SuperShotgun", -1)
    EKRW B 1 A_DropItem("Shotgun", -1)
    EKRW B 1 A_DropItem("Chaingun", -1)
    EKRW B 1 A_DropItem("PlasmaRifle", -1)
    EKRW B 1 A_DropItem("BFG9000", -1)
    EKRW B 1 A_DropItem("Backpack", -1)
    EKRW C 2 A_DropItem("SoulSphere", -1)
    EKRW B 2 A_DropItem("HealthBonus2", 95)
    EKRW C 3 A_DropItem("MegaArmorStuff", -1)
    Stop
  }
}


ACTOR ArmorStuff : BasicArmorBonus
{
  Radius 20
  Height 16
  -INVENTORY.ALWAYSPICKUP
  Inventory.PickupMessage "\ccGot a weaker armor vest."
  Inventory.PickupSound "Sounds/rewardr"
  Inventory.Icon "KRWAA0"
  Armor.SavePercent 35.355
  Armor.SaveAmount 35
  Armor.MaxSaveAmount 125
  States
  {
  Spawn:
    KRWA A 6
    Loop
  }
}  

ACTOR MidArmorStuff : BasicArmorBonus
{
  Radius 20
  Height 16
  -INVENTORY.ALWAYSPICKUP
  Inventory.PickupMessage "\ccGot a middle-of-the-road armor vest."
  Inventory.PickupSound "Sounds/rewardr"
  Inventory.Icon "KRWAB0"
  Armor.SavePercent 40
  Armor.SaveAmount 75
  Armor.MaxSaveAmount 165
  States
  {
  Spawn:
    KRWA B 6
    Loop
  }
}  

ACTOR MegaArmorStuff : BasicArmorBonus
{
  Radius 20
  Height 16
  -INVENTORY.ALWAYSPICKUP
  Inventory.PickupMessage "\ccGot a \cvMEGA \ccarmor vest!"
  Inventory.PickupSound "Sounds/rewardr"
  Inventory.Icon "EKRWA0"
  Armor.SavePercent 55.555
  Armor.SaveAmount 165
  Armor.MaxSaveAmount 250
  States
  {
  Spawn:
    KRSA A 6
    Loop
  }
}
ACTOR HealthBonus2 : Health
{
  Inventory.Amount 1
  Inventory.MaxAmount 250
  Inventory.PickupMessage "Got a kill reward health bonus!"
  States
  {
  Spawn:
    BON1 ABCDCB 6
    Loop
  }
}