Dabiri's Main Organizer and Reset Script by dabiri
Related: Snippetorganization
//This should be a cleaner version that only needs serials set in one place.
//I've also commented out the shipping crate sub script portion figuring that's a bit niche for some
//It is pretty fresh so let me know if you run into any weirdness if you're using it in the real world
overhead 'Organizer 4.1'
clearignore
@drop backpack
// This box is where research materials, orbs, booty, and other random stuff goes
@setvar! random_stuff_box '0x4B3C1B85'
// This box holds all of my tomes and my magic item chest
@setvar tome_box '0x568BEAEB'
//Storage shelf
@setvar dab_shelf '0x49F6F1B7'
//Resource stockpile
@setvar dab_stockpile '0x49FA6F42'
//Magic item recycler
@setvar dab_recycler '0x50C115E9'
//Magic item chest
@setvar dab_magic_item_chest '0x4268EE41'
//Bank deposit safe
@setvar dab_safe '0x447863D2'
//Repair bench
@setvar dab_repair_bench '0x447FA367'
//This waits for ping by checking the label of my backpack, it'll be all over this script.
getlabel backpack pingCheck
//Dump resources in stockpile
overhead 'Dumping resources'
menu dab_stockpile 0
waitfortarget
hotkey 'Target Self'
getlabel backpack pingCheck
//Drop off loadout in shelf
overhead 'Emptying loadout'
menu dab_shelf 0
waitfortarget
hotkey 'Target Self'
getlabel backpack pingCheck
dclick tome_box
getlabel backpack pingCheck
// Loops and dumps items into all tomes in the defined box
while findtype 29104 tome_box as foundATome
//The next two lines show which tome is being dumped to overhead as a sanity check, but could be commented out once you're comfortable
//getlabel 'foundATome' 'tomelabel'
//overhead 'Dumping to {{tomelabel}} index: {{index}}' 98
menu foundATome 0
ignore foundATome
getlabel backpack pingCheck
endwhile
menu dab_magic_item_chest 0
waitfortarget
hotkey 'Target Self'
getlabel backpack pingCheck
overhead 'Done with tomes and magic item chest'
//magic item recycler
overhead 'Magic item recycler'
menu dab_recycler 1
getlabel backpack pingCheck
//Move gold
overhead 'Dumping gold and dubs to deposit safe'
menu dab_safe 0
getlabel backpack pingCheck
overhead 'Stack check statements'
//Move marks
overhead 'Checking for colonial marks'
while findtype "colonial marks" backpack as marks
overhead 'Marks found'
lift marks 60000
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Move booty
overhead 'Checking for pirate booty'
while findtype "bag of gems" backpack as booty
overhead 'Booty found'
lift booty 30
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Move seeds
overhead 'Checking for seeds'
while findtype "seed of renewal" backpack as seeds
overhead 'Seeds found'
lift seeds 5
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Orbs
overhead 'Checking for skill orbs'
while findtype "void orb" backpack as orbs
overhead 'Orb found'
lift orbs
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Research Mats
overhead 'Checking for research mats'
while findtype "research materials" backpack as mats
overhead 'Research mats found'
lift mats
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Chromatic Distill
overhead 'Checking chroma distills'
while findtype "chroma distil" backpack as chromadistils
overhead 'Chroma distils found'
lift chromadistils
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Chromatic core
overhead 'Checking chroma cores'
while findtype "chroma core" backpack as chromacores
overhead 'Chroma core found'
lift chromacores
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Black goods
overhead 'Checking black goods'
while findtype "black market goods" backpack as blackgoods
overhead 'Black goods found'
lift blackgoods
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//Move nets
overhead 'Checking special nets'
clearignore
while findtype "fishing net" backpack as net
getlabel net netname
if "special" in netname
overhead 'Found a special net'
lift net 60000
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
else
ignore net
endif
endwhile
//Soul jars and spores
overhead 'Checking soul jars and spores'
while findtype 43423|58196 backpack as soulspores
overhead 'Souls or spores found'
lift soulspores 5
drop random_stuff_box -1 -1 0
while queued
// Waits for lift and drop
endwhile
endwhile
//overhead 'Checking for a shipping crate'
//if findtype 3645 ground 0 any 2 as 'shippingcrate'
// overhead "Crate here" 55
// overhead 'Shipping crate found - launching sub script'
// script 'UnloadShippingCrate'
//else
// overhead 'No crate, finishing up'
//endif
getlabel backpack pingCheck
menu dab_shelf 1
getlabel backpack pingCheck
overhead 'Repairing gear'
dclick dab_repair_bench
overhead '~~ Organizer done ~~' 18