generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload
This commit is contained in:
15
_mod/_module/nss/oe_temple_reset.nss
Normal file
15
_mod/_module/nss/oe_temple_reset.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "puzzle_h"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC=GetEnteringObject();
|
||||
if (GetIsPC(oPC))
|
||||
{ // PC
|
||||
if (GetLocalInt(GetModule(),"bTEGodsActive")!=TRUE)
|
||||
{ // activate
|
||||
SetLocalInt(GetModule(),"bTEGodsActive",TRUE);
|
||||
ResetPuzzle();
|
||||
} // activate
|
||||
DeleteLocalString(oPC,"sTempleKeyword");
|
||||
} // PC
|
||||
}
|
||||
Reference in New Issue
Block a user