Initial Commit
Initial Commit
This commit is contained in:
15
_module/nss/quest_bg5luck.nss
Normal file
15
_module/nss/quest_bg5luck.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "quest_inc"
|
||||
int StartingConditional()
|
||||
{
|
||||
string sDB = CharacterDB(GetPCSpeaker());
|
||||
|
||||
string sName = GetCampaignString(sDB, "QUEST_CLI_NAME");
|
||||
string sLastName = GetCampaignString(sDB, "QUEST_CLI_LASTNAME");
|
||||
|
||||
SetCustomToken(11001, sName);
|
||||
SetCustomToken(11002, sLastName);
|
||||
SetQuestTokens(GetPCSpeaker());
|
||||
|
||||
if (GetCampaignInt(sDB, "QUEST_BACKGROUND") == 5 && GetCampaignInt(sDB, "QUEST_LUCK") == 1) return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user