Restock Storage Shelf with Magic Mushrooms (Easily Customizable) by oaksvirals
Description from the author:
#Stand next to shelf and run.
#Change MushCount variable to how mnay shrooms you want to make.
#Consider how much weight you can hold. 100 mushrooms = 10 weight.
#i.e. 1000 shrooms = 100 weight
@setvar! MushCount '1000'
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 29012 backpack < MushCount
if counttype 3974 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 'create food'
wait 1000
endif
if mana < 15
dclicktype 29012
while mana < 90
if not findbuff "actively meditating"
skill 'meditation'
endif
wait 1000
endwhile
endif
endwhile
if counttype 29012 backpack >= MushCount
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
endifEasily restock your storage shelf with magic mushrooms. You only need to set 1 variable at the top of the script for the number of Magic Mushrooms you would like to add to your shelf.