Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
24
_module/nss/qst_deliveritem.nss
Normal file
24
_module/nss/qst_deliveritem.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "rd_questinc"
|
||||
#include "nw_i0_tool"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC;
|
||||
string sTarget;
|
||||
string sTag;
|
||||
int iResult;
|
||||
int iQuest;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
sTarget = GetLocalString(oPC,"QuestTargetNPC");
|
||||
iQuest = GetLocalInt(oPC,"QuestType");
|
||||
sTag = GetLocalString(oPC,"QuestItemTag");
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
if (iQuest == 2 && sTarget == GetTag(OBJECT_SELF) && HasItem(oPC,sTag))
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
||||
|
Reference in New Issue
Block a user