generated from Jaysyn/ModuleTemplate
11 lines
323 B
Plaintext
11 lines
323 B
Plaintext
void main()
|
|
{
|
|
object oMod = GetModule();
|
|
object oPC = GetPCSpeaker();
|
|
string szPlotID = GetLocalString(OBJECT_SELF,"Quest");
|
|
int nQuestStatus = GetLocalInt(oPC,"NW_JOURNAL_ENTRY"+szPlotID);
|
|
|
|
AddJournalQuestEntry(szPlotID,nQuestStatus+1,oPC,TRUE,FALSE,FALSE);
|
|
SetLocalInt(oMod,"NW_JOURNAL_ENTRY"+szPlotID,nQuestStatus+1);
|
|
}
|