//:://///////////////////////////////////////////// //:: FileName at_023 //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 26/04/2008 15:04:21 //::////////////////////////////////////////////// void main() { // Give the speaker some gold GiveGoldToCreature(GetPCSpeaker(), 50); // Give the speaker some XP GiveXPToCreature(GetPCSpeaker(), 250); // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "Contraption"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); // Set the variables SetLocalInt(GetPCSpeaker(), "iWantContraption", 2); }