GammaAge/_module/nss/re_modulehb.nss
Jaysyn904 b927d0faf8 File re-organization.
File re-organization.  Added module builder & hak builder.
2021-09-16 10:15:32 -04:00

31 lines
844 B
Plaintext

//::///////////////////////////////////////////////
//:: Name re_modheartbeat.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
This script is part of the BESIE Random Encounter
System by Ray Miller. It is meant to be placed in
the Module OnHeartbeat Handler. It is used to run
the CleanHouse() function on all areas in which PCs
currently reside.
*/
//:://////////////////////////////////////////////
//:: Created By: Ray Miller
//:: Created On: 1-6-03
//:://////////////////////////////////////////////
#include "re_rndenc"
void main()
{
object oArea;
object oPC = GetFirstPC();
while(GetIsObjectValid(oPC))
{
oArea = GetArea(oPC);
if(!GetIsObjectValid(GetLocalObject(oArea, "re_oHouseCleaner")))
{
CleanHouse(FALSE, oArea);
}
oPC = GetNextPC();
}
}