25 lines
526 B
Plaintext
25 lines
526 B
Plaintext
#include "rd_misc"
|
|
#include "utl_i_sqluuid"
|
|
|
|
int StartingConditional()
|
|
{
|
|
int iQuest;
|
|
int iOverallQuest;
|
|
int iResult;
|
|
int iNotAccepted;
|
|
string sPrefix;
|
|
object oPC;
|
|
|
|
oPC = GetPCSpeaker();
|
|
iQuest = GetLocalInt(oPC,"Quest");
|
|
iOverallQuest = SQLocalsUUID_GetInt(oPC,"OverallQuest");
|
|
iNotAccepted = GetLocalInt(oPC,"Overall2NotAccepted");
|
|
sPrefix = GetZone(OBJECT_SELF);
|
|
|
|
iResult = FALSE;
|
|
|
|
if (iQuest == 0 && iOverallQuest == 101 && iNotAccepted == 0 && sPrefix == "DW1")
|
|
iResult = TRUE;
|
|
|
|
return iResult;
|
|
} |