WIP - Inventory Your Items by Jaseowns

Description: This is still in development but it attempts to save items that are important based on the PSA by Owyn.

# WIP - Inventory your items by Jaseowns # UO Outlands # This script assumes you have a special chest and everything else is around you. @setvar! globalTimeout 650 clearsysmsg @clearignore sysmsg "INVENTORY_START" createlist 'layers' clearlist 'layers' pushlist 'layers' shoes pushlist 'layers' shirt pushlist 'layers' head pushlist 'layers' gloves pushlist 'layers' ring pushlist 'layers' talisman pushlist 'layers' neck pushlist 'layers' waist pushlist 'layers' bracelet pushlist 'layers' face pushlist 'layers' middletorso pushlist 'layers' earrings pushlist 'layers' cloak pushlist 'layers' outertorso pushlist 'layers' outerlegs pushlist 'layers' innerlegs pushlist 'layers' onehandedsecondary pushlist 'layers' quiver pushlist 'layers' outerbody pushlist 'layers' lightsource foreach layername in 'layers' if findlayer self layername as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}} ({{layername}})" 69 @ignore item endif endfor while not dead overhead "Select a box to look in or press esc to exit" 88 hotkey 'Set Last Target' while targetexists // wait // tomes while findtype 29104|8438 self -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 88 @ignore item endwhile // tomes while findtype 29104|8438 ground -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 88 @ignore item endwhile while findtype "Mastery Chain|map of Outlands|storage shelf|bank deposit safe|ornate elven chest|resource container" ground -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 69 @ignore item endwhile while findtype "Mastery Chain|map of Outlands|storage shelf|bank deposit safe|ornate elven chest|resource container" self -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 69 @ignore item endwhile endwhile if insysmsg "Last Target Set" // do nothing else overhead "Stop!" break endif @setvar! tomeChest lasttarget // our tomes dclick tomeChest wait 200 // tomes while findtype 29104|8438 self -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 88 @ignore item endwhile // tomes while findtype 29104|8438 ground -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 88 @ignore item endwhile // tomes while findtype 29104|8438 tomeChest -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 77 @ignore item endwhile while findtype "Mastery Chain|map of Outlands|storage shelf|bank deposit safe|ornate elven chest|resource container" self -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 69 @ignore item endwhile while findtype "Mastery Chain|map of Outlands|storage shelf|bank deposit safe|ornate elven chest|resource container" ground -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 69 @ignore item endwhile while findtype "Mastery Chain|map of Outlands|storage shelf|bank deposit safe|ornate elven chest|resource container" tomeChest -1 -1 2 as item getlabel item desc sysmsg "SAVE: {{desc}}={{item}}" 69 @ignore item endwhile endwhile sysmsg "INVENTORY_END" @clearignore stop