ACTOR RasputinToxicShell : FastProjectile
{
   Obituary "%o received a ''Toxicoil'' grenade in da face, thanks to %k's ''Rasputin''."
   Radius 10
   Height 14
   Speed 100
   Damage 150
   Scale 0.9
   PROJECTILE
   +RANDOMIZE
   +THRUGHOST
   +EXPLODEONWATER
   +DONTBLAST
   MissileType "100MMTrailSpawner"
   Scale 0.8
   States
   {
   Spawn:
      RASC A 0
      RASC A 0 ThrustThingZ(0,30,0,1)
      RASC A 0 A_PlaySound("Weapons/PushkaLoop",5,1.0)
   Maocopter:
      RASC A 0 ThrustThingZ(0,random(-4,-6),0,1)
      RASC A 1 Bright
	  Loop
  Death:
    TNT1 A 0 A_PlaySound("Rasputin/Hit",5)
    TNT1 A 0 A_Explode(192,400,0)
    TNT1 A 0 A_Quake(3,20,0,256,none)
    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GasCloud",random(20,-20),random(20,-20),random(15,-15),frandom(2.5,4.0),frandom(2.5,4.0),frandom(-0.85,0.85),frandom(0.0,360.0),36)
    TNT1 A 0 A_SpawnItemEx("AcidRainSpawner",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS,0)
    TNT1 A 0 A_SpawnItemEx("PodGaloreSpawner",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS,0)
    TNT1 A 300 A_PlaySound("Toxicoil/Rain",5,1.0,1)
    TNT1 A 1 A_PlaySound("Toxicoil/End",5,1.0)
    stop
   }
}

ACTOR AcidRainSpawner
{
   +NOINTERACTION
   +NOGRAVITY
   +DONTBLAST
   States
   {
   Spawn:
   TNT1 A 0
   TNT1 A 1 A_CustomMissile("AcidRainer",0,0,0,CMF_TRACKOWNER)
   Stop
   }
}

ACTOR AcidRainer
{
   +NOINTERACTION
   +NOGRAVITY
   +SPAWNCEILING
   +CEILINGHUGGER
   +DONTBLAST
   ReactionTime 300
   States
   {
   Spawn:
   TNT1 A 0
   TNT1 A 0 A_SetAngle(Angle+3)
   TNT1 AAA 0 A_SpawnItemEx("AcidRain",random(350,-350),random(350,-350),-6,0,0,frandom(-0.2,0.0),0,SXF_TRANSFERPOINTERS,0)
   TNT1 A 1 A_Countdown
   Loop
   }
}

ACTOR AcidRain
{
  Radius 4
  Height 9
  Speed 0
  Damage 12
  DamageType "Nope"
  Projectile
  -NOGRAVITY
  +DONTSPLASH
  Gravity 1.5
  Obituary "o% was melted by %k's acid rain."
  Renderstyle Add
  States
  {
  Spawn:
  PDRP A 1 A_SpawnItemEx("RainTrail")
  Loop
  Death:
  PDRP BCDEF 2
  Stop
  XDeath:
  PDRP GHI 2
  Stop
  }
}

ACTOR RainTrail
{
  +NOINTERACTION
  +NOGRAVITY
  +CLIENTSIDEONLY
  Renderstyle Add
  States
  {
  Spawn:
  PDRP GHI 1
  Stop
  }
}

ACTOR PodGaloreSpawner
{
   +NOINTERACTION
   +NOGRAVITY
   +DONTBLAST
   States
   {
   Spawn:
   TNT1 A 0
   TNT1 A 1 A_CustomMissile("PodGalore",0,0,0,CMF_TRACKOWNER)
   Stop
   }
}


ACTOR PodGalore
{
   +NOINTERACTION
   +NOGRAVITY
   +SPAWNCEILING
   +CEILINGHUGGER
   +DONTBLAST
   ReactionTime 175
   States
   {
   Spawn:
   TNT1 A 0
   TNT1 A 0 A_Countdown
   TNT1 A 2 A_SpawnItemEx("DelLaFunkeePodosapien",random(300,-300),random(300,-300),-12,0,0,0,0,SXF_TRANSFERPOINTERS,192)
   Loop
   Death:
   Stop
   }
}

Actor DelLaFunkeePodosapien
{
  Radius 16
  Height 12
  Gravity 0.125
  Obituary "%o was nuked by %k's spontaneous pod growth galore."
  Projectile
  -NOGRAVITY
  +DONTGIB
  +FORCERADIUSDMG
  DamageType Nope
  States
  {
  Spawn:
  GPOD IJKLMNOP 2
  Looper:
  GPOD A 10
  Loop
  Death:
  GPOD A 10
  GPOD B 0 A_Quake(3,15,0,256,none)
  GPOD B 3 A_PlaySound("Pod/Blast",0,0.9)
  GPOD B 0 A_Explode(200,192,0)
  GPOD BBBBBB 0 A_SpawnItemEx("DelLaPodGoo",random(14,-14),random(14,-14),32+random(7,-7),frandom(2.5,3.0),frandom(2.5,3.0),frandom(2.75,3.5),frandom(0.0,360.0),SXF_TRANSFERPOINTERS,64)
  GPOD BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 0 A_SpawnItemEx("GasCloud",random(14,-14),random(14,-14),32+random(7,-7),frandom(1.5,3.0),frandom(1.5,3.0),frandom(-0.5,0.5),frandom(0.0,360.0),SXF_TRANSFERPOINTERS,36)
  GPOD CDEF 3 Bright
  Stop
  }
}

ACTOR DelLaPodGoo
{
  Radius 2
  Height 4
  Gravity 0.25
  Projectile
  -NOGRAVITY
  +CLIENTSIDEONLY
  +NOTELEPORT
  States
  {
  Spawn:
    GPOD GH 8
    Loop
  Death:
    GPOD G 70
	GPOD G 1 A_FadeOut(0.1)
    Wait
  }
}
