RATDOG/_module/nss/qst_ch_kngsly01g.nss
Jaysyn904 ee912d2da9 Quest persistence work
Quest persistence work.
2022-07-06 00:35:22 -04:00

35 lines
817 B
Plaintext

//::///////////////////////////////////////////////
//:: qst_ch_kngsly01g.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Checks for Stage #1 of the "Saving Sir
Kingsley" quest & if the PC has 1000gp for
the Oracle.
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 20220705
//:://////////////////////////////////////////////
#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 quest state
nInt = RetrieveQuestState("kingsley", oPC);
if (!nInt == 1)
return FALSE;
return TRUE;
}