22 lines
393 B
Plaintext
22 lines
393 B
Plaintext
|
/* 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 (GetItemPossessedBy(oPC, "Shackles")!= OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
CreateItemOnObject("shackles", oPC);
|
||
|
ExecuteScript("area_enter", OBJECT_SELF);
|
||
|
}
|
||
|
|