18 lines
570 B
Plaintext
18 lines
570 B
Plaintext
#include "x4_inc_functions"
|
|
int StartingConditional()
|
|
{
|
|
string sDB = CharacterDB(GetPCSpeaker());
|
|
if (GetCampaignInt(sDB, "QUEST_COMPLICATION") != 1) return FALSE;
|
|
|
|
string sName = GetCampaignString(sDB, "QUEST_CLI_NAME");
|
|
string sLastName = GetCampaignString(sDB, "QUEST_CLI_LASTNAME");
|
|
string sRansom = GetCampaignString(sDB, "QUEST_EXTRA2");
|
|
int nRansom = 2*StringToInt(sRansom);
|
|
sRansom = IntToString(nRansom);
|
|
SetCustomToken(11001, sName);
|
|
SetCustomToken(11002, sLastName);
|
|
SetCustomToken(11008, sRansom);
|
|
|
|
return TRUE;
|
|
}
|