25 lines
423 B
Plaintext
25 lines
423 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.4
|
|
|
|
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, "MLRINGKEY")== OBJECT_INVALID)
|
|
return;
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("MAGERINGANVIL");
|
|
|
|
CreateItemOnObject("midlandsmagering", oTarget);
|
|
|
|
}
|
|
|