Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#include "x4_inc_functions"
int StartingConditional()
{
object oPC = GetPCSpeaker();
string sDB = CharacterDB(oPC);
int nIntelNPC = GetLocalInt(oPC, "QuestIntel");
string sIntelNPC = IntToString(nIntelNPC);
string sPrefix;
if (nIntelNPC == 0) sPrefix = "QUEST";
else sPrefix = sIntelNPC+"_NPC";
if (GetCampaignInt(sDB, sPrefix+"_INTELCOST") > GetGold(oPC)) return FALSE;
return TRUE;
}