ACTOR SpreadSphere : CustomInventory 10082
{
	+FLOAT
	+FLOATBOB
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	+COUNTITEM
	-INVENTORY.INVBAR
	Inventory.PickupMessage "Spread!"
	Inventory.PickupSound "misc/impkup"
	Inventory.PickupAnnouncerEntry "spread"
	Inventory.RespawnTics 3150
	Inventory.MaxAmount 0
	Tag "Spread Sphere"
    //$Category Powerups
	States
	{
	Spawn:
      SPRD A 15 Bright
      SPRD BCDB 5 Bright
      Loop
	Pickup:
	  TNT1 A 0 A_JumpIfInventory("PowerRageInvulnerable",1,"NoProt")
	  TNT1 A 0 A_GiveInventory("PickupProtection")
    NoProt:
	  TNT1 A 0 A_GiveInventory("PickupProtection")
	  TNT1 A 0 A_Print("\n\n\n\n\nSpread!\n\n\n\nYour shots are tripled!")
	  TNT1 A 0 A_GiveInventory("SpreadSphereSpread")
	  TNT1 A 0 A_GiveInventory("IDMPowerupTrail")
	  Stop
	}
}
	
ACTOR PowerIDMSpread : PowerSpread
{
	Inventory.Icon "SPRDSP1"
}
	
ACTOR SpreadSphereSpread : PowerupGiver
{
	Powerup.Duration -20
	Powerup.Type "IDMSpread"
	Powerup.Color "Orange", 0.2
	Inventory.MaxAmount 0
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
	-INVENTORY.INVBAR
}