Razor script
Dump all reagents to a container and collect a defined amount to satchel.
by Necromunger · 50 lines
Organizing
Dump all reagents to a container and collect a defined amount to satchel.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/7c8b5530-79a6-41a4-888a-634dbca497f7 for latest2# Automation by Jaseowns3## Script: Dump all reagents to a container and collect a defined amount to satchel.4## Created by: Necromunger#91785#############################################6 7overhead 'Select main reagent storage.'8setvar 'sourceContainer'9 10@setvar! requiredReagentCount 7011@setvar! globalWaitTime 65012 13removelist Reagents14createlist Reagents15clearignore16 17// Blood Moss18@pushlist Reagents 396319// Sulfurous Ash20@pushlist Reagents 398021// Mandrake Root's22@pushlist Reagents 397423// Ginseng24@pushlist Reagents 397325// Spider's Silk26@pushlist Reagents 398127// Black Pearl's28@pushlist Reagents 396229// Nightshade30@pushlist Reagents 397631// Garlic32@pushlist Reagents 397233 34if findtype 'reagent satchel' self as satchel35 foreach reagentID in Reagents36 // Dump all of held reagent from satchel into storage container37 if findtype reagentID satchel as reagent and counttype reagentID satchel as reagentCount38 lift reagent reagentCount39 drop sourceContainer -1 -1 -140 wait globalWaitTime41 endif42 43 // Pickup the amount we want from storage container44 if findtype reagentID sourceContainer as getReagent45 lift getReagent requiredReagentCount46 drop satchel -1 -1 -147 wait globalWaitTime48 endif49 endfor50endif