Initial upload
Initial upload
This commit is contained in:
31
_module/nss/at_check_sewer.nss
Normal file
31
_module/nss/at_check_sewer.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
string sDeny;
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.3
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this OnOpen
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (!(GetHitDice(oPC) >= 15))
|
||||
{
|
||||
sDeny="You are not of the level 15 and cannot pass beyond this point";
|
||||
|
||||
SendMessageToPC(oPC, sDeny);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("goto_sewers3");
|
||||
|
||||
AssignCommand(oTarget, ActionCloseDoor(oTarget));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user