Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

16
_module/nss/tamper.nss Normal file
View File

@@ -0,0 +1,16 @@
void main()
{
object oDoor = OBJECT_SELF;
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
int class1 = GetLevelByClass(CLASS_TYPE_ROGUE, oPC);
int class2 = GetLevelByClass(CLASS_TYPE_BARD, oPC);
int pass = class1 + class2;
if (pass <=14){
AssignCommand(oDoor, ActionCloseDoor(oDoor));
SetLocked(oDoor, TRUE) ;
SendMessageToPC(oPC, "This complex lock has detected tampering, and relocked itself.");
}
}