Script: at_glsn_rwd

//::///////////////////////////////////////////////
//:: at_glsn_rwd
//:: Gloison's Heirloom — turn-in reward.
//:: Consumes the heirloom and rewards the PC. Gated upstream by
//:: sc_glsn_have, so the item is present when this fires.
//:://////////////////////////////////////////////
void main()
{
    object oPC   = GetPCSpeaker();
    object oItem = GetItemPossessedBy(oPC, "GloisonsFamilyStone");

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

    GiveXPToCreature(oPC, 5000);
    GiveGoldToCreature(oPC, 15000);
}