#region Stratocasters
//$Color 17

class StratParticleMourning : StratParticle
{
	States
	{
	Spawn:
		MPRT A 0;
		Goto Super::SetScale;
	}
}

class MourningStratGiver : StratBringer
{
	Default
	{
		//$Title Mourning Glory Stratocase
		Tag "\c[yellow]Mourning Glory Stratocase";
		Inventory.PickupMessage "$MOURNINGSTRATCASE";
		Inventory.Amount 1500;
		BaseBringer.ItemToBring "MourningStrat";
	}
	
	States
	{
	Spawn:
		STCK J 1 NoDelay Bright {
			If(!(A_CheckSight("Null") || GetCVar("GC_PickupParticleChoker")))
			{
				A_SpawnItemEx("StratParticleMourning",
					frandom(2.0,-2.0),frandom(2.0,-2.0),23+frandom(2.0,-2.0),
					frandom(1.0,-1.0),frandom(1.0,-1.0),frandom(1.0,-1.0),
					frandom(0.0,360.0),SXF_CLIENTSIDE,64);
			}
		}
		Loop;
	}
}

class MourningStrat : StratItem
{
	Default
	{
		Tag "\c[yellow]Mourning Glory Stratocase";
		TogglerItem.Token "MourningStratActive";
		Inventory.PickupMessage "$MOURNINGSTRATCASE";
	}
	States
	{
	Spawn:
		STCK J 1 NoDelay Bright {
			If(!(A_CheckSight("Null") || GetCVar("GC_PickupParticleChoker")))
			{
				A_SpawnItemEx("StratParticleMourning",
					frandom(2.0,-2.0),frandom(2.0,-2.0),23+frandom(2.0,-2.0),
					frandom(1.0,-1.0),frandom(1.0,-1.0),frandom(1.0,-1.0),
					frandom(0.0,360.0),SXF_CLIENTSIDE,64);
			}
		}
		Loop;
	}
}

class MourningStratActive : Inventory { Default { Inventory.MaxAmount 1; } }

#endregion
