24 lines
432 B
Plaintext
24 lines
432 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
int iFlag;
|
|
object oPC;
|
|
|
|
iResult = FALSE;
|
|
iFlag = 0;
|
|
oPC = GetPCSpeaker();
|
|
|
|
if (GetTag(OBJECT_SELF) == "ss1_evilquest")
|
|
iFlag = 1;
|
|
if (GetTag(OBJECT_SELF) == "dw1_evilquest")
|
|
iFlag = 1;
|
|
if (GetTag(OBJECT_SELF) == "ip1_evilquest")
|
|
iFlag = 1;
|
|
|
|
if (iFlag == 1 && GetLocalInt(oPC,GetTag(OBJECT_SELF)) >= GetLocalInt(OBJECT_SELF,"TotalQuests"))
|
|
iResult = TRUE;
|
|
|
|
|
|
return iResult;
|
|
}
|