ACTOR ArmageddonChalice : CustomInventory
{
 Scale 1.0
 Inventory.PickupSound "pickups/dchalice"
 Inventory.UseSound "dchalice/use"
 Inventory.PickupMessage "Chalice Of Armageddon"
 Tag "Armageddon Chalice"
 Inventory.Icon "DETMA0"
 +INVENTORY.INVBAR
 +FLOORCLIP
 States
 {
  Spawn:
	DETO A 35
	Loop
  Use:
	TNT1 A 0 A_GiveInventory("DoubleDamageGiver", 1)
	TNT1 A 0 A_GiveInventory("NexusInvulnerabilityGiver", 1)
	Stop  	
 } 
}

ACTOR DoubleDamageGiver : PowerupGiver
{
 +INVENTORY.AUTOACTIVATE
 +INVENTORY.ALWAYSPICKUP
 Inventory.MaxAmount 0
 Powerup.Duration -15
 Powerup.Type "DoubleDamage"
}

Actor PowerDoubleDamage : PowerDamage {DamageFactor "Normal", 2}
	 
ACTOR NexusInvulnerabilityGiver : PowerupGiver
{
 +INVENTORY.AUTOACTIVATE
 +INVENTORY.ALWAYSPICKUP
 Inventory.MaxAmount 0
 Powerup.Duration -15
 Powerup.Type "Invulnerable"
 Powerup.Mode Reflective
 Powerup.Color GoldMap	 
}
