// Super Armor 

ACTOR SuperArmorSpawnActor : CustomInventory 10068
{
	Tag "Super Armor"
	//$Category Health and Armor
	//$Sprite ARMXA0
	+NOBLOCKMAP
	+NOGRAVITY
	States
	{
	Spawn:
	  TNT1 A 0
	  TNT1 A 1
	  TNT1 A 1 A_JumpIf(ACS_NamedExecuteWithResult("GunModifierSpawn") == 666,"Nothing")
	  TNT1 A 1 A_SpawnItemEx("SuperArmorSpawner")
	Nothing:
	  TNT1 A 1
	  TNT1 A -1
	  Stop
	}
}

ACTOR SuperArmorSpawner : RandomSpawner
{
	DropItem "SuperArmor"
}

Actor SuperArmor : BasicArmorPickup
{
  Radius 20
  Height 16
  Armor.SavePercent 50
  Armor.SaveAmount 300
  Inventory.Icon "ARMXA0"
  Inventory.PickupMessage "SUPER ARMOR!"
  Inventory.PickupSound "misc/suparmor_pkup"
  Inventory.RespawnTics 2100
  DamageFactor "Normal", 0.2
  Tag "Super Armor"
  +SUPERARMOR
  States
  {
  Spawn:
    ARMX AB 3 Bright
    Loop
  }
}