
//==============================================================================
//		OVERLORD OF MAXIMUM INHERITANCE
//==============================================================================

 // Undroppable inventory tokens all inherit from this, for cleanliness.
Actor RLPermanentInventory : Inventory
{
  +INVENTORY.UNDROPPABLE
  +INVENTORY.UNTOSSABLE
  +INVENTORY.IGNORESKILL
inventory.maxamount 1
}

Actor RLClearableInventory : Inventory
{
  +INVENTORY.UNTOSSABLE
  +INVENTORY.IGNORESKILL
inventory.maxamount 1
}

Actor RLLevelRestrictedInventory : Inventory
{
  +INVENTORY.UNTOSSABLE
  +INVENTORY.IGNORESKILL
Inventory.InterHubAmount 0
inventory.maxamount 1
}

 // A thing that does multiple actions on an actor
ACTOR RLCustomFunction : CustomInventory
{
  -COUNTITEM
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupMessage ""
  Inventory.PickupSound ""
  States
  {
  Spawn:
    TNT1 A 1
    Stop
  Pickup:
    TNT1 A 0
	TNT1 A 0
    Stop
  }
}

 // An invisible dummy actor used in places where nothing should appear.
actor RLNullActor
{
	Radius 6
	Height 6
	+NOGRAVITY
	+NOCLIP
	+NOTONAUTOMAP
	+NOINTERACTION
    +NOTIMEFREEZE
    States
    {
    Spawn:
	    TNT1 AA 1
        Stop
    }
}

 // Base PowerupGiver for inheritance
actor RLPowerupGiver : PowerupGiver
{
  inventory.pickupmessage ""
  inventory.maxamount 0
  Powerup.Duration -30
  powerup.type "PowerRLBerserkResistance"
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.ADDITIVETIME
  Inventory.PickupSound ""
  states
  {
  Spawn:
    TNT1 A 0
    Stop
  }
}

ACTOR RLHarmlessHitscanPuff : BulletPuff
{
  -ALLOWPARTICLES
  -RANDOMIZE
  +PUFFONACTORS
  +ALWAYSPUFF
  +PUFFGETSOWNER
  +THRUGHOST
  +MTHRUSPECIES
  +BLOODLESSIMPACT
  +PAINLESS
  +NODECAL
  VSpeed 0
  Mass 5
  Damagetype "NullDamage"
  States
  {
  Spawn:
    TNT1 A 0
	Stop
  Melee:
    Goto Spawn
  }
}

 // The default amount of shots for Marine's ammo consumption. Number is shots-1, as it counts from 0.
Actor RLAmmochainDefault : RLPermanentInventory
{
inventory.maxamount 3
}

 // The default amount of shots in a burst from a Burst Cannon weapon. Number is shots-1, as it counts from 0.
Actor RLBurstCannonDefault : RLPermanentInventory
{
inventory.maxamount 2
}

// The default amount of mods applicable to Standard and Exotic weapons.
// Don't actually change any of these, because it won't actually let you mod them more you git.
Actor RLStandardModAmount : RLPermanentInventory
{
inventory.maxamount 4
}

// The default amount of exotic mods applicable to Standard, Exotic and Superior weapons.
Actor RLExoticModAmount : RLPermanentInventory
{
inventory.maxamount 2
}

// The default amount of mods applicable to Superior weapons.
Actor RLSuperiorModAmount : RLPermanentInventory
{
inventory.maxamount 2
}

// The default amount of mods applicable to Basic Assembly weapons.
Actor RLBasicAssemblyModAmount : RLPermanentInventory
{
inventory.maxamount 2
}

// The default amount of mods applicable to Advanced Assembly weapons.
Actor RLAdvancedAssemblyModAmount : RLPermanentInventory
{
inventory.maxamount 1
}

// The default amount of mods applicable to Unique+ weapons.
Actor RLUniqueModAmount : RLPermanentInventory
{
inventory.maxamount 1
}

// The default amount of demonic artifacts applicable to Demonic weapons.
Actor RLDemonArtifactAmount : RLPermanentInventory
{
inventory.maxamount 3
}

//==============================================================================
//		ANTI-CONSOLE SPAM
//==============================================================================

// These powerups are 'dummy' items used for equipment pickups. One is given 
// every time you pick a weapon, mod, boot or armor up, and if you stay on top 
// of the pickup or run over another one within 5 seconds when your count for 
// that item is maxed, it will jump to a new state where the actor just Fails, 
// and does not print the weapon's name to the screen. This helps prevent the 
// console log from being filled with dozens of instances of the equipment's 
// name, removing more useful information.
//                                                                       ~amv2k9

ACTOR DRLA_WeaponAntiLogFloodCheck : Powerup
{
	Powerup.Duration -5
}

ACTOR DRLA_ModsAntiLogFloodCheck : Powerup
{
	Powerup.Duration -5
}

ACTOR DRLA_BootsAntiLogFloodCheck : Powerup
{
	Powerup.Duration -5
}

ACTOR DRLA_ArmorAntiLogFloodCheck : Powerup
{
	Powerup.Duration -5
}

//Maximum wuv to amv2k9 for putting together this feature for all you console info loving people out there.

//==============================================================================
//		MONSTER PROJECTILES
//==============================================================================

ACTOR RLArachnotronPlasma : ArachnotronPlasma replaces ArachnotronPlasma
{
   +THRUGHOST
   Alpha 0.85
   Scale 0.4
   DamageType "Plasma"
   SeeSound "weapons/heavyplasma"
   States
   {
   Spawn:
      PX2B ACBC 4 Bright
      Loop
   Death:
	  TNT1 A 1 A_SetScale(1)
      PX2B GHIJ 5 Bright
      Stop
   }
}

ACTOR RLEnemyPlasmaBall : PlasmaBall replaces PlasmaBall
{
   +THRUGHOST
   DamageType "Plasma"
}

ACTOR RLBaronBall : BaronBall replaces BaronBall
{
   +THRUGHOST
   DamageType "Plasma"
}

ACTOR RLCacodemonBall : CacodemonBall replaces CacodemonBall
{
   +THRUGHOST
   DamageType "Plasma"
}

ACTOR RLDoomImpBall : DoomImpBall replaces DoomImpBall
{
   +THRUGHOST
   DamageType "Fire"
}

ACTOR RLFatShot : FatShot replaces FatShot
{
   +THRUGHOST
   DamageType "Fire"
}

ACTOR RLRevenantTracer : RevenantTracer replaces RevenantTracer
{
   +THRUGHOST
   DamageType "Fire"
}

ACTOR RLEnemyRocket : Rocket replaces Rocket
{
   +THRUGHOST
   DamageType "Fire"
}

ACTOR RLResurrectionFireArsenal
{
  +NOBLOCKMAP
  +NOGRAVITY
  +DONTBLAST
  +NOTIMEFREEZE
  RenderStyle Add
  Alpha 1
  States
  {
  Spawn:
    RVFX A 2 Bright
    RVFX BAB 2 Bright
    RVFX C 2 Bright
    RVFX BCBCDCDCDEDED 2 Bright
    RVFX E 2 Bright
    RVFX FEFEFGHGHGH 2 Bright
    Stop
  }
}

// EOF