//==============================================================================
//		SET BONUSES
//==============================================================================

Actor RLNuclearWeaponSetBonusActive : RLPermanentInventory {}
Actor RLNuclearWeaponSetBonusDisplay : RLPermanentInventory {}
Actor RLCerberusSetBonusActive : RLPermanentInventory {}
Actor RLCerberusSetBonusDisplay : RLPermanentInventory {}
Actor RLTacticalSetBonusActive : RLPermanentInventory {}
Actor RLTacticalSetBonusDisplay : RLPermanentInventory {}
Actor RLLavaSetBonusActive : RLPermanentInventory {}
Actor RLLavaSetBonusDisplay : RLPermanentInventory {}
Actor RLGothicSetBonusActive : RLPermanentInventory {}
Actor RLGothicSetBonusDisplay : RLPermanentInventory {}
Actor RLPhaseshiftSetBonusActive : RLPermanentInventory {}
Actor RLPhaseshiftSetBonusDisplay : RLPermanentInventory {}
Actor RLInquisitorsSetBonusActive : RLPermanentInventory {}
Actor RLInquisitorsSetBonusDisplay : RLPermanentInventory {}
Actor RLDeathFromAboveSetBonusActive : RLPermanentInventory {}
Actor RLDeathFromAboveSetBonusDisplay : RLPermanentInventory {}
Actor RLDemonicSetBonusActive : RLPermanentInventory {}
Actor RLDemonicSetBonusDisplay : RLPermanentInventory {}
Actor RLRoystenSetBonusActive : RLPermanentInventory {}
Actor RLRoystenSetBonusDisplay : RLPermanentInventory {}
Actor RLArchitectSetBonusActive : RLPermanentInventory {}
Actor RLArchitectSetBonusDisplay : RLPermanentInventory {}
Actor RLTorgueSetBonusActive : RLPermanentInventory {}
Actor RLTorgueSetBonusDisplay : RLPermanentInventory {}
Actor RLSentrySentinelSetBonusActive : RLPermanentInventory {}
Actor RLSentrySentinelSetBonusDisplay : RLPermanentInventory {}
Actor RLSensibleStrategistSetBonusActive : RLPermanentInventory {}
Actor RLSensibleStrategistSetBonusDisplay : RLPermanentInventory {}
Actor RLEnclaveSetBonusActive : RLPermanentInventory {}
Actor RLEnclaveSetBonusDisplay : RLPermanentInventory {}
Actor RLAngelicAttireSetBonusActive : RLPermanentInventory {}
Actor RLAngelicAttireSetBonusDisplay : RLPermanentInventory {}
Actor RLRainbowSetBonusActive : RLPermanentInventory {}
Actor RLRainbowSetBonusDisplay : RLPermanentInventory {}
Actor RLTeslaboltSetBonusActive : RLPermanentInventory {}
Actor RLTeslaboltSetBonusDisplay : RLPermanentInventory {}

actor PowerRLTacticalSetBonusProtection : PowerProtection
{
   inventory.icon ""
   Powerup.Duration -0x7FFFFFFF
   +INVENTORY.PERSISTENTPOWER
   +INVENTORY.UNTOSSABLE
   +NORADIUSDMG
   DamageFactor "Normal", 1
}

ACTOR PowerRLPhaseshiftSetBonusPhasing : PowerInvisibility
{
  -SHADOW
  +GHOST
  +INVENTORY.UNTOSSABLE
  Powerup.Duration -2
  Powerup.Strength 0
  Powerup.Mode "Fuzzy"
}

actor RLLavaSetBonusGiver : RLPowerupGiver
{
  Powerup.Duration -7
  Powerup.Color GoldMap
  powerup.type "PowerInvulnerable"
}

ACTOR PowerRLLavaArmorCooldown : Powerup
{
	Powerup.Duration -30
    +INVENTORY.UNTOSSABLE
}

actor PowerRLInquisitorsSetBonusProtection : PowerProtection
{
   damagefactor "Fire", 0
   inventory.icon ""
   Powerup.Duration -0x7FFFFFFF
   +INVENTORY.PERSISTENTPOWER
   +INVENTORY.UNTOSSABLE
}

actor PowerRLAngelicAttireSetBonusProtection : PowerProtection
{
   damagefactor "Mindrape", 0
   damagefactor "Getoutofmyheadcharles", 0.0 // Colorful Hell psychic damagetype
   inventory.icon ""
   Powerup.Duration -0x7FFFFFFF
   +INVENTORY.PERSISTENTPOWER
   +INVENTORY.UNTOSSABLE
}

ACTOR RLEnclavePowerarmorActivate : RLCustomFunction
{
  States
  {
  Pickup:
	TNT1 A 0 
	TNT1 A 0 A_TakeInventory("BasicArmor",99999)
	TNT1 A 0 A_TakeInventory("PowerRLNuclearPowerBootsProtection",1)
	TNT1 A 0 A_GiveInventory("PowerRLAbsoluteBootsProtection",1)
	TNT1 A 0 A_JumpIfInventory("RLShellshockPerk",1,2)
	TNT1 A 0 A_GiveInventory("RLNuclearPowerArmorComplete",1)
	Stop
	TNT1 A 0 A_GiveInventory("RLNuclearPowerArmorCompleteRenegade",1)
	Stop
  }
}

ACTOR RLEnclavePowerarmorDeactivate : RLCustomFunction
{
  States
  {
  Pickup:
	TNT1 A 0 
	TNT1 A 0 A_TakeInventory("BasicArmor",99999)
	TNT1 A 0 A_GiveInventory("PowerRLNuclearPowerBootsProtection",1)
	TNT1 A 0 A_TakeInventory("PowerRLAbsoluteBootsProtection",1)
	TNT1 A 0 A_JumpIfInventory("RLShellshockPerk",1,2)
	TNT1 A 0 A_GiveInventory("RLNuclearPowerArmor",1)
	Stop
	TNT1 A 0 A_GiveInventory("RLNuclearPowerArmorRenegade",1)
	Stop
  }
}

// EOF