//-----------------------Alien Trilogy Red Blood------------------------------//
Actor ATRedBlood replaces Blood
{
	+NOBLOCKMAP
	+NOTELEPORT
	-NOGRAVITY
	-ALLOWPARTICLES
	+NOTELEPORT
	+CLIENTSIDEONLY	
	scale 0.45
	VSpeed 0
	Speed 0
	Translation "Red"
	States
	{
    Spawn:
	   ATBL A 2
	   TNT1 A 0 A_CustomMissile("DropRedBlood", 0, 0, random(115,135), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropRedBlood", 0, 0, random(70,90), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropRedBlood", 0, 0, random(25,45), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropRedBlood", 0, 0, random(250,270), 2, random(345,350))
	   TNT1 A 0 A_CustomMissile ("DropRedBlood", 0, 0, random(295,315), 2, random(345,350))
	   TNT1 A 0 A_CustomMissile ("DropRedBlood", 0, 0, random(340,360), 2, random(345,350))
	   ATBL BCDEF 2
	   Stop
    }
}
//----------------------------------------------------------------------------//

//-----------------------Alien Trilogy Green Blood----------------------------//
Actor ATGreenBlood replaces Blood
{
	+NOBLOCKMAP
	+NOTELEPORT
	-NOGRAVITY
	-ALLOWPARTICLES
	+NOTELEPORT
	+CLIENTSIDEONLY	
	scale 0.45
	VSpeed 0
	Speed 0
	Translation "Green"
	States
	{
    Spawn:
	   ATBL A 2
	   TNT1 A 0 A_CustomMissile("DropGreenBlood", 0, 0, random(115,135), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropGreenBlood", 0, 0, random(70,90), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropGreenBlood", 0, 0, random(25,45), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropGreenBlood", 0, 0, random(250,270), 2, random(345,350))
	   TNT1 A 0 A_CustomMissile ("DropGreenBlood", 0, 0, random(295,315), 2, random(345,350))
	   TNT1 A 0 A_CustomMissile ("DropGreenBlood", 0, 0, random(340,360), 2, random(345,350))
	   ATBL BCDEF 2
	   Stop
    }
}
//----------------------------------------------------------------------------//

//-----------------------Alien Trilogy White Blood----------------------------//
Actor ATWhiteBlood replaces Blood
{
	+NOBLOCKMAP
	+NOTELEPORT
	-NOGRAVITY
	-ALLOWPARTICLES
	+NOTELEPORT
	+CLIENTSIDEONLY	
	scale 0.45
	VSpeed 0
	Translation "White"
	Speed 0
	States
	{
    Spawn:
	   ATBL A 2
	   TNT1 A 0 A_CustomMissile("DropWhiteBlood", 0, 0, random(115,135), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropWhiteBlood", 0, 0, random(70,90), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropWhiteBlood", 0, 0, random(25,45), 2, random(5,10))
	   TNT1 A 0 A_CustomMissile ("DropWhiteBlood", 0, 0, random(250,270), 2, random(345,350))
	   TNT1 A 0 A_CustomMissile ("DropWhiteBlood", 0, 0, random(295,315), 2, random(345,350))
	   TNT1 A 0 A_CustomMissile ("DropWhiteBlood", 0, 0, random(340,360), 2, random(345,350))
	   ATBL BCDEF 2
	   Stop
    }
}
//----------------------------------------------------------------------------//


//---------------------------Drop Blood---------------------------------------//
ACTOR DropRedBlood
{
	Radius 0
	height 0
	Speed 4
	scale 0.45
	Projectile
	Translation "0:255 = [0, 0, 0]:[255,0,0]"
	-NOGRAVITY
	-SOLID
	+CLIENTSIDEONLY
	Gravity 0.35
	States
	{
	Spawn:
		ATBL A 2
	    Loop
	Death:
	   ATBL BCDEF 2
	   Stop
	}
}
//----------------------------------------------------------------------------//

ACTOR DropGreenBlood : DropRedBlood { Translation "0:255 = [0, 0, 0]:[0,255,0]" }
ACTOR DropWhiteBlood : DropRedBlood { Translation "0:255 = [0, 0, 0]:[255,255,255]" }

