/*
CREDITS:
Propably not his work, but I dunno original source... sprites made from certain pickups from Wildweasel's mech mod. Check it out!
Variations made by me.
Sounds:
Blizzard (Starcraft II)
*/

Actor Shield : BasicArmorBonus
{
	armor.saveamount 500
	armor.maxsaveamount 1000000
	-ALWAYSPICKUP
	armor.savepercent 100
	inventory.icon TNT1A0
}

Actor ShieldCharge : Shield
{
	Height 6
	Armor.SaveAmount 5
	Inventory.PickupMessage "Picked up a shield charge."
	Inventory.PickupSound "misc/shieldpurple"
	Inventory.Icon SH05A0
	scale 0.75
	States
	{
		Spawn:
		SH05 A -1
		Stop
	}
}

Actor MaintenanceShield : Shield
{
	Height 8
	armor.saveamount 250
	inventory.pickupmessage "Picked up a maintenance-class shield."
	inventory.pickupsound "misc/shieldblue"
	inventory.icon SH25A0
	+PICKUPFLASH
	scale 0.75
	states
	{
	Spawn:
		SH25 A 15
		SH25 BCDCB 2
		loop
	}
}

Actor SupportShield : Shield
{
	Height 10
	armor.saveamount 500
	inventory.pickupmessage "Picked up a support-class shield."
	inventory.pickupsound "misc/shieldgreen"
	inventory.icon SH50A0
	+PICKUPFLASH
	scale 0.75
	states
	{
	Spawn:
		SH50 A 15
		SH50 BCDEFG 2
		loop
	}
}

Actor AssaultShield : Shield
{
	Height 17
	armor.saveamount 1000
	inventory.pickupmessage "Picked up an assault-class shield."
	inventory.pickupsound "misc/shieldyellow"
	inventory.icon SH1TA0
	+PICKUPFLASH
	scale 0.75
	states
	{
	Spawn:
		SH1T A 15
		SH1T BCDEFGH 2
		loop
	}
}

Actor ConquerorShield : Shield
{
	Height 21
	armor.saveamount 2000
	inventory.pickupmessage "Picked up a conqueror-class shield!"
	inventory.pickupsound "misc/shieldred"
	inventory.icon SH2TA0
	+PICKUPFLASH
	scale 0.75
	states
	{
	Spawn:
		SH2T A 15
		SH2T BCDEFGHI 2
		loop
	}
}

actor GreenArmorSpawner : RandomSpawner replaces GreenArmor
{
    DropItem "MaintenanceShield" 255 1
    DropItem "SupportShield" 255 1
}

actor BlueArmorSpawner : RandomSpawner replaces BlueArmor
{
    DropItem "AssaultShield" 255 1
    DropItem "ConquerorShield" 255 1
}
