# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ba73a47f-0631-4abf-a12e-4a96858da1aa for latest # Automation by Jaseowns ## Script: Lifty Whats Left! ## Created by: throatslip#0 ############################################# //!@#Lifty Whats Left!@# by InCeptor //a snip from my Phoenix Protocol script //kinda like lifty loot but with less loot //sometimes we all get looted but still need to activate an aspect.... //run once to set then again to equip like similar dress scripts //this one differs: //if some of your armor is stolen this will take into consideration if you meditate //then select a replacement from any loot trash gear left behind or found based on that //if you med it will try to find you some leather if not then studded then bone ect //if you dont have med skill then it goes the other way searching for the heaviest armor class piece //for replacement *note not intended to select and equip replacement gear left on your corpse strait to //your equipslot you need to loot your body or some nearby corpses for replacement gear* //next version magic item and material consideration and item id if skill item id is greater than 15 or id wand is present if findlayer self gloves = 0 while findlayer self gloves = 0 overhead index if findlayer self gloves as item getlabel item igloves overhead "Set: {{igloves}}" @setvar! currentgloves item elseif varexist currentgloves and find currentgloves getlabel currentgloves cgloves overhead "Wearing: {{cgloves}}" lift currentgloves 1 drop self gloves wait 650 @setvar! currentgloves item endif if findlayer self gloves = 0 if skill meditation > 0 if findtype 30663|5070|5085|5205|5106|31015|5144 backpack as mediglove overhead 'I can meditate lemmie see if i can find some leather gloves?' @setvar! currentgloves mediglove getlabel mediglove igloves overhead "Set: {{igloves}}" lift currentgloves 1 drop self gloves wait 650 ignore mediglove else overhead 'your hands are bare, need gloves urgently' endif elseif skill meditation = 0 if findtype 5144|31015|5106|5205|5085|5070|30663 backpack as noMedglove @setvar! currentgloves noMedglove getlabel noMedglove igloves overhead "Set: {{igloves}}" lift currentgloves 1 1000 drop self gloves wait 650 ignore noMedglove else overhead 'your hands are bare, need gloves urgently' endif endif endif endif endwhile while findlayer self innertorso = 0 and index < 2 if findlayer self innertorso as item getlabel item iinnertorso overhead "Set: {{iinnertorso}}" @setvar! currentinnertorso item else if varexist currentinnertorso and find currentinnertorso getlabel currentinnertorso cinnertorso overhead "Wearing: {{cinnertorso}}" lift currentinnertorso 1 drop self innertorso wait 650 elseif skill meditation > 0 if findtype 31191|5075|7175|5090|5204|5101|5060|7173|5142 backpack as mediMedinnertorso overhead 'I can meditate lemmie see if i can find a leather innertorso ?' @setvar! currentinnertorso mediMedinnertorso getlabel item currentinnertorso lift currentinnertorso 1 drop self innertorso overhead "Set: {{currentinnertorso}}" wait 650 else overhead 'your chest is bare, need innertorso urgently' endif elseif skill meditation = 0 if findtype 5142|7173|5060|5101|5204|5090|7175|5075|31191 backpack as noMedMedinnertorso @setvar! currentinnertorso noMedMedinnertorso getlabel item currentinnertorso overhead "Set: {{currentinnertorso}}" lift currentinnertorso 1 drop self innertorso overhead "Set: {{currentinnertorso}}" wait 650 else overhead 'your chest is bare, need innertorso urgently' endif endif endif if findlayer self innertorso = 0 overhead index if skill meditation > 0 if findtype 31191|5075|7175|5090|5204|5101|5060|7173|5142 backpack as mediMedinnertorso overhead 'I can meditate lemmie see if i can find a leather innertorso ?' @setvar! currentinnertorso mediMedinnertorso getlabel item currentinnertorso overhead "Set: {{currentinnertorso}}" else overhead 'your chest is bare, need innertorso urgently' endif elseif skill meditation = 0 if findtype 5142|7173|5060|5101|5204|5090|7175|5075|31191 backpack as noMedMedinnertorso @setvar! currentinnertorso noMedMedinnertorso getlabel item currentinnertorso overhead "Set: {{currentinnertorso}}" else overhead 'your chest is bare, need innertorso urgently' endif endif endif endwhile while findlayer self head = 0 and index < 2 overhead index if findlayer self head as item getlabel item ihead overhead "Set: {{ihead}}" @setvar! currentHead item else if varexist currentHead getlabel currentHead chead overhead "Wearing: {{chead}}" lift currentHead 1 1000 drop self head wait 650 endif endif // head if findlayer self head = 0 if skill meditation > 0 if findtype 5916|5440|5907|21787|31214|21783|7610|31011|5201|5131|7947|5056|5129|5132|5135|5138 backpack as medihead @setvar! currentHead medihead getlabel currentHead chead overhead "Set: {{chead}}" else overhead 'your head is bare, need helmet urgently' endif elseif skill meditation = 0 if findtype 5138|5132|5135|5129|5056|7947|5131|5201|31011|5916|5440|5907|21787|31214|21783|7610 backpack as noMedhead @setvar! currentHead noMedhead getlabel currentHead chead overhead "Set: {{chead}}" else overhead 'your head is bare, need helmet urgently' endif endif endif endwhile if poisoned or diffhits > 20 loop endif #neck while findlayer self neck = 0 and index < 2 overhead index if findlayer self neck as item getlabel item ineck overhead "Set: {{ineck}}" @setvar! currentNeck item else if varexist currentNeck getlabel currentNeck cneck overhead "Wearing: {{cneck}}" lift currentNeck 1 1000 drop self neck wait 650 endif if findlayer self neck = 0 if skill meditation > 0 if findtype 31271|22186|22185|5063|5078|31003|31006 backpack as medineck @setvar! currentNeck medineck getlabel currentNeck cneck overhead "Set: {{cneck}}" else overhead 'your neck is bare, need gorget urgently' endif elseif skill meditation = 0 if findtype 31006|31003|5078|5063|31271|22186|22185 backpack as noMedneck @setvar! currentNeck noMedneck getlabel currentNeck cneck overhead "Set: {{cneck}}" else overhead 'your neck is bare, need gorget urgently' endif endif endif endif endwhile if poisoned or diffhits > 20 loop endif #arms while findlayer self arms = 0 and index < 8 overhead index if findlayer self arms as item getlabel item iarms overhead "Set: {{iarms}}" @setvar! currentArms item else if varexist currentArms getlabel currentArms carms overhead "Wearing: {{carms}}" lift currentArms 1 1000 drop self arms wait 650 endif endif if findlayer self arms = 0 if skill meditation > 0 if findtype 5061|5076|5203|5103|31005|5143 backpack as mediarms @setvar! currentArms mediarms getlabel currentArms carms overhead "Set: {{iarms}}" else overhead 'your arms are bare, need sleeves urgently' endif elseif skill meditation = 0 if findtype 5143|31005|5103|5203|5076|5061 backpack as noMedarms @setvar! currentArms noMedarms getlabel currentArms carms overhead "Set: {{iarms}}" else overhead 'your arms are bare, need sleeves urgently' break endif endif endif endwhile wait 650 if poisoned or diffhits > 20 loop endif #Pants while findlayer self pants = 0 and index < 8 overhead index if varexist currentPants and not find currentPants self lift currentPants 1 100 drop self pants wait 650 endif if findlayer self pants as item getlabel item ipants overhead "Set: {{ipants}}" @setvar! currentPants item else if varexist currentPants getlabel currentPants cpants overhead "Wearing: {{cpants}}" lift currentPants 1 drop self pants wait 650 endif endif // pants if findlayer self pants = 0 if skill meditation > 0 if findtype 5074|7169|7177|5089|31012|5207|31004|5105|31010|5059|31007|5146|31008 backpack as medipants @setvar! currentPants medipants getlabel item ipants overhead "Set: {{ipants}}" lift currentPants 1 drop self pants wait 650 else overhead 'somebody ate your shorts your bottom is very bare' endif elseif skill meditation = 0 if findtype 31008|5146|31007|5059|31010|5105|31004|5207|31012|5089|7177|7169|5074 backpack as nomedpants @setvar! currentPants nomedpants getlabel item ipants overhead "Set: {{ipants}}" lift currentPants 1 drop self pants wait 650 else overhead 'somebody ate your shorts your bottom is very bare' endif endif endif