pick chest & loot by flutschi
Related: Lockpicking
if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 2 as chest
getlabel chest chestName
pause 500
dclick chest
pause 800
if 'locked' in chestName
if ingump 'cleared of traps'
overhead 'cleared'
else
overhead 'not cleared, lets clear it..'
gumpresponse 7
waitforgump 736038070
pause 500
while not insysmsg 'you have successfully cleared it of traps'
if not bandaging and not cooldown 'heal'
if findtype 25750 backpack as bandages
dclick bandages
endif
cooldown 'heal' 1000
endif
pause 1000
endwhile
endif
pause 1000
gumpresponse 4
waitforgump 736038070
pause 500
while not insysmsg 'you successfully pick the lock'
if not bandaging and not cooldown 'heal'
if findtype 25750 backpack as bandages
dclick bandages
endif
cooldown 'heal' 1000
endif
pause 1000
endwhile
overhead 'loot!'
endif
endif
clearignore
removelist ItemTypes
createlist ItemTypes
#add here more items to loot
@pushlist 'ItemTypes' 22187
//Shields
@pushlist 'ItemTypes' 0x1b72 //BronzeShields
@pushlist 'ItemTypes' 0x1b73 //Buckler
@pushlist 'ItemTypes' 0x1b7b //MetalShield
@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield
@pushlist 'ItemTypes' 0x1b79 //TearKiteShield
@pushlist 'ItemTypes' 0x1b7a //WoodenShield
@pushlist 'ItemTypes' 0x1b76 //HeaterShield
@pushlist 'ItemTypes' 0x1b77 //HeaterShield
//Platemail
@pushlist 'ItemTypes' 0x1408 //CloseHelmet
@pushlist 'ItemTypes' 0x1410 //PlatemailArms
@pushlist 'ItemTypes' 0x1417 //PlatemailArms
@pushlist 'ItemTypes' 0x1411 //PlatemailLegs
@pushlist 'ItemTypes' 0x1412 //PlateHelm
@pushlist 'ItemTypes' 0x1413 //PlateGorget
@pushlist 'ItemTypes' 0x1418 //PlatemailGloves
@pushlist 'ItemTypes' 0x1415 //PlateChest
@pushlist 'ItemTypes' 0x140a //Helmet
@pushlist 'ItemTypes' 0x140c //Bascinet
@pushlist 'ItemTypes' 0x140e //NorseHelm
//Chainmail
@pushlist 'ItemTypes' 0x13bb //ChainmailCoif
@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins
@pushlist 'ItemTypes' 0x13c4 //ChainmailChest
@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm
//Ringmail
@pushlist 'ItemTypes' 0x13ef //RingmailArms
@pushlist 'ItemTypes' 0x13f2 //RingmailGloves
@pushlist 'ItemTypes' 0x13ed //RingmailChest
@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins
@pushlist 'ItemTypes' 0x140b //RingmailHelm
//Studded
@pushlist 'ItemTypes' 0x1dba //Studdedcap
@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings
@pushlist 'ItemTypes' 0x13db //StuddedTunic
@pushlist 'ItemTypes' 0x13d5 //StuddedGloves
@pushlist 'ItemTypes' 0x13d6 //StuddedGorget
@pushlist 'ItemTypes' 0x13dc //StuddedSleeves
//Leather
@pushlist 'ItemTypes' 0x13ce //LeatherGloves
@pushlist 'ItemTypes' 0x13cd //LeatherSleeves
@pushlist 'ItemTypes' 0x13d3 //LeatherChest
@pushlist 'ItemTypes' 0x13cb //LeatherPants
@pushlist 'ItemTypes' 0x13c7 //LeatherGorget
@pushlist 'ItemTypes' 0x1db9 //LeatherCap
@pushlist 'ItemTypes' 0x13c5 //LeatherArms
//FemaleArmor
@pushlist 'ItemTypes' 0x1c04 //FemalePlate
@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt
@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier
@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor
@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt
@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts
@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt
@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor
@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier
@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt
//Fencing
@pushlist 'ItemTypes' 0xf62 //Spear
@pushlist 'ItemTypes' 0x1403 //ShortSpear
@pushlist 'ItemTypes' 0xe87 //Pitchfork
@pushlist 'ItemTypes' 0x1405 //Warfork
@pushlist 'ItemTypes' 0x1401 //Kryss
@pushlist 'ItemTypes' 0xf52 //Dagger
//Macing
@pushlist 'ItemTypes' 0x13b0 //Waraxe
@pushlist 'ItemTypes' 0xdf0 //BlackStaff
@pushlist 'ItemTypes' 0x1439 //WarHammer
@pushlist 'ItemTypes' 0x1407 //WarMace
@pushlist 'ItemTypes' 0xe89 //QuarterStaff
@pushlist 'ItemTypes' 0x143d //HammerPick
@pushlist 'ItemTypes' 0x13b4 //Club
@pushlist 'ItemTypes' 0xe81 //ShepherdsCrook
@pushlist 'ItemTypes' 0x13f8 //GnarledStaff
@pushlist 'ItemTypes' 0xf5c //Mace
@pushlist 'ItemTypes' 0x143b //Maul
//Swords
@pushlist 'ItemTypes' 0x13b9 //VikingSword
@pushlist 'ItemTypes' 0xf61 //Longsword
@pushlist 'ItemTypes' 0x1441 //Cutlass
@pushlist 'ItemTypes' 0x13b6 //Scimitar
@pushlist 'ItemTypes' 0xec4 //SkinningKnife
@pushlist 'ItemTypes' 0x13f6 //ButcherKnife
@pushlist 'ItemTypes' 0xf5e //Broadsword
@pushlist 'ItemTypes' 0x13ff //Katana
@pushlist 'ItemTypes' 0xec3 //Cleaver
//Axes
@pushlist 'ItemTypes' 0xf43 //Hatchet
@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe
@pushlist 'ItemTypes' 0xf4d //Bardiche
@pushlist 'ItemTypes' 0xf4b //DoubleAxe
@pushlist 'ItemTypes' 0x143e //Halberd
@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe
@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe
@pushlist 'ItemTypes' 0xf47 //BattleAxe
@pushlist 'ItemTypes' 0xf49 //Axe
//Bows
@pushlist 'ItemTypes' 0x13fd //HeavyXbow
@pushlist 'ItemTypes' 0xf50 //Xbow
@pushlist 'ItemTypes' 0x13b2 //bow
//Instruments
@pushlist 'ItemTypes' 0xeb2 //Harp
@pushlist 'ItemTypes' 0xe9c //Drums
@pushlist 'ItemTypes' 0xeb3 //Lute
@pushlist 'ItemTypes' 0xe9e //Tambourine
@pushlist 'ItemTypes' 0x2805 //BambooFlute
//Other Helmets
@pushlist 'ItemTypes' 0x140f //NorseHelm
//BoneArmor
@pushlist 'ItemTypes' 0x1451 //BoneHelm
@pushlist 'ItemTypes' 0x1457 //BoneLegs
@pushlist 'ItemTypes' 0x1453 //BoneArms
@pushlist 'ItemTypes' 0x1455 //BoneGloves
//SlayerWands
@pushlist 'ItemTypes' 0xdf2 //SlayerWands
@pushlist 'ItemTypes' 0xdf3 //SlayerWands
@pushlist 'ItemTypes' 0xdf4 //SlayerWands
@pushlist 'ItemTypes' 0xdf5 //SlayerWands
//OtherSTuff, that wasnt in list...
@pushlist 'ItemTypes' 0xdf5 //SlayerWands
@pushlist 'ItemTypes' 0xefa //SpellBook
@pushlist 'ItemTypes' 0x141a //platemailleggings
@pushlist 'ItemTypes' 0x1b7a //woodenshield
@pushlist 'ItemTypes' 0x13e2 //studdedchets
@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield
@pushlist 'ItemTypes' 0x26bd //harpoon
@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest
@pushlist 'ItemTypes' 0x1c0d //studdedbrasier
@pushlist 'ItemTypes' 0x1c01 //leathershorts
@pushlist 'ItemTypes' 0x1b75 //metalkiteshield
@pushlist 'ItemTypes' 0x1c07 //Femaleleather
@pushlist 'ItemTypes' 0x1416 //platemailchest
@pushlist 'ItemTypes' 0x13dd //studdedgloves
@pushlist 'ItemTypes' 0x1454 //Bonechest
@pushlist 'ItemTypes' 0x13d2 //leatherleggings
@pushlist 'ItemTypes' 0x1409 //closehelm
@pushlist 'ItemTypes' 0x13d4 //studdedarms
#outland items
@pushlist 'ItemTypes' 31009 //studdedarms
@pushlist 'ItemTypes' 31004 //studdedarms
@pushlist 'ItemTypes' 31035 //studdedarms
@pushlist 'ItemTypes' 31178 //studdedarms
@pushlist 'ItemTypes' 31031 //studdedarms
@pushlist 'ItemTypes' 30991 //studdedarms
@pushlist 'ItemTypes' 31037 //studdedarms
@pushlist 'ItemTypes' 31021 //studdedarms
@pushlist 'ItemTypes' 31041 //studdedarms
@pushlist 'ItemTypes' 20016 //studdedarms
@pushlist 'ItemTypes' 30994 //studdedarms
@pushlist 'ItemTypes' 7109 //studdedarms
@pushlist 'ItemTypes' 31047 //studdedarms
@pushlist 'ItemTypes' 31011 //studdedarms
@pushlist 'ItemTypes' 31142 //studdedarms
@pushlist 'ItemTypes' 31002 //studdedarms
@pushlist 'ItemTypes' 20012 //studdedarms
@pushlist 'ItemTypes' 31038 //studdedarms
@pushlist 'ItemTypes' 31006 //studdedarms
@pushlist 'ItemTypes' 31017 //studdedarms
@pushlist 'ItemTypes' 31027 //studdedarms
@pushlist 'ItemTypes' 31029 //studdedarms
@pushlist 'ItemTypes' 30993 //studdedarms
@pushlist 'ItemTypes' 20008 //studdedarms
@pushlist 'ItemTypes' 20008 //studdedarms
@pushlist 'ItemTypes' 31003 //studdedarms
@pushlist 'ItemTypes' 31182 //studdedarms
@pushlist 'ItemTypes' 31190 //studdedarms
@pushlist 'ItemTypes' 30995 //studdedarms
@pushlist 'ItemTypes' 20010 //studdedarms
@pushlist 'ItemTypes' 31000 //studdedarms
@pushlist 'ItemTypes' 20014 //studdedarms
@pushlist 'ItemTypes' 7107 //studdedarms
@pushlist 'ItemTypes' 24434 //studdedarms
@pushlist 'ItemTypes' 31012 //studdedarms
@pushlist 'ItemTypes' 30993 //studdedarms
@pushlist 'ItemTypes' 30998 //studdedarms
@pushlist 'ItemTypes' 30993 //studdedarms
@pushlist 'ItemTypes' 30989 //studdedarms
@pushlist 'ItemTypes' 31045 //studdedarms
@pushlist 'ItemTypes' 31184 //studdedarms
@pushlist 'ItemTypes' 30996 //studdedarms
@pushlist 'ItemTypes' 31176 //studdedarms
@pushlist 'ItemTypes' 31128 //studdedarms
@pushlist 'ItemTypes' 31191 //studdedarms
@pushlist 'ItemTypes' 31015 //studdedarms
@pushlist 'ItemTypes' 30990 //studdedarms
@pushlist 'ItemTypes' 31005 //studdedarms
@pushlist 'ItemTypes' 3915 //studdedarms
@pushlist 'ItemTypes' 31176 //studdedarms
@pushlist 'ItemTypes' 31007 //studdedarms
@pushlist 'ItemTypes' 31008 //studdedarms
@pushlist 'ItemTypes' 31130 //studdedarms
@pushlist 'ItemTypes' 30997 //studdedarms
@pushlist 'ItemTypes' 31053 //studdedarms
@pushlist 'ItemTypes' 31055 //studdedarms
@pushlist 'ItemTypes' 31001 //studdedarms
@pushlist 'ItemTypes' 20014 //studdedarms
@pushlist 'ItemTypes' 31010 //studdedarms
@pushlist 'ItemTypes' 30992 //studdedarms
@pushlist 'ItemTypes' 31010 //studdedarms
@pushlist 'ItemTypes' 31001 //studdedarms
@pushlist 'ItemTypes' 30988
@pushlist 'ItemTypes' 31186
@pushlist 'ItemTypes' 31141
@pushlist 'ItemTypes' 31188
@pushlist 'ItemTypes' 31019
@pushlist 'ItemTypes' 31169
@pushlist 'ItemTypes' 20006
@pushlist 'ItemTypes' 31014
@pushlist 'ItemTypes' 31001
@pushlist 'ItemTypes' 31043
@pushlist 'ItemTypes' 31033
@pushlist 'ItemTypes' 31001
@pushlist 'ItemTypes' 31180
@pushlist 'ItemTypes' 31023
@pushlist 'ItemTypes' 31172
@pushlist 'ItemTypes' 31051
@pushlist 'ItemTypes' 30999
@pushlist 'ItemTypes' 31049
@pushlist 'ItemTypes' 31180
@pushlist 'ItemTypes' 31025
@pushlist 'ItemTypes' 17686
@pushlist 'ItemTypes' 29036
@pushlist 'ItemTypes' 43166
@pushlist 'ItemTypes' 17686
@pushlist 'ItemTypes' 17686
if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 2 as chest
foreach x in ItemTypes
if findtype x chest as item
@drop backpack
lift item 11111
pause 200
drop backpack -1 -1 0
pause 200
ignore item
endif
endfor
stop
endif