Initial commit
Initial commit. Updated release archive.
This commit is contained in:
19
_module/nss/qst_hasitem_npc2.nss
Normal file
19
_module/nss/qst_hasitem_npc2.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user