ACTOR DeadlyBarrelSpawner
{
 Health 1000000
 DamageFactor 0.0
 -SHOOTABLE
 +NOBLOCKMAP
 +NOINTERACTION
 -SOLID
 +MOVEWITHSECTOR
 +RELATIVETOFLOOR
 States
 {
  Spawn:
	TNT1 A 0 NoDelay ACS_NamedExecuteWithResult("nx_DeadlyBarrel")
  SpawnLoop:
	TNT1 A 35
	Loop
  Death:
	TNT1 A 1 A_Fall
	Stop
 }
}

ACTOR LegendaryBarrelSpawner : RandomSpawner
{
DropItem "LegendaryBarrel", 256, 30
DropItem "LegendaryTechBarrel", 256, 25
DropItem "LegendaryBarrelFake", 256, 20
DropItem "EnragedLegendaryBarrel", 256, 10
DropItem "EnragedLegendaryBarrelFake", 256, 10
DropItem "NemesisBarrel", 256, 10
DropItem "ttkD64Barrel", 256, 1
}


Actor ShuffleSphereSpawner : RandomSpawner
{
DropItem "ShuffleSphere", 256, 25
DropItem "WeaponShuffleSphere", 256, 20
DropItem "ItemShuffleSphere", 256, 20
DropItem "LegendaryShuffleSphere", 256, 10
DropItem "EnragedLegendaryShuffleSphere", 256, 5
}

Actor RareShuffleSphereSpawner : RandomSpawner
{
DropItem "LegendaryShuffleSphere", 256, 18
DropItem "EnragedLegendaryShuffleSphere", 256, 12
DropItem "NemesisShuffleSphere", 256, 6
DropItem "TrueLegendaryShuffleSphere", 256, 3
}


ACTOR CFCommonBerserkSpawner : RandomSpawner
{
DropItem "BerserkPack", 256, 75
DropItem "PureRage", 256, 20
DropItem "RadarItem", 256, 5
}

ACTOR SentryBoxSpawner : RandomSpawner
{
DropItem "SentryBox", 256, 34
DropItem "DemonTechSentryBox", 256, 26
DropItem "SentryBox2", 256, 22
DropItem "TurretBox", 256, 21
DropItem "SentryBox3", 256, 18
DropItem "TurretBox2", 256, 15
DropItem "PhaseDemonTechSentryBox", 256, 10
DropItem "ExplosiveDemonTechSentryBox", 256, 9
DropItem "TurretBox3", 256, 6
}

//ShuffleSpawners
ACTOR RewardSpawner : RandomSpawner
{
DropItem "ArmageddonChalice", 256, 10
DropItem "Beacon", 256, 10
DropItem "SkullOfPower", 256, 10
DropItem "PowerStimpack", 256, 10
DropItem "Backpack", 256, 10
DropItem "PlayingCard", 256, 10
DropItem "MagicCard", 256, 10
DropItem "ArmorRegeneratorPickup", 256, 10
DropItem "DTAllMap", 256, 10
}


//CrateSpawners
ACTOR RandomCrateSpawner : RandomSpawner
{
DropItem "HealthCrate", 256, 10
DropItem "WeaponCrate", 256, 5
DropItem "UtilityCrate", 256, 5
DropItem "SuperCrate", 256, 1
}

ACTOR UniversalChestSpawner : RandomSpawner
{
DropItem "ChestSpawner", 256, 10
DropItem "DevilChest", 256, 5
DropItem "AngelChest", 256, 4
DropItem "UnmakerChest", 256, 1
}

ACTOR ChestSpawner : RandomSpawner
{
DropItem "ComplexChest", 256, 10
DropItem "HeavyChest", 256, 5
}

ACTOR MoreChestSpawner : RandomSpawner
{
DropItem "ChestSpawner", 256, 30
DropItem "DevilChest", 256, 10
DropItem "AngelChest", 256, 7
DropItem "UnmakerChest", 256, 5
}

//InventorySpawners 
ACTOR NexusDemonicChalice : DemonicChaliceGiver
{}

ACTOR NexusDemonicChaliceRandomizer : RandomSpawner Replaces DemonicChaliceGiver
{
+DROPPED
DropItem "NexusDemonicChalice", 256, 20
DropItem "ArmageddonChalice", 256, 5
DropItem "MagicCard", 256, 1
}


ACTOR NexusSkullOfPower : SkullOfPowerGiver
{}

ACTOR SkullOfPowerRandomizer : RandomSpawner Replaces SkullOfPowerGiver
{
+DROPPED
DropItem "NexusSkullOfPower", 256, 20
DropItem "TalismanOfChaos", 256, 5
DropItem "MagicCard", 256, 1
}



//Enemy Dropitem Spawners

ACTOR RandomTrueLegItems : RandomSpawner
{
DropItem "LegendaryShuffleSphere", 256, 35
DropItem "TrueLegendarySphere", 256, 30
DropItem "TrueLegendaryArmor", 256, 30
DropItem "TrueLegAmmoSphere", 256, 30
DropItem "TrueLegTimeFreezeSphere", 256, 25
DropItem "Supercrate", 256, 20
}

ACTOR RareRandomTrueLegItems : RandomSpawner
{
DropItem "LegendaryShuffleSphere", 256, 25
DropItem "Supercrate", 256, 21
DropItem "BfgUpgrade", 256, 14
}
