Dump Boating Loot by Brozan (Syal)
Description: This tries to find your boat hold and then dump all gold/reg/dubs to it. Then it asks you to target a dump bag (push esc to use last targetted and not reset it) and dumps all Unidentified items
1setvar myShipHold lasttarget
2#Check for a ship hold
3if findtype '16019' ground any any 3 true as found
4 setvar myShipHold found
5elseif findtype '16046' ground any any 3 true as found
6 setvar myShipHold found
7elseif findtype '15973' ground any any 3 true as found
8 setvar myShipHold found
9elseif findtype '16057' ground any any 3 true as found
10 setvar myShipHold found
11else
12 overhead "Cannot find hold, target"
13 setvar! myShipHold
14endif
15
16overhead "Gold Dump"
17#Gold in subpacks routine
18clearignore
19createlist coinTypes
20clearlist coinTypes
21@pushlist 'coinTypes' 'muffins'
22@pushlist 'coinTypes' 'gold coin'
23foreach x in coinTypes
24 while findtype x backpack any any 1 as found
25 lift found 9999
26 drop myShipHold -1 -1 0
27 @ignore myVariable
28 wait 600
29 endwhile
30endfor
31
32overhead "Hull Dump"
33clearignore
34createlist regTypes
35clearlist regTypes
36@pushlist 'regTypes' 'cooked fish'
37@pushlist 'regTypes' 'Crab SOUTH'
38@pushlist 'regTypes' 'Lobster SOUTH'
39@pushlist 'regTypes' 'raw fish steak%s%'
40@pushlist 'regTypes' 'Blood Moss'
41@pushlist 'regTypes' 'Black Pearl%s%'
42@pushlist 'regTypes' 'Ginseng'
43@pushlist 'regTypes' 'Garlic'
44@pushlist 'regTypes' 'Sulfurous Ash'
45@pushlist 'regTypes' "Spider's Silk" //'
46@pushlist 'regTypes' 'Nightshade'
47@pushlist 'regTypes' 'Mandrake Root%s%' //MR
48@pushlist 'regTypes' 'cut%s% of raw ribs'
49@pushlist 'regTypes' 'cut up leather'
50@pushlist 'regTypes' 'clean bandage%s%'
51@pushlist 'regTypes' 'arrow'
52@pushlist 'regTypes' 'crossbow bolt'
53
54foreach x in regTypes
55 while findtype x backpack any any 1 as found
56 lift found 9999
57 drop myShipHold -1 -1 0
58 @ignore myVariable
59 wait 600
60 endwhile
61endfor
62
63overhead "Unid Dump"
64clearignore
65
66sysmsg 'Target Item Dump Bag'
67overhead 'Target Item Dump Bag'
68setvar noidBag
69
70createlist ItemTypes
71clearlist ItemTypes
72//martial manual
73@pushlist 'ItemTypes' 22187
74//Shields
75@pushlist 'ItemTypes' 0x1b72 //BronzeShields
76@pushlist 'ItemTypes' 0x1b73 //Buckler
77@pushlist 'ItemTypes' 0x1b7b //MetalShield
78@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield
79@pushlist 'ItemTypes' 0x1b79 //TearKiteShield
80@pushlist 'ItemTypes' 0x1b7a //WoodenShield
81@pushlist 'ItemTypes' 0x1b76 //HeaterShield
82@pushlist 'ItemTypes' 0x1b77 //HeaterShield
83//Platemail
84@pushlist 'ItemTypes' 0x1408 //CloseHelmet
85@pushlist 'ItemTypes' 0x1410 //PlatemailArms
86@pushlist 'ItemTypes' 0x1417 //PlatemailArms
87@pushlist 'ItemTypes' 0x1411 //PlatemailLegs
88@pushlist 'ItemTypes' 0x1412 //PlateHelm
89@pushlist 'ItemTypes' 0x1413 //PlateGorget
90@pushlist 'ItemTypes' 0x1418 //PlatemailGloves
91@pushlist 'ItemTypes' 0x1415 //PlateChest
92@pushlist 'ItemTypes' 0x140a //Helmet
93@pushlist 'ItemTypes' 0x140c //Bascinet
94@pushlist 'ItemTypes' 0x140e //NorseHelm
95//Chainmail
96@pushlist 'ItemTypes' 0x13bb //ChainmailCoif
97@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins
98@pushlist 'ItemTypes' 0x13c4 //ChainmailChest
99@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm
100//Ringmail
101@pushlist 'ItemTypes' 0x13ef //RingmailArms
102@pushlist 'ItemTypes' 0x13f2 //RingmailGloves
103@pushlist 'ItemTypes' 0x13ed //RingmailChest
104@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins
105@pushlist 'ItemTypes' 0x140b //RingmailHelm
106//Studded
107@pushlist 'ItemTypes' 0x1dba //Studdedcap
108@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings
109@pushlist 'ItemTypes' 0x13db //StuddedTunic
110@pushlist 'ItemTypes' 0x13d5 //StuddedGloves
111@pushlist 'ItemTypes' 0x13d6 //StuddedGorget
112@pushlist 'ItemTypes' 0x13dc //StuddedSleeves
113//Leather
114@pushlist 'ItemTypes' 0x13ce //LeatherGloves
115@pushlist 'ItemTypes' 0x13cd //LeatherSleeves
116@pushlist 'ItemTypes' 0x13d3 //LeatherChest
117@pushlist 'ItemTypes' 0x13cb //LeatherPants
118@pushlist 'ItemTypes' 0x13c7 //LeatherGorget
119@pushlist 'ItemTypes' 0x1db9 //LeatherCap
120@pushlist 'ItemTypes' 0x13c5 //LeatherArms
121//FemaleArmor
122@pushlist 'ItemTypes' 0x1c04 //FemalePlate
123@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt
124@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier
125@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor
126@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt
127@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts
128@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt
129@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor
130@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier
131@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt
132//Fencing
133@pushlist 'ItemTypes' 0xf62 //Spear
134@pushlist 'ItemTypes' 0x1403 //ShortSpear
135@pushlist 'ItemTypes' 0xe87 //Pitchfork
136@pushlist 'ItemTypes' 0x1405 //Warfork
137@pushlist 'ItemTypes' 0x1401 //Kryss
138@pushlist 'ItemTypes' 0xf52 //Dagger
139//Macing
140@pushlist 'ItemTypes' 0x13b0 //Waraxe
141@pushlist 'ItemTypes' 0xdf0 //BlackStaff
142@pushlist 'ItemTypes' 0x1439 //WarHammer
143@pushlist 'ItemTypes' 0x1407 //WarMace
144@pushlist 'ItemTypes' 0xe89 //QuarterStaff
145@pushlist 'ItemTypes' 0x143d //HammerPick
146@pushlist 'ItemTypes' 0x13b4 //Club
147@pushlist 'ItemTypes' 0xe81 //ShepherdsCrook
148@pushlist 'ItemTypes' 0x13f8 //GnarledStaff
149@pushlist 'ItemTypes' 0xf5c //Mace
150@pushlist 'ItemTypes' 0x143b //Maul
151//Swords
152@pushlist 'ItemTypes' 0x13b9 //VikingSword
153@pushlist 'ItemTypes' 0xf61 //Longsword
154@pushlist 'ItemTypes' 0x1441 //Cutlass
155@pushlist 'ItemTypes' 0x13b6 //Scimitar
156@pushlist 'ItemTypes' 0xec4 //SkinningKnife
157@pushlist 'ItemTypes' 0x13f6 //ButcherKnife
158@pushlist 'ItemTypes' 0xf5e //Broadsword
159@pushlist 'ItemTypes' 0x13ff //Katana
160@pushlist 'ItemTypes' 0xec3 //Cleaver
161//Axes
162@pushlist 'ItemTypes' 0xf43 //Hatchet
163@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe
164@pushlist 'ItemTypes' 0xf4d //Bardiche
165@pushlist 'ItemTypes' 0xf4b //DoubleAxe
166@pushlist 'ItemTypes' 0x143e //Halberd
167@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe
168@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe
169@pushlist 'ItemTypes' 0xf47 //BattleAxe
170@pushlist 'ItemTypes' 0xf49 //Axe
171//Bows
172@pushlist 'ItemTypes' 0x13fd //HeavyXbow
173@pushlist 'ItemTypes' 0xf50 //Xbow
174@pushlist 'ItemTypes' 0x13b2 //bow
175//Instruments
176@pushlist 'ItemTypes' 0xeb2 //Harp
177@pushlist 'ItemTypes' 0xe9c //Drums
178@pushlist 'ItemTypes' 0xeb3 //Lute
179@pushlist 'ItemTypes' 0xe9e //Tambourine
180@pushlist 'ItemTypes' 0x2805 //BambooFlute
181//Other Helmets
182@pushlist 'ItemTypes' 0x140f //NorseHelm
183//BoneArmor
184@pushlist 'ItemTypes' 0x1451 //BoneHelm
185@pushlist 'ItemTypes' 0x1457 //BoneLegs
186@pushlist 'ItemTypes' 0x1453 //BoneArms
187@pushlist 'ItemTypes' 0x1455 //BoneGloves
188//SlayerWands
189@pushlist 'ItemTypes' 0xdf2 //SlayerWands
190@pushlist 'ItemTypes' 0xdf3 //SlayerWands
191@pushlist 'ItemTypes' 0xdf4 //SlayerWands
192@pushlist 'ItemTypes' 0xdf5 //SlayerWands
193//OtherSTuff, that wasnt in list...
194@pushlist 'ItemTypes' 0xdf5 //SlayerWands
195@pushlist 'ItemTypes' 0xefa //SpellBook
196@pushlist 'ItemTypes' 0x141a //platemailleggings
197@pushlist 'ItemTypes' 0x1b7a //woodenshield
198@pushlist 'ItemTypes' 0x13e2 //studdedchets
199@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield
200@pushlist 'ItemTypes' 0x26bd //harpoon
201@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest
202@pushlist 'ItemTypes' 0x1c0d //studdedbrasier
203@pushlist 'ItemTypes' 0x1c01 //leathershorts
204@pushlist 'ItemTypes' 0x1b75 //metalkiteshield
205@pushlist 'ItemTypes' 0x1c07 //Femaleleather
206@pushlist 'ItemTypes' 0x1416 //platemailchest
207@pushlist 'ItemTypes' 0x13dd //studdedgloves
208@pushlist 'ItemTypes' 0x1454 //Bonechest
209@pushlist 'ItemTypes' 0x13d2 //leatherleggings
210@pushlist 'ItemTypes' 0x1409 //closehelm
211@pushlist 'ItemTypes' 0x13d4 //studdedarms
212
213foreach x in ItemTypes
214 while findtype x backpack as found
215 @hotkey 'set last target'
216 @target found
217 @setvar myVariable lasttarget
218 wait 100
219 @getlabel 'myVariable' myLabel
220 if 'unidentified' in myLabel
221 sysmsg 'Dumping: ' 33
222 sysmsg myLabel 65
223 lift myVariable 1
224 drop noidBag -1 -1 0
225 else
226 sysmsg 'Skipping' 33
227 sysmsg myLabel 65
228 endif
229 @ignore myVariable
230 wait 400
231 endwhile
232endfor
233
234
235
236script "stayalive2"