/*
CREDITS:
Poor sense of humour.
Use - Raven (Wolfenstein 3)
*/

actor Weegeesphere : CustomInventory replaces Infrared //IF YOU READ THIS THEN WEEGEE PROPABLY DEVOURED YOUR SOUL BY THAT TIME YOU TRIED TO READ THAT.
{
  Inventory.PickupMessage "Weegeesphere! (Infrared plus health drain.)"
  Inventory.Amount 1
  Inventory.MaxAmount 2
  Inventory.InterHubAmount 2
  Inventory.PickupSound "items/weegee"
  Inventory.UseSound "used/weegee"
  Inventory.Icon ARTIWEEG
  Renderstyle Add
  +INVENTORY.FANCYPICKUPSOUND
  +INVBAR
  +FLOATBOB
  +INFLOAT
  states
  {
  Use:
   TNT1 A 0 A_GiveInventory("WeegeeStare")
   TNT1 A 0 A_GiveInventory("WeegeeGlare")
   stop
  Spawn:
    PVIS ABCDCB 3 Bright
    loop
  }
}

ACTOR WeegeeStare : PowerupGiver
{
powerup.duration -90
Powerup.Color Black 0.2
Powerup.Type "LightAmp"
+INVENTORY.AUTOACTIVATE
+INVENTORY.FANCYPICKUPSOUND
+INVENTORY.ALWAYSPICKUP
+INVENTORY.HUBPOWER
+ADDITIVETIME
}

ACTOR WeegeeGlare : PowerupGiver
{
powerup.duration -90
Powerup.Color Green 0.05
Powerup.Type "Drain"
+INVENTORY.AUTOACTIVATE
+INVENTORY.FANCYPICKUPSOUND
+INVENTORY.ALWAYSPICKUP
+INVENTORY.HUBPOWER
+ADDITIVETIME
}
