16 lines
414 B
Plaintext
16 lines
414 B
Plaintext
#include "quest_inc"
|
|
int StartingConditional()
|
|
{
|
|
string sDB = CharacterDB(GetPCSpeaker());
|
|
|
|
object oPC = GetPCSpeaker();
|
|
int nIntelNPC = GetLocalInt(oPC, "QuestIntel");
|
|
string sIntelNPC = IntToString(nIntelNPC);
|
|
string sPrefix;
|
|
if (nIntelNPC == 0) sPrefix = "QUEST";
|
|
else sPrefix = sIntelNPC+"_NPC";
|
|
|
|
if (GetCampaignInt(sDB, sPrefix+"_INTEL") == 1) return TRUE;
|
|
return FALSE;
|
|
}
|