Jaysyn904 ee912d2da9 Quest persistence work
Quest persistence work.
2022-07-06 00:35:22 -04:00

31 lines
740 B
Plaintext

//::///////////////////////////////////////////////
//:: qst_ch_altar04.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Checks that the "Lost Altar" quest has been
completed with the altar of Hecate intact.
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 20220705
//:://////////////////////////////////////////////
#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 TRUE;
return FALSE;
}