//::///////////////////////////////////////////////
//:: FileName i_baehorn2
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 10/5/2003 2:18:34 PM
//:://////////////////////////////////////////////
void main()
{
    // <3 Wayne, ty!! :)
    int iHead = GetLocalInt(GetPCSpeaker(), "SmugglerHeads");
    iHead = iHead + 1;
    SetLocalInt(GetPCSpeaker(), "SmugglerHeads", iHead);


    // Give the speaker some gold
    GiveGoldToCreature(GetPCSpeaker(), 50);

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


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