19 lines
385 B
Plaintext
19 lines
385 B
Plaintext
#include "rd_questinc"
|
|
#include "nw_i0_tool"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC;
|
|
int iResult;
|
|
string sTag;
|
|
|
|
oPC = GetPCSpeaker();
|
|
sTag = GetLocalString(oPC,"QuestItemTag");
|
|
|
|
iResult = FALSE;
|
|
if (HasItem(oPC,sTag) && GetLocalString(GetPCSpeaker(),"QuestTargetMob") == "" && GetLocalString(GetPCSpeaker(),"QuestGiver") == GetTag(OBJECT_SELF))
|
|
iResult = TRUE;
|
|
|
|
return iResult;
|
|
}
|