////////////////////////////////////////
// POWERUP POD STRING FOUNTAINS ////////
// for STRONGHOLD 		////////
// by Tormentor667 		////////
////////////////////////////////////////

Actor BaseLine
{
 +Missile
 +NoGravity
 +NoBlockmap
 +NoInteraction
 +ClientSideOnly
 +ForceYBillboard
 -Solid
 Radius 0
 Height 0
 RenderStyle Add
 Alpha 0.01
 Scale 0.37
 States
 {
  Spawn:
   SPFX AAAAA 1 Bright A_FadeIn(0.2)
   SPFX AAAAAAAAAAAAAAAA 1 Bright A_FadeOut(0.06)
   Stop
 }
}

actor WhitePowerPad 191
{
//$Category Stronghold_PowerUpPads
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 0 A_JumpIf(Args[1], "Circle")
        	TNT1 A 1 A_SpawnItemEx ("BaseLine", random(-Args[0], Args[0]), random(-Args[0], Args[0]), random(0, 8), 0, 0, random(1,3), 0, 129, 0) 
        	Loop
           Circle:
        	TNT1 A 0
        	TNT1 A 1 A_SpawnItemEx ("BaseLine", random(-Args[0], Args[0]), 0, random(0, 8), 0, 0, random(1,3), Random(0, 360), 129, 0) 
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }     
        
}

actor BluePowerPad : WhitePowerPad 192
{
//$Category Stronghold_PowerUpPads
	translation "1:31=168:191"
}

actor GreenPowerPad : WhitePowerPad 193
{
//$Category Stronghold_PowerUpPads
	translation "1:31=236:255"
}

actor RedPowerPad : WhitePowerPad 194
{
//$Category Stronghold_PowerUpPads
	translation "1:31=192:213"
}

actor OrangePowerPad: WhitePowerPad 195
{
//$Category Stronghold_PowerUpPads
	translation "1:31=128:143"
}
