Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#include "en5_misc"
int StartingConditional()
{
int iResult;
string sTalk;
string sResponse;
string sTalk2;
string sAccomplishment;
sTalk = GetLocalString(OBJECT_SELF,"QUEST_Talk");
sResponse = GetLocalString(OBJECT_SELF,"QUEST_Response");
sTalk2 = GetLocalString(OBJECT_SELF,"QUEST_Talk2");
SetCustomToken(301,sTalk);
SetCustomToken(302,sResponse);
SetCustomToken(303,sTalk2);
sAccomplishment = GetLocalString(GetPCSpeaker(),GetMyZone()+ "_Accomplishment");
if (sAccomplishment == "" || GetLocalInt(OBJECT_SELF,"Accomplishment") == 1)
SetCustomToken(201,"What can I do for you?");
else
{
SetCustomToken(201,"Sally told me you " + sAccomplishment + ". The hamlett thanks you. What can I do for you?");
SetLocalInt(OBJECT_SELF,"Accomplishment",1);
}
iResult = FALSE;
return iResult;
}