Ancordia_PRC8/_module/nss/quest_int1.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

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;
}