Restock Storage Shelf with Trapped Pouches by oaksvirals
Description from the author:
#Stand next to shelf and run.
#Change PouchCount variable to how mnay trapped pouches you want to make.
#Grab the same number of regular pouches that will be used to trap.
@setvar! PouchCount '100'
if findtype "storage shelf" ground any any 2 as my_shelf
overhead 'Shelf Found!' 0
else
overhead 'Must Be Near Your Storage Shelf!' 33
stop
endif
while counttype "pouch" backpack 38 < PouchCount
if counttype 3981 self < 10
if findtype "storage shelf" ground any any 2 as my_shelf
menu my_shelf 1
wait 1000
overhead 'Restocked!' 0
endif
else
cast 'magic trap'
wft 1000
target 'self'
endif
if mana < 15
while mana < 90
if not findbuff "actively meditating"
skill 'meditation'
endif
wait 1000
endwhile
endif
endwhile
if counttype "pouch" backpack 38 >= PouchCount
if findtype "storage shelf" ground any any 2 as my_shelf
menu my_shelf 0
wait 1000
target 'self'
pause 600
gumpclose
pause 600
menu my_shelf 1
overhead 'All Done!' 0
endif
stop
endifIf you rather not buy trapped pouches from a vendor, this script will help you restock! Grab normal pouches in your bag, set the variable at the top to the number of trapped pouches to make, and let it run.