#include "nw_i0_tool" /* Script generated by Lilac Soul's NWN Script Generator, v. 1.6 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; if (GetItemPossessedBy(oPC, "ke_MystiskAmulet1")!= OBJECT_INVALID) return; CreateItemOnObject("mystiskamulet", oPC); ActionSpeakString("The Bringer of Change accepts your request for passage"); object oTarget; oTarget = oPC; effect eEffect; eEffect = EffectHaste(); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 120.0f); }