Initial commit
Initial commit [v9.7]
This commit is contained in:
20
_module/nss/ent_jrnl_msrbld2.nss
Normal file
20
_module/nss/ent_jrnl_msrbld2.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
if (DoOnce==TRUE) return;
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
// Give 5 experience (to party) to the PC.
|
||||
GiveXPToAll(oPC, 5);
|
||||
|
||||
AddJournalQuestEntry("The Mouser's Blade", 2, oPC, TRUE, FALSE);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user