Initial commit
Initial commit [v9.7]
This commit is contained in:
21
_module/nss/open_jrnl_haunte.nss
Normal file
21
_module/nss/open_jrnl_haunte.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "nw_i0_tool"
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
if (DoOnce==TRUE) return;
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
// Give 10 experience (to party) to the PC.
|
||||
GiveXPToAll(oPC, 10);
|
||||
|
||||
AddJournalQuestEntry("Lady Skeen Marhil", 5, oPC, TRUE, FALSE);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user