//:://///////////////////////////////////////////// //:: FileName end_samoflange //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 8/22/2002 7:03:19 PM //::////////////////////////////////////////////// void main() { // Give the speaker some gold GiveGoldToCreature(GetPCSpeaker(), 150); // Give the speaker some XP GiveXPToCreature(GetPCSpeaker(), 250); // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "GoblinHead"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); }