WoR_PRC8/_module/nss/deathrow_enter.nss

22 lines
393 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
/* 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);
}