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,28 @@
#include "qst_include"
void main()
{
//object oQuestNPC;
object oPC;
oPC=GetPCSpeaker();
if (GetLocalInt(oPC,"OnQuest") > 0)
{
if (GetLocalInt(oPC,"QuestStored") == 0)
{
SetLocalString(oPC,"STORE_QuestNPC",GetLocalString(oPC,"QuestNPC"));
SetLocalString(oPC,"STORE_QuestName",GetLocalString(oPC,"QuestName"));
SetLocalString(oPC,"STORE_QuestTarget",GetLocalString(oPC,"QuestTarget"));
SetLocalString(oPC,"STORE_JournalDesc",GetLocalString(oPC,"QuestJournalDesc"));
SetLocalInt(oPC,"QuestStored",1);
SetPartyVariables(oPC);
AddJournalQuestEntry("jQuest",20,oPC);
} else {
SendMessageToPC(GetPCSpeaker(),"Cannot store quest. There is already a quest stored.");
}
} else {
SendMessageToPC(GetPCSpeaker(),"You are not on a quest.");
}
}