void main() { object oItem; oItem = GetFirstItemInInventory(OBJECT_SELF); while(GetIsObjectValid(oItem)) { SetPlotFlag(oItem,FALSE); SetIsDestroyable(TRUE,FALSE,FALSE); DestroyObject(oItem,0.0); oItem = GetNextItemInInventory(OBJECT_SELF); } }