21 lines
330 B
Plaintext
21 lines
330 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) && GetLocalInt(oPC,"Evil") == 1 && GetLocalInt(oPC,"EvilQuest") == 0)
|
|
iResult = TRUE;
|
|
|
|
return iResult;
|
|
}
|
|
|
|
|