#include "x0_i0_partywide" #include "MY_O2_CONINCLUDE" void main() { // Get the creature who triggered this event. object oPC = GetLastKiller(); // Only fire once. if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) ) return; SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE); // Update the party's journals. AddJournalQuestEntry("CorbettHouse", 5, oPC); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); //Give Stuff if (GetLocalInt(OBJECT_SELF,"NW_DO_ONCE") != 0) { return; } object oLastOpener = GetLastOpener(); GenerateLowTreasure(oLastOpener, OBJECT_SELF); SetLocalInt(OBJECT_SELF,"NW_DO_ONCE",1); ShoutDisturbed(); }