void main()
{

object oPC = GetPCSpeaker();

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

AdjustAlignment(oPC, ALIGNMENT_GOOD, 5);

GiveXPToCreature(oPC, 150);

if (GetIsObjectValid(oItem))
   DestroyObject(oItem);

}

