//:://///////////////////////////////////////////// //:: FileName tri_takerecipe //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 11/20/2003 20:32:26 //::////////////////////////////////////////////// void main() { // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "tri_brerecipe"); if(GetIsObjectValid(oItemToTake) != 0) {DestroyObject(oItemToTake); CreateItemOnObject("tri_magicboots", GetPCSpeaker(), 1);} else { ClearAllActions(); } }