Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

41
_module/nss/hc_sd1.nss Normal file
View File

@@ -0,0 +1,41 @@
//:://////////////////////////////////////////////////
//:: X0_O2_SEC_DOOR2
//:: This is an OnEntered script for a generic trigger.
//:: When a PC enters the trigger area, it will perform
//:: a check to determine if the secret item is revealed,
//:: then make it appear if so.
//::
//:: Secret item to be revealed: Secret Stone Door
//:: Checking for: SKILL_SEARCH
//::
//:: Copyright (c) 2002 Floodgate Entertainment
//:: Created By: Naomi Novik
//:: Created On: 12/08/2002
//:://////////////////////////////////////////////////
#include "x0_i0_secret"
void main()
{
int iRandom;
object oEntered = GetEnteringObject();
if (!GetIsPC(oEntered))
return;
if (GetLocalInt(OBJECT_SELF,"DoOnce") > 0)
return;
if (GetIsSecretItemRevealed()) {return;}
iRandom=GetLocalInt(oEntered,"HC1_SDOOR");
if (iRandom==0)
iRandom=Random(10);
if (iRandom==1)
RevealSecretItem("x0_sec_door2");
SetLocalInt(OBJECT_SELF,"DoOnce",1);
}