29 lines
655 B
Plaintext
29 lines
655 B
Plaintext
|
object oDeny;
|
||
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.6
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.lilacsoul.revility.com */
|
||
|
|
||
|
//Put this OnEnter
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetTag(GetItemInSlot(INVENTORY_SLOT_NECK, oPC)) != "ke_MystiskAmulet1")
|
||
|
{
|
||
|
oDeny = GetWaypointByTag("ke_laveskovhulefarvel");
|
||
|
|
||
|
AssignCommand(oPC, JumpToObject(oDeny));
|
||
|
SendMessageToPC(oPC, "A mysterious voice inside your head says, Be gone unworthy one, thou art not welcome");
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
SendMessageToPC(oPC, "A mysterious voice inside your head says, welcome worshipper");
|
||
|
|
||
|
}
|
||
|
|