Sorting Weapons and Armor by Jaseowns
# IDing Weapons and Armor and saving the best by Jaseowns
# UO Outlands
# Video Explanation: https://youtu.be/Hwh8hW2LEaw
# Requirements:
# Have item ID skill above 0
#
# Additional Info:
# This script only saves the following:
# power
# vanquishing
# exceedingly
# supremely
# fortification
# invulnerability
setvar id_source_container
setvar good_items_store_container
if not listexists id_weapon_items
createlist id_weapon_items
pushlist id_weapon_items "martial arts scroll"
pushlist id_weapon_items "halberd"
pushlist id_weapon_items "bardiche"
pushlist id_weapon_items "battle axe"
pushlist id_weapon_items "double axe"
pushlist id_weapon_items "two handed axe"
pushlist id_weapon_items "executioner's axe"
pushlist id_weapon_items "large battle axe"
pushlist id_weapon_items "axe"
pushlist id_weapon_items "scimitar"
pushlist id_weapon_items "longsword"
pushlist id_weapon_items "viking sword"
pushlist id_weapon_items "katana"
pushlist id_weapon_items "cutlass"
pushlist id_weapon_items "broadsword"
pushlist id_weapon_items "war hammer"
pushlist id_weapon_items "war axe"
pushlist id_weapon_items "maul"
pushlist id_weapon_items "quarter staff"
pushlist id_weapon_items "gnarled staff"
pushlist id_weapon_items "black staff"
pushlist id_weapon_items "hammer pick"
pushlist id_weapon_items "club"
pushlist id_weapon_items "shepherd's crook"
pushlist id_weapon_items "war mace"
pushlist id_weapon_items "mace"
pushlist id_weapon_items "Long Spear"
pushlist id_weapon_items "pitchfork"
pushlist id_weapon_items "war fork"
pushlist id_weapon_items "kryss"
pushlist id_weapon_items "short spear"
pushlist id_weapon_items "bow"
pushlist id_weapon_items "crossbow"
pushlist id_weapon_items "heavy crossbow"
pushlist id_weapon_items "bladed staff"
endif
if not listexists id_armor_items
createlist id_armor_items
pushlist id_armor_items "leather tunic"
pushlist id_armor_items "leather leggings"
pushlist id_armor_items "leather sleeves"
pushlist id_armor_items "leather cap"
pushlist id_armor_items "leather gloves"
pushlist id_armor_items "leather gorget"
pushlist id_armor_items "leather armor"
pushlist id_armor_items "leather bustier"
pushlist id_armor_items "leather shorts"
pushlist id_armor_items "leather skirt"
pushlist id_armor_items "studded tunic"
pushlist id_armor_items "studded leggings"
pushlist id_armor_items "studded sleeves"
pushlist id_armor_items "studded gloves"
pushlist id_armor_items "studded gorget"
pushlist id_armor_items "studded armor"
pushlist id_armor_items "studded bustier"
pushlist id_armor_items "bone armor"
pushlist id_armor_items "bone legs"
pushlist id_armor_items "bone arms"
pushlist id_armor_items "bone helmet"
pushlist id_armor_items "bone gloves"
pushlist id_armor_items "ringmail tunic"
pushlist id_armor_items "ringmail leggings"
pushlist id_armor_items "ringmail sleeves"
pushlist id_armor_items "helmet"
pushlist id_armor_items "ringmail gloves"
pushlist id_armor_items "orc helm"
pushlist id_armor_items "chainmail tunic"
pushlist id_armor_items "chainmail leggings"
pushlist id_armor_items "chainmail coif"
pushlist id_armor_items "platemail"
pushlist id_armor_items "platemail legs"
pushlist id_armor_items "platemail arms"
pushlist id_armor_items "plate helm"
pushlist id_armor_items "platemail gloves"
pushlist id_armor_items "platemail gorget"
pushlist id_armor_items "plate armor"
pushlist id_armor_items "bascinet"
pushlist id_armor_items "close helm"
pushlist id_armor_items "norse helm"
pushlist id_armor_items "wooden shield"
pushlist id_armor_items "kite shield"
pushlist id_armor_items "buckler "
pushlist id_armor_items "metal shield"
pushlist id_armor_items "bronze shield"
pushlist id_armor_items "kite shield"
pushlist id_armor_items "heater shield"
pushlist id_armor_items "Chaos shield"
pushlist id_armor_items "Order shield"
endif
if not listexists id_bard_items
createlist id_bard_items
pushlist id_bard_items "lap harp"
pushlist id_bard_items "drum"
pushlist id_bard_items "lute"
pushlist id_bard_items "bamboo flute"
pushlist id_bard_items "tambourine"
endif
if not listexists id_mage_weapon_items
createlist id_mage_weapon_items
pushlist id_mage_weapon_items "spellbook"
endif
if skill "Item Identification" <= 0
overhead "Requires item ID skill to continue.." 34
stop
endif
foreach id in id_mage_weapon_items
sysmsg id 88
while findtype id id_source_container as item
getlabel item description
overhead description 88
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif power in description or vanquishing in description or supremely in description or exceedingly in description
lift item
wait 250
drop good_items_store_container -1 -1 -1
ignore item
wait 250
else
lift item
wait 250
drop backpack -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
foreach id in id_bard_items
sysmsg id 88
while findtype id id_source_container as item
getlabel item description
overhead description 88
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif supremely in description or exceedingly in description
lift item
wait 250
drop good_items_store_container -1 -1 -1
ignore item
wait 250
else
lift item
wait 250
drop backpack -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
foreach id in id_armor_items
sysmsg id 88
while findtype id id_source_container as item
getlabel item description
overhead description 88
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif fortification in description or invulnerability in description
lift item
wait 250
drop good_items_store_container -1 -1 -1
else
lift item
wait 250
drop backpack -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
foreach id in id_weapon_items
sysmsg id 88
while findtype id id_source_container as item
getlabel item description
overhead description 88
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif power in description or vanquishing in description or supremely in description or exceedingly in description
lift item
wait 250
drop good_items_store_container -1 -1 -1
ignore item
wait 250
else
lift item
wait 250
drop backpack -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
clearignore