37 lines
829 B
Plaintext
37 lines
829 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: qst_ch_door01.nss
|
||
|
//:: Copyright (c) 2022 Project RATDOG
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Checks for the "Master of the Door" quest
|
||
|
having been started.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Tolen
|
||
|
//:: Created On: ???
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "pqj_inc"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
//:: Declare major variables
|
||
|
object oPC = GetPCSpeaker();
|
||
|
int nInt;
|
||
|
int nGP = GetGold(oPC);
|
||
|
|
||
|
//:: Check to see if the PC has 1000 gp.
|
||
|
if ( GetGold(oPC) < 1000 )
|
||
|
return FALSE;
|
||
|
|
||
|
//:: Inspect local variables
|
||
|
nInt = RetrieveQuestState("door", oPC);
|
||
|
//nInt=GetLocalInt(oPC, "NW_JOURNAL_ENTRYdoor");
|
||
|
|
||
|
if (!nInt == 1)
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE;
|
||
|
|
||
|
}
|