31 lines
740 B
Plaintext
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;
|
||
|
}
|