//::///////////////////////////////////////////////
//:: FileName jhr_taw_mntlion
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/1/2002 2:16:52 AM
//:://////////////////////////////////////////////
#include "nw_i0_plot"

int CheckPartyForItem(object oMember, string sItem)
{
    object oPartyMember = GetFirstFactionMember(oMember, TRUE);
    while (GetIsObjectValid(oPartyMember) == TRUE)
    {
        if(HasItem(oPartyMember, sItem))
            return TRUE;
        oPartyMember = GetNextFactionMember(oMember, TRUE);
    }

    return FALSE;
}
int StartingConditional()
{

    // Inspect local variables
    if(!(GetLocalInt(GetModule(), "nHeardMountainLionQuestFlag") == 1))
        return FALSE;
    // also check for item
    if(!(CheckPartyForItem(GetPCSpeaker(), "jhr_mntlionpelt")))
        return FALSE;

    return TRUE;
}
