#include "nw_i0_tool"
/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.4

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this on action taken in the conversation editor
void main()
{

object oPC = GetPCSpeaker();

RewardPartyXP(2000, oPC, FALSE);

CreateItemOnObject("wishingstaff", oPC);

object oItem;
oItem = GetItemPossessedBy(oPC, "Samurai");

if (GetIsObjectValid(oItem)) DestroyObject(oItem);
        SetLocalInt(GetPCSpeaker(),"shaolin",1);
}