//::///////////////////////////////////////////////
//:: qst_ch_altar_nf.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
    Checks that the "Lost Altar" quest hasn't
    been completed.
*/
//:://////////////////////////////////////////////
//:: Created By:  Jaysyn
//:: Created On:  20220702
//:://////////////////////////////////////////////

#include "pqj_inc"

int StartingConditional()
{
//: Declare major variables
    object oPC = GetPCSpeaker();
    int nInt;

//:: Inspect quest state
    nInt = RetrieveQuestState("lostaltar", oPC);
    //nInt=GetLocalInt(oPC, "NW_JOURNAL_ENTRYlostaltar");
    if (nInt >= 4)
        return FALSE;

    return TRUE;
}