// Adds ambient effects to the outer parts of the city of shadow

void main()
{
    location lLoc1 = GetLocation(GetWaypointByTag("WP_LEAVES1"));
    location lLoc2 = GetLocation(GetWaypointByTag("WP_LEAVES2"));
    location lLoc3 = GetLocation(GetWaypointByTag("WP_LEAVES3"));
    effect eVis1 = EffectVisualEffect(132); //lots of leaves
    ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, eVis1, lLoc1);
    ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, eVis1, lLoc2);
    ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, eVis1, lLoc3);

    /* object oPC = GetFirstObjectInArea();
    if (GetIsPC(oPC)) {
        effect eGrease = EffectAreaOfEffect(AOE_PER_GREASE);
        location lGrease1 = GetLocation(GetWaypointByTag("Grease01"));
        location lGrease2 = GetLocation(GetWaypointByTag("Grease02"));
        location lGrease3 = GetLocation(GetWaypointByTag("Grease03"));
        ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eGrease, lGrease1, 5.9f);
        }
    //grease effect refuses to work. screw it.
    */
}
