EN6_PRC8/_module/nss/qst_hasitem_npc2.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

20 lines
379 B
Plaintext

#include "nw_i0_tool"
int StartingConditional()
{
object oPC;
int iResult;
int iResponse;
string sTag;
oPC = GetPCSpeaker();
sTag = GetLocalString(oPC,"QuestItem");
iResponse = GetLocalInt(oPC,"QuestResponse");
iResult = FALSE;
if (HasItem(oPC,sTag) && GetLocalString(GetPCSpeaker(),"QuestNPC") == GetTag(OBJECT_SELF) && iResponse == 2)
iResult = TRUE;
return iResult;
}