/*
CREDITS:
Sprite - Vader
Sound - CutmanMike
*/

actor BlursphereSpawner : RandomSpawner replaces Blursphere
{
    DropItem "Screamersphere" 255 2
    DropItem "REDsphere" 255 2
    DropItem "BLUsphere" 255 2
}

ACTOR Screamersphere : PowerupGiver //FEAR ME, COWAAAARDS!
{
	Inventory.PickupSound "items/screamer"
	Inventory.Amount 1
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.FANCYPICKUPSOUND
	+INVENTORY.ALWAYSPICKUP
	+INVENTORY.HUBPOWER
	+INVBAR
	+FLOATBOB
	+INFLOAT
	+ADDITIVETIME
	powerup.duration -60
	Powerup.Type Frightener
	Powerup.Color Yellow 0.1
	Inventory.PickupMessage "Screamersphere!"
  	Renderstyle Add
	States
	{
	Spawn:
		TERR ABCDE 2 Bright
		Loop
	}
}

ACTOR REDsphere : PowerupGiver
{
	Inventory.PickupSound "items/RED"
	Inventory.Amount 1
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.FANCYPICKUPSOUND
	+INVENTORY.ALWAYSPICKUP
	+INVENTORY.HUBPOWER
	+INVBAR
	+FLOATBOB
	+INFLOAT
	+ADDITIVETIME
	powerup.duration -60
	Powerup.Type REDDamage
	Powerup.Color Red 0.1
	Inventory.PickupMessage "REDsphere!"
  	Renderstyle Add
	States
	{
	Spawn:
		DRED ABCDCB 2 Bright
		Loop
	}
}

actor PowerREDDamage : PowerDamage
{
damagefactor "normal", 2
inventory.icon "DREDA0" 
}

ACTOR BLUsphere : PowerupGiver
{
	Inventory.PickupSound "items/BLU"
	Inventory.Amount 1
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.FANCYPICKUPSOUND
	+INVENTORY.ALWAYSPICKUP
	+INVENTORY.HUBPOWER
	+INVBAR
	+FLOATBOB
	+INFLOAT
	+ADDITIVETIME
	powerup.duration -60
	Powerup.Type BLUDamage
	Powerup.Color Cyan 0.1
	Inventory.PickupMessage "BLUsphere!"
  	Renderstyle Add
	States
	{
	Spawn:
		DBLU ABCDCB 2 Bright
		Loop
	}
}

actor PowerBLUDamage : PowerProtection
{
damagefactor "normal", 0.5
inventory.icon "DBLUA0" 
}
