Drop Loot to Your Ship Hull by anakin0351
Description: Drop the regs, Un-ID items into pouch/backpack/crate in your hull
>> PUT pouch or backpack or crate in your hull for drop loot inside of it <<
WIZARD SATCHEL SHOULD NOT BE ON YOUR BACKPACK, IT SHOULD DRESSED (if you put on your backpack, all regs goes to hull)
1# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
2############################### R E A D ###############################
3# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
4# >> PUT pouch or backpack in your hull for drop loot inside of it << #
5#
6# WIZARD SATCHEL SHOULD NOT BE ON YOUR BACKPACK, IT SHOULD DRESSED
7# (if you put on your backpack, all regs goes to hull)
8#
9setvar myShipHold lasttarget
10#Check for a ship hold
11if findtype '16046' ground any any 3 true as found
12 @setvar myShipHold found
13elseif findtype '16019' ground any any 3 true as found
14 @setvar myShipHold found
15elseif findtype '16057' ground any any 3 true as found
16 @setvar myShipHold found
17elseif findtype '15973' ground any any 3 true as found
18 setvar myShipHold found
19else
20 overhead "Cannot find hold, target"
21 @setvar! myShipHold
22endif
23
24overhead "Gold Dump"
25#Gold in subpacks routine
26clearignore
27createlist coinTypes
28clearlist coinTypes
29@pushlist 'coinTypes' 2539
30@pushlist 'coinTypes' 3821
31@pushlist 'coinTypes' 3891
32foreach x in coinTypes
33 while findtype x backpack any any 1 as found
34 lift found 9999
35 drop myShipHold -1 -1 0
36 @ignore myVariable
37 wait 600
38 endwhile
39endfor
40
41dclick myShipHold
42#auto select pouch or backpack or crate inside of your hull
43if findtype "3705|3701|3645" myShipHold as lootBag
44 overhead 'Droppin Loot..' 54
45 @setvar! noidBag lootBag
46 else
47 #overhead 'Put empty pouch or backpack in your hull !!!' 80
48 replay
49endif
50
51overhead "Regs Dump"
52clearignore
53
54createlist regTypes
55clearlist regTypes
56
57@pushlist 'regTypes' 'cooked fish'
58@pushlist 'regTypes' 'Crab SOUTH'
59@pushlist 'regTypes' 'Lobster SOUTH'
60@pushlist 'regTypes' 'raw fish steak%s%'
61@pushlist 'regTypes' 'Blood Moss'
62@pushlist 'regTypes' 'Black Pearl%s%'
63@pushlist 'regTypes' 'Ginseng'
64@pushlist 'regTypes' 'Garlic'
65@pushlist 'regTypes' 'Sulfurous Ash'
66@pushlist 'regTypes' "Spider's Silk"
67@pushlist 'regTypes' 'Nightshade'
68@pushlist 'regTypes' 'Mandrake Root%s%'
69@pushlist 'regTypes' 'cut%s% of raw ribs'
70@pushlist 'regTypes' 'cut up leather'
71#@pushlist 'regTypes' 'clean bandage%s%'
72@pushlist 'regTypes' 'arrow'
73@pushlist 'regTypes' 'crossbow bolt'
74@pushlist 'regTypes' 'diamond%s%'
75@pushlist 'regTypes' 'citrine%s%'
76@pushlist 'regTypes' 'sapphire%s%'
77@pushlist 'regTypes' 'tourmaline%s%'
78@pushlist 'regTypes' 'emerald%s%'
79@pushlist 'regTypes' 'rub%ies/y%'
80@pushlist 'regTypes' 'empty bottle%s%'
81@pushlist 'regTypes' 'amethyst%s%'
82@pushlist 'regTypes' 'piece%s% of amber'
83@pushlist 'regTypes' 'star sapphire%s%'
84
85
86foreach x in regTypes
87 while findtype x backpack as found
88 @hotkey 'set last target'
89 @target found
90 @setvar myVariable lasttarget
91 wait 100
92 @getlabel 'myVariable' myLabel
93 #sysmsg 'Dumping: ' 33
94 #sysmsg myLabel 65
95 lift myVariable 999
96 drop noidBag -1 -1 0
97 @ignore myVariable
98 wait 400
99 endwhile
100endfor
101
102
103overhead "Unid Dump"
104clearignore
105
106createlist ItemTypes
107clearlist ItemTypes
108//martial manual
109@pushlist 'ItemTypes' 22187
110//Shields
111@pushlist 'ItemTypes' 0x1b72 //BronzeShields
112@pushlist 'ItemTypes' 0x1b73 //Buckler
113@pushlist 'ItemTypes' 0x1b7b //MetalShield
114@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield
115@pushlist 'ItemTypes' 0x1b79 //TearKiteShield
116@pushlist 'ItemTypes' 0x1b7a //WoodenShield
117@pushlist 'ItemTypes' 0x1b76 //HeaterShield
118@pushlist 'ItemTypes' 0x1b77 //HeaterShield
119//Platemail
120@pushlist 'ItemTypes' 0x1408 //CloseHelmet
121@pushlist 'ItemTypes' 0x1410 //PlatemailArms
122@pushlist 'ItemTypes' 0x1417 //PlatemailArms
123@pushlist 'ItemTypes' 0x1411 //PlatemailLegs
124@pushlist 'ItemTypes' 0x1412 //PlateHelm
125@pushlist 'ItemTypes' 0x1413 //PlateGorget
126@pushlist 'ItemTypes' 0x1418 //PlatemailGloves
127@pushlist 'ItemTypes' 0x1415 //PlateChest
128@pushlist 'ItemTypes' 0x140a //Helmet
129@pushlist 'ItemTypes' 0x140c //Bascinet
130@pushlist 'ItemTypes' 0x140e //NorseHelm
131//Chainmail
132@pushlist 'ItemTypes' 0x13bb //ChainmailCoif
133@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins
134@pushlist 'ItemTypes' 0x13c4 //ChainmailChest
135@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm
136//Ringmail
137@pushlist 'ItemTypes' 0x13ef //RingmailArms
138@pushlist 'ItemTypes' 0x13f2 //RingmailGloves
139@pushlist 'ItemTypes' 0x13ed //RingmailChest
140@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins
141@pushlist 'ItemTypes' 0x140b //RingmailHelm
142//Studded
143@pushlist 'ItemTypes' 0x1dba //Studdedcap
144@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings
145@pushlist 'ItemTypes' 0x13db //StuddedTunic
146@pushlist 'ItemTypes' 0x13d5 //StuddedGloves
147@pushlist 'ItemTypes' 0x13d6 //StuddedGorget
148@pushlist 'ItemTypes' 0x13dc //StuddedSleeves
149//Leather
150@pushlist 'ItemTypes' 0x13ce //LeatherGloves
151@pushlist 'ItemTypes' 0x13cd //LeatherSleeves
152@pushlist 'ItemTypes' 0x13d3 //LeatherChest
153@pushlist 'ItemTypes' 0x13cb //LeatherPants
154@pushlist 'ItemTypes' 0x13c7 //LeatherGorget
155@pushlist 'ItemTypes' 0x1db9 //LeatherCap
156@pushlist 'ItemTypes' 0x13c5 //LeatherArms
157//FemaleArmor
158@pushlist 'ItemTypes' 0x1c04 //FemalePlate
159@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt
160@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier
161@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor
162@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt
163@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts
164@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt
165@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor
166@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier
167@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt
168//Fencing
169@pushlist 'ItemTypes' 0xf62 //Spear
170@pushlist 'ItemTypes' 0x1403 //ShortSpear
171@pushlist 'ItemTypes' 0xe87 //Pitchfork
172@pushlist 'ItemTypes' 0x1405 //Warfork
173@pushlist 'ItemTypes' 0x1401 //Kryss
174@pushlist 'ItemTypes' 0xf52 //Dagger
175//Macing
176@pushlist 'ItemTypes' 0x13b0 //Waraxe
177@pushlist 'ItemTypes' 0xdf0 //BlackStaff
178@pushlist 'ItemTypes' 0x1439 //WarHammer
179@pushlist 'ItemTypes' 0x1407 //WarMace
180@pushlist 'ItemTypes' 0xe89 //QuarterStaff
181@pushlist 'ItemTypes' 0x143d //HammerPick
182@pushlist 'ItemTypes' 0x13b4 //Club
183@pushlist 'ItemTypes' 0xe81 //ShepherdsCrook
184@pushlist 'ItemTypes' 0x13f8 //GnarledStaff
185@pushlist 'ItemTypes' 0xf5c //Mace
186@pushlist 'ItemTypes' 0x143b //Maul
187//Swords
188@pushlist 'ItemTypes' 0x13b9 //VikingSword
189@pushlist 'ItemTypes' 0xf61 //Longsword
190@pushlist 'ItemTypes' 0x1441 //Cutlass
191@pushlist 'ItemTypes' 0x13b6 //Scimitar
192@pushlist 'ItemTypes' 0xec4 //SkinningKnife
193@pushlist 'ItemTypes' 0x13f6 //ButcherKnife
194@pushlist 'ItemTypes' 0xf5e //Broadsword
195@pushlist 'ItemTypes' 0x13ff //Katana
196@pushlist 'ItemTypes' 0xec3 //Cleaver
197//Axes
198@pushlist 'ItemTypes' 0xf43 //Hatchet
199@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe
200@pushlist 'ItemTypes' 0xf4d //Bardiche
201@pushlist 'ItemTypes' 0xf4b //DoubleAxe
202@pushlist 'ItemTypes' 0x143e //Halberd
203@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe
204@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe
205@pushlist 'ItemTypes' 0xf47 //BattleAxe
206@pushlist 'ItemTypes' 0xf49 //Axe
207//Bows
208@pushlist 'ItemTypes' 0x13fd //HeavyXbow
209@pushlist 'ItemTypes' 0xf50 //Xbow
210@pushlist 'ItemTypes' 0x13b2 //bow
211//Instruments
212@pushlist 'ItemTypes' 0xeb2 //Harp
213@pushlist 'ItemTypes' 0xe9c //Drums
214@pushlist 'ItemTypes' 0xeb3 //Lute
215@pushlist 'ItemTypes' 0xe9e //Tambourine
216@pushlist 'ItemTypes' 0x2805 //BambooFlute
217//Other Helmets
218@pushlist 'ItemTypes' 0x140f //NorseHelm
219//BoneArmor
220@pushlist 'ItemTypes' 0x1451 //BoneHelm
221@pushlist 'ItemTypes' 0x1457 //BoneLegs
222@pushlist 'ItemTypes' 0x1453 //BoneArms
223@pushlist 'ItemTypes' 0x1455 //BoneGloves
224//SlayerWands
225@pushlist 'ItemTypes' 0xdf2 //SlayerWands
226@pushlist 'ItemTypes' 0xdf3 //SlayerWands
227@pushlist 'ItemTypes' 0xdf4 //SlayerWands
228@pushlist 'ItemTypes' 0xdf5 //SlayerWands
229//OtherSTuff, that wasnt in list...
230@pushlist 'ItemTypes' 0xdf5 //SlayerWands
231@pushlist 'ItemTypes' 0xefa //SpellBook
232@pushlist 'ItemTypes' 0x141a //platemailleggings
233@pushlist 'ItemTypes' 0x1b7a //woodenshield
234@pushlist 'ItemTypes' 0x13e2 //studdedchets
235@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield
236@pushlist 'ItemTypes' 0x26bd //harpoon
237@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest
238@pushlist 'ItemTypes' 0x1c0d //studdedbrasier
239@pushlist 'ItemTypes' 0x1c01 //leathershorts
240@pushlist 'ItemTypes' 0x1b75 //metalkiteshield
241@pushlist 'ItemTypes' 0x1c07 //Femaleleather
242@pushlist 'ItemTypes' 0x1416 //platemailchest
243@pushlist 'ItemTypes' 0x13dd //studdedgloves
244@pushlist 'ItemTypes' 0x1454 //Bonechest
245@pushlist 'ItemTypes' 0x13d2 //leatherleggings
246@pushlist 'ItemTypes' 0x1409 //closehelm
247@pushlist 'ItemTypes' 0x13d4 //studdedarms
248#new shit
249@pushlist 'ItemTypes' 39898
250@pushlist 'ItemTypes' 39896
251@pushlist 'ItemTypes' 39892
252@pushlist 'ItemTypes' 39918
253@pushlist 'ItemTypes' 39911
254@pushlist 'ItemTypes' 39916
255@pushlist 'ItemTypes' 39897
256@pushlist 'ItemTypes' 39905
257@pushlist 'ItemTypes' 39891
258@pushlist 'ItemTypes' 39917
259@pushlist 'ItemTypes' 39912
260@pushlist 'ItemTypes' 39909
261@pushlist 'ItemTypes' 39889
262@pushlist 'ItemTypes' 31047
263@pushlist 'ItemTypes' 31017
264@pushlist 'ItemTypes' 31049
265@pushlist 'ItemTypes' 31019
266@pushlist 'ItemTypes' 31055
267@pushlist 'ItemTypes' 31051
268@pushlist 'ItemTypes' 31053
269@pushlist 'ItemTypes' 31025
270@pushlist 'ItemTypes' 31027
271@pushlist 'ItemTypes' 31031
272@pushlist 'ItemTypes' 31041
273@pushlist 'ItemTypes' 31021
274@pushlist 'ItemTypes' 31023
275@pushlist 'ItemTypes' 31029
276@pushlist 'ItemTypes' 31043
277@pushlist 'ItemTypes' 31035
278@pushlist 'ItemTypes' 31033
279@pushlist 'ItemTypes' 31045
280@pushlist 'ItemTypes' 31037
281@pushlist 'ItemTypes' 31002
282@pushlist 'ItemTypes' 20006
283@pushlist 'ItemTypes' 31169
284@pushlist 'ItemTypes' 31006
285@pushlist 'ItemTypes' 30999
286@pushlist 'ItemTypes' 31012
287@pushlist 'ItemTypes' 31009
288@pushlist 'ItemTypes' 30996
289@pushlist 'ItemTypes' 31128
290@pushlist 'ItemTypes' 31188
291@pushlist 'ItemTypes' 20014
292@pushlist 'ItemTypes' 31014
293@pushlist 'ItemTypes' 31004
294@pushlist 'ItemTypes' 31142
295@pushlist 'ItemTypes' 31001
296@pushlist 'ItemTypes' 31000
297@pushlist 'ItemTypes' 31010
298@pushlist 'ItemTypes' 30998
299@pushlist 'ItemTypes' 30988
300@pushlist 'ItemTypes' 30997
301@pushlist 'ItemTypes' 31141
302@pushlist 'ItemTypes' 20008
303@pushlist 'ItemTypes' 31005
304@pushlist 'ItemTypes' 31191
305@pushlist 'ItemTypes' 31008
306@pushlist 'ItemTypes' 31007
307@pushlist 'ItemTypes' 30994
308@pushlist 'ItemTypes' 30993
309@pushlist 'ItemTypes' 31182
310@pushlist 'ItemTypes' 30989
311@pushlist 'ItemTypes' 20012
312@pushlist 'ItemTypes' 31186
313@pushlist 'ItemTypes' 31178
314@pushlist 'ItemTypes' 31015
315@pushlist 'ItemTypes' 30991
316@pushlist 'ItemTypes' 20010
317@pushlist 'ItemTypes' 20016
318@pushlist 'ItemTypes' 31184
319@pushlist 'ItemTypes' 31190
320@pushlist 'ItemTypes' 30990
321@pushlist 'ItemTypes' 30995
322@pushlist 'ItemTypes' 31176
323@pushlist 'ItemTypes' 31180
324@pushlist 'ItemTypes' 30992
325@pushlist 'ItemTypes' 31130
326@pushlist 'ItemTypes' 31011
327@pushlist 'ItemTypes' 31003
328@pushlist 'ItemTypes' 31172
329@pushlist 'ItemTypes' 7109
330@pushlist 'ItemTypes' 37181
331@pushlist 'ItemTypes' 7107
332
333
334foreach x in ItemTypes
335 while findtype x backpack as found
336 @hotkey 'set last target'
337 @target found
338 @setvar myVariable lasttarget
339 wait 100
340 @getlabel 'myVariable' myLabel
341 if 'unidentified' in myLabel
342 #sysmsg 'Dumping: ' 33
343 #sysmsg myLabel 65
344 lift myVariable 1
345 drop noidBag -1 -1 0
346 else
347 #sysmsg 'Skipping' 33
348 #sysmsg myLabel 65
349 endif
350 @ignore myVariable
351 wait 400
352 endwhile
353endfor
354overhead "Done Dumping" 17
355
356# Fill Satchel with scrolls
357if findtype 30765 self as wSatchel
358 menu wSatchel 0
359endif
360# Spyglass-Loop script trigger
361#script 'Spyglass-LOOP'
362#feedback to Anakin#0351