Ancordia_PRC8/_module/nss/quest_cavailable.nss

11 lines
340 B
Plaintext
Raw Permalink Normal View History

2023-09-21 19:51:32 -04:00
#include "quest_inc"
int StartingConditional()
{
if (GetLocalInt(GetArea(OBJECT_SELF), "ClientSpawned") == TRUE || Random(2) == 0) return FALSE;
object oPC = GetPCSpeaker();
string sDB = CharacterDB(oPC);
int nJournalEntry = GetCampaignInt(sDB, "QUEST_JOURNAL");
if (nJournalEntry != 0) return TRUE;
return FALSE;
}