//SEISMIC CHARGE

Actor SeismicCharges : CustomInventory 
{
    Inventory.InterHubAmount 75
    Inventory.MaxAmount 75
	Inventory.Icon "CHARA0"
	Inventory.PickupMessage "You got some charges."
	inventory.usesound "misc/charges_thrw"
	scale 0.1
	States {
		Spawn:
			CHAR A -1 
		stop
		Use:
	  CHAR A 1
	  TNT1 A 0 A_Jump(168,2)
      TNT1 A 0 A_PlaySound("*grenadecall", CHAN_VOICE)
      TNT1 A 1 A_FireCustomMissile("Charge",0,0)
		stop
	}
}

Actor Charge
{
Projectile
+FORCEXYBILLBOARD
+BLOODSPLATTER 

+EXTREMEDEATH
-NOGRAVITY
damage 50
radius 4
height 4
speed 45
Gravity 0.9
renderstyle Translucent
alpha 1.0
ReactionTime 1
scale 0.1
states
	{
	Spawn:
		CHAR A -1 BRIGHT
		Loop
    Death:
	   TNT1 A 0 A_Explode(300,150)
	   EXPL A 0 Radius_Quake (12, 54, 0, 15, 0)
	   TNT1 A 0 A_PlaySound("EXPLO1", 1)
	   TNT1 A 0 A_PlaySound("misc/charges_Expl", 2, 100)
	   EXPL AAAAAAAAAAAAAAA 0 A_CustomMissile ("BigSpark", 1, 0, random (0, 360), 2, random (0, 360))
	   EXPL AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_CustomMissile ("FastSpark", 1, 0, random (0, 360), 2, random (0, 90))
	    EXPL AAAAAA 0 A_CustomMissile ("ExplosionFire", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 10 BRIGHT
       Stop
	}
}