ACTOR PerkTester : Inventory
{
	Inventory.MaxAmount 50
}

// Actual perk experience - Used for display and other things

actor PerkXP : Ammo
{
    inventory.amount 0
    inventory.maxamount 100
    ammo.backpackamount 0
    ammo.backpackmaxamount 100
    +IGNORESKILL
}




// Perk level - Used for perk levels and junk

ACTOR PerkLevel : Inventory
{
	Inventory.MaxAmount 25
}

ACTOR PerkXPGoal : Inventory
{
	Inventory.MaxAmount 9999999
}

ACTOR ShowPerkMenu : Inventory
{
	Inventory.MaxAmount 1
}

//=====================================================
// ACTUAL PERK ITEMS
//=====================================================

ACTOR Perk_Juggernaut : Inventory
{
	Inventory.MaxAmount 1
}

ACTOR Perk_Rifleman : Inventory
{
	Inventory.MaxAmount 1
}

ACTOR Perk_Commando : Inventory
{
	Inventory.MaxAmount 1
}

ACTOR Perk_Demo : Inventory
{
	Inventory.MaxAmount 1
}

ACTOR Perk_Pyro : Inventory
{
	Inventory.MaxAmount 1
}

// XP GOALS

ACTOR PerkXPGoal_Juggernaut : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXPGoal_Rifleman : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXPGoal_Commando : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXPGoal_Demo : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXPGoal_Pyro : Inventory
{
inventory.MaxAmount 9999999
}

// XP

ACTOR PerkXP_Juggernaut : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXP_Rifleman : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXP_Commando : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXP_Demo : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkXP_Pyro : Inventory
{
inventory.MaxAmount 9999999
}

// LEVELS

ACTOR PerkLevel_Juggernaut : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkLevel_Rifleman : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkLevel_Commando : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkLevel_Demo : Inventory
{
inventory.MaxAmount 9999999
}

ACTOR PerkLevel_Pyro : Inventory
{
inventory.MaxAmount 9999999
}

//=========================================================================
// PERK DAMAGE REDUCTION
//=========================================================================

// Juggernaut: 25% normal damage reduction
ACTOR PowerReduction_Juggernaut : PowerProtection
{
  DamageFactor "Normal", 0.75
  Powerup.Duration 0x7FFFFFFF
}

// Demo: 80% explosives resistance
ACTOR PowerReduction_Demo : PowerProtection
{
  DamageFactor "ExplosiveDamage", 0.20
  Powerup.Duration 0x7FFFFFFF
}

// Pyro: 80% flame resistance
ACTOR PowerReduction_Pyro : PowerProtection
{
  DamageFactor "Fire", 0.20
  DamageFactor "Dragon", 0.20
  Powerup.Duration 0x7FFFFFFF
}

// RED SCREEN
ACTOR PowerRedScreen : PowerProtection
{
  Powerup.Duration 0x7FFFFFFF
  Powerup.Color RedMap
}