/*
CREDITS:
Pickup - me, because it's so damn lousy!
Tune - Russian Red Army Choir
Sounds - ID (Doom 3 & RTCW)
*/

ACTOR VodkaHealth : Health
{
   Inventory.PickupMessage "I AM ZE UBERMENSCH! HAHAHA, OKTOBERFEEEEEST!!!"
   Inventory.Amount 2000
   Inventory.MaxAmount 999999
   +INVENTORY.ALWAYSPICKUP
   States
   {
   Spawn:
      TNT1 A 1
      loop
   }
   
}

actor Vodka : CustomInventory
{
  Inventory.PickupMessage "Picked up an empowered russian vodka! Aah, my old love..."
  Inventory.Amount 1
  Inventory.MaxAmount 2
  Inventory.InterHubAmount 2
  Inventory.PickupSound "items/vodkapick"
  Inventory.UseSound "items/vodkause"
  Inventory.Icon ARTIVDKA
  +INVENTORY.FANCYPICKUPSOUND
  +INVBAR
  -COUNTITEM
  Scale 0.9
  states
  {
  Spawn:
       VODK A -1
       Stop
  Use:
       TNT1 A 0 A_GiveInventory("VodkaHealth")
       TNT1 A 0 A_GiveInventory("VodkaFrightener")
       TNT1 A 0 A_GiveInventory("VodkaAttack")
       TNT1 A 0 A_GiveInventory("VodkaDefense")
       Stop
  }
}

ACTOR VodkaFrightener : PowerupGiver
{
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	powerup.duration -30
	Powerup.Color None 0.00
	Powerup.Type Frightener
}

ACTOR VodkaAttack : PowerupGiver
{
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	powerup.duration -30
	powerup.color None 0.00
	Powerup.Type VodkaSword
}

actor PowerVodkaSword : PowerDamage
{
 damagefactor "normal", 3
}

ACTOR VodkaDefense : PowerupGiver
{
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	powerup.duration -30
	Powerup.Color Red 0.2
	Powerup.Type VodkaShield
}

actor PowerVodkaShield : PowerProtection
{
 damagefactor "normal", 0.33
}
