//::///////////////////////////////////////////////
//:: FileName jw_wizgivgold
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 16/08/2002 18:36:40
//:://////////////////////////////////////////////
#include "nw_i0_tool"

void main()
{
    // Give the speaker some gold
    GiveGoldToCreature(GetPCSpeaker(), 20);

    // Give the speaker some XP
    RewardPartyXP(50, GetPCSpeaker());


    // Remove items from the player's inventory
    object oItemToTake;
    oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_orc_parch");
    if(GetIsObjectValid(oItemToTake) != 0)
        DestroyObject(oItemToTake);
}