Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#include "pqj_inc"
void main()
{
object oItem = GetInventoryDisturbItem();
object oPC = GetLastDisturbed();
if(GetTag(oItem) == "NW_IT_MSMLMISC19")
{
if(RetrieveQuestState("TUTORQUEST",oPC) == 1) // quest started
{
AddPersistentJournalQuestEntry("TUTORQUEST",2, oPC);
}
else
{
// player has not started the quest yet, return item to chest
CreateItemOnObject(GetResRef(oItem));
DestroyObject(oItem);
SendMessageToPC(oPC,"You haven't started this quest yet...");
}
}
}