The currently supported version of Sazerac's One-Tile Loot Drop script.
(Now Supports Boating + Dungeon Loot Offloading.)
---------------------------
Last Updated: 4/12/2026
---------------------------
- Added additional trapped pouch depositing after first opening the player's Shipping Crate. (Pouches will still pop if loot is nested inside.) This is a client requirement for containers that are not in the player's backpack.
- Removed unnecessary trapped pouch popping during the second loot-drop phase (When unloading the Active Loot Bag.)
---------------------------
Notes From: 3/18/2026
---------------------------
Versioning Notes:
- Added additional timed openings to catch Trapped Pouches (only) on levels 1 and 2 of Shipping Crate in all scripted container types.
---------------------------
Notes From: 3/16/2026
---------------------------
Versioning Notes:
- Added Carpet Rack
- Added Garden Shelf and Variants
- Updated search distance to only be two-tiles from player for Prev Storage Items.
- Updated initial Shipping Crate opening search (when on ground within 1 tile) to go two levels deep.
# Sazeracs One-Tile Loot Drop - Dungeon + Boating (v1.03)
#
# Last Updated: 4/12/2026
#
# Script by: Sazerac (Discord: mrdies)
# Special Thanks: Chinga (Discord: phisn)
#
# This script stores both dungeon and boating loot while using nearby storage systems when available.
# It first sends loot into supported world storage objects such as a Vault, Recycler, Storage Shelf,
# Tomes, Resource Stockpile, and Magic Item Vault. It also deposits gold and doubloons from the
# shipping crate into a nearby Bank Deposit Safe when one is present. It then moves remaining special
# items from your backpack into assigned containers for Seeds, Valuables, and Black Market Goods.
# The script then repeats this process for all loot within your ActiveLootBag (on the player).
#
# Change the ForceDropOffSetup variable to 1 if you want to reselect your ActiveShippingCrate. [Default: 0]
# Change the ForceStorageSetup variable to 1 if you want to reselect your Seed, Valuable,
# and Black Goods storage containers. [Default: 0]
# Once you have set the variables in game, ensure you return both values to 0 for subsequent use of the script.
@setvar ForceDropOffSetup 0
@setvar ForceStorageSetup 0
# If you have continued problems with first-time setup, delete and retarget your saved variables.
# Primary saved variables used by this script include:
# ActiveShippingCrate, SeedStorage, ValuableStorage, and BlackGoodsStorage.
# Tome and storage object aliases (such as YourOreTome or YourStockpile) are found during runtime.
#
# You should only need to run setup once, unless you die (resupply), move, or replace one of your assigned containers.
# For this script to work reliably, all referenced storage objects must be within 2 tiles of the player.
# For the script to recognize Tomes, they must be locked down on the ground, not inside containers.
#
# Notes:
# - This script works best with ALL Prev TOMES & CONTAINERS (But many items will still store if your in-item-storage settings are properly tuned.)
# - The script uses an assigned shipping crate as the primary loot source.
# - Gold coins and doubloons are moved from the shipping crate into a nearby Bank Deposit Safe when available.
# - Storage Shelf interactions are repeated multiple times to unload from the selected shipping crate.
# - Valuables, Seeds, and Black Market Goods are moved from your backpack into their assigned containers.
# - This script prioritizes Tomes and other supported storage targets when they are present nearby.
#
# Instructions:
# - In an Inn Room or House, ensure all Chests & Prev Storage Containers / Tomes are locked down or secure within two tiles of the player.
# - After a Boating Run, run this script while standing 1 tile away from a Shipping Crate. Follow the prompts during runtime.
# - If you are just using this after a normal Dungeon Run, it will skip the boating loot drop.
# - It will ask you to set storage containers only for items not captured and stored by Prev Storage Containers / Tomes.
# - These containers MUST BE secure and within 2 Tiles. They CANNOT be placed within other containers.
# -
# CRITICAL Reminders:
# - Shipping Crates MUST BE 1 TILE from the player, on the GROUND, for the boating loot drop portion to proceed.
# - This script is for players who have the CORRECT 1-Tile setup (All Prev Containers are within 2-Tiles of Player).
# - There is a known issue with Prev Containers when placed beneath other items like countertops. It blocks line of sight, preventing it from opening.
# - You can use this script for NORMAL DUNGEON RUNS or after placing a SHIPPING CRATE in your INN or HOME. (Not usable with banks.)
# - Should you encounter any issues, please let me know :)
if not varexist 'ActiveLootBag' or ForceDropOffSetup = 1
overhead 'This script works best with a dedicated LOOT BAG anywhere in your backpack.' 48
overhead 'Please select the LOOT BAG now.'
@setvar ActiveLootBag
overhead 'Active Loot Bag set.'
endif
if not find 'ActiveLootBag'
overhead 'This script works best with a dedicated LOOT BAG anywhere in your backpack.' 48
overhead 'Your previous LOOT BAG was not detected. Please select a new one.'
@setvar ActiveLootBag
overhead 'Active Loot Bag set.'
endif
if not varexist 'SeedStorage' or ForceStorageSetup = 1;
overhead 'Please select the container where you will store Seeds.'
@setvar SeedStorage
endif
if not find 'SeedStorage' ground
overhead 'Previous Seed Storage undetected. Please select a new one.'
@setvar SeedStorage
endif
if not varexist 'ValuableStorage' or ForceStorageSetup = 1;
overhead 'Please select the container where you will store Valuables.'
@setvar ValuableStorage
endif
if not find 'ValuableStorage' ground
overhead 'Previous Valuable Storage undetected. Please select a new one.'
@setvar ValuableStorage
endif
if not varexist 'BlackGoodsStorage' or ForceStorageSetup = 1;
overhead 'Please select the container where you will store Black Goods.'
@setvar BlackGoodsStorage
endif
if not find 'BlackGoodsStorage' ground
overhead 'Previous Black Goods Storage undetected. Please select a new one.'
@setvar BlackGoodsStorage
endif
overhead 'Searching for Shipping Crate within 1 Tile of Player.'
clearignore
# First attempts to shelf any empty trapped pouches before popping, opening, and storing loot contained within them.
# Opens all supported containers in root (level 1),
# Then opens all supported containers inside those (level 2).
# Does not go beyond level 2.
if findtype 3645|3644 ground 0 any 1 as 'ActiveShippingCrate'
overhead 'Found Shipping Crate.' 18
wait 550
overhead 'Searching for Nested Loot.' 18
dclick 'ActiveShippingCrate'
wait 550
overhead 'Shelving trapped pouches.'
if findtype 'storage shelf|gothic storage shelf|spring storage shelf|winter storage shelf' ground -1 -1 2 as 'YourShelf'
overhead 'Storage Shelf Found.' 50
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
endif
# ----------------------------------------
# Root Crates
# ----------------------------------------
while findtype 'crate' 'ActiveShippingCrate' as 'ContainerCrate'
overhead 'Found level 1 crate.' 18
dclick 'ContainerCrate'
wait 1000
overhead 'Opened level 1 crate.' 18
ignore 'ContainerCrate'
wait 250
while findtype 3645|3644 'ContainerCrate' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerCrate' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerCrate' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerCrate' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerCrate' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerCrate' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerCrate' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerCrate' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerCrate' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Pouches
# ----------------------------------------
while findtype 'pouch' 'ActiveShippingCrate' as 'ContainerPouch'
overhead 'Found level 1 pouch.' 18
dclick 'ContainerPouch'
wait 1000
overhead 'Opened level 1 pouch.' 18
ignore 'ContainerPouch'
wait 250
while findtype 3645|3644 'ContainerPouch' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerPouch' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerPouch' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerPouch' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerPouch' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerPouch' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerPouch' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerPouch' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerPouch' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Backpacks
# ----------------------------------------
while findtype 'backpack' 'ActiveShippingCrate' as 'ContainerBackpack'
overhead 'Found level 1 backpack.' 18
dclick 'ContainerBackpack'
wait 1000
overhead 'Opened level 1 backpack.' 18
ignore 'ContainerBackpack'
wait 250
while findtype 3645|3644 'ContainerBackpack' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerBackpack' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerBackpack' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerBackpack' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerBackpack' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerBackpack' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerBackpack' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerBackpack' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerBackpack' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Bags
# ----------------------------------------
while findtype 'bag' 'ActiveShippingCrate' as 'ContainerBag'
overhead 'Found level 1 bag.' 18
dclick 'ContainerBag'
wait 1000
overhead 'Opened level 1 bag.' 18
ignore 'ContainerBag'
wait 250
while findtype 3645|3644 'ContainerBag' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerBag' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerBag' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerBag' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerBag' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerBag' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerBag' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerBag' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerBag' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Wooden Boxes
# ----------------------------------------
while findtype 'wooden box' 'ActiveShippingCrate' as 'ContainerWoodenBox'
overhead 'Found level 1 wooden box.' 18
dclick 'ContainerWoodenBox'
wait 1000
overhead 'Opened level 1 wooden box.' 18
ignore 'ContainerWoodenBox'
wait 250
while findtype 3645|3644 'ContainerWoodenBox' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerWoodenBox' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerWoodenBox' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerWoodenBox' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerWoodenBox' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerWoodenBox' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerWoodenBox' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerWoodenBox' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerWoodenBox' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Chests
# ----------------------------------------
while findtype 'chest' 'ActiveShippingCrate' as 'ContainerChest'
overhead 'Found level 1 chest.' 18
dclick 'ContainerChest'
wait 1000
overhead 'Opened level 1 chest.' 18
ignore 'ContainerChest'
wait 250
while findtype 3645|3644 'ContainerChest' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerChest' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerChest' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerChest' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerChest' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerChest' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerChest' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerChest' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerChest' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Wooden Chests
# ----------------------------------------
while findtype 'wooden chest' 'ActiveShippingCrate' as 'ContainerWoodenChest'
overhead 'Found level 1 wooden chest.' 18
dclick 'ContainerWoodenChest'
wait 1000
overhead 'Opened level 1 wooden chest.' 18
ignore 'ContainerWoodenChest'
wait 250
while findtype 3645|3644 'ContainerWoodenChest' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerWoodenChest' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerWoodenChest' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerWoodenChest' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerWoodenChest' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerWoodenChest' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerWoodenChest' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerWoodenChest' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerWoodenChest' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Metal Chests
# ----------------------------------------
while findtype 'metal chest' 'ActiveShippingCrate' as 'ContainerMetalChest'
overhead 'Found level 1 metal chest.' 18
dclick 'ContainerMetalChest'
wait 1000
overhead 'Opened level 1 metal chest.' 18
ignore 'ContainerMetalChest'
wait 250
while findtype 3645|3644 'ContainerMetalChest' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerMetalChest' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerMetalChest' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerMetalChest' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerMetalChest' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerMetalChest' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerMetalChest' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerMetalChest' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerMetalChest' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
# ----------------------------------------
# Root Strong Boxes
# ----------------------------------------
while findtype 'strong box' 'ActiveShippingCrate' as 'ContainerStrongBox'
overhead 'Found level 1 strong box.' 18
dclick 'ContainerStrongBox'
wait 1000
overhead 'Opened level 1 strong box.' 18
ignore 'ContainerStrongBox'
wait 250
while findtype 3645|3644 'ContainerStrongBox' 0 any 1 as 'ContainerCrate2'
overhead 'Found level 2 crate.' 18
dclick 'ContainerCrate2'
wait 1000
overhead 'Opened level 2 crate.' 18
ignore 'ContainerCrate2'
endwhile
while findtype 'pouch' 'ContainerStrongBox' as 'ContainerPouch2'
overhead 'Found level 2 pouch.' 18
dclick 'ContainerPouch2'
wait 900
dclick 'ContainerPouch2'
wait 1000
overhead 'Opened level 2 pouch.' 18
ignore 'ContainerPouch2'
endwhile
while findtype 'backpack' 'ContainerStrongBox' as 'ContainerBackpack2'
overhead 'Found level 2 backpack.' 18
dclick 'ContainerBackpack2'
wait 1000
overhead 'Opened level 2 backpack.' 18
ignore 'ContainerBackpack2'
endwhile
while findtype 'bag' 'ContainerStrongBox' as 'ContainerBag2'
overhead 'Found level 2 bag.' 18
dclick 'ContainerBag2'
wait 1000
overhead 'Opened level 2 bag.' 18
ignore 'ContainerBag2'
endwhile
while findtype 'wooden box' 'ContainerStrongBox' as 'ContainerWoodenBox2'
overhead 'Found level 2 wooden box.' 18
dclick 'ContainerWoodenBox2'
wait 1000
overhead 'Opened level 2 wooden box.' 18
ignore 'ContainerWoodenBox2'
endwhile
while findtype 'chest' 'ContainerStrongBox' as 'ContainerChest2'
overhead 'Found level 2 chest.' 18
dclick 'ContainerChest2'
wait 1000
overhead 'Opened level 2 chest.' 18
ignore 'ContainerChest2'
endwhile
while findtype 'wooden chest' 'ContainerStrongBox' as 'ContainerWoodenChest2'
overhead 'Found level 2 wooden chest.' 18
dclick 'ContainerWoodenChest2'
wait 1000
overhead 'Opened level 2 wooden chest.' 18
ignore 'ContainerWoodenChest2'
endwhile
while findtype 'metal chest' 'ContainerStrongBox' as 'ContainerMetalChest2'
overhead 'Found level 2 metal chest.' 18
dclick 'ContainerMetalChest2'
wait 1000
overhead 'Opened level 2 metal chest.' 18
ignore 'ContainerMetalChest2'
endwhile
while findtype 'strong box' 'ContainerStrongBox' as 'ContainerStrongBox2'
overhead 'Found level 2 strong box.' 18
dclick 'ContainerStrongBox2'
wait 1000
overhead 'Opened level 2 strong box.' 18
ignore 'ContainerStrongBox2'
endwhile
endwhile
overhead 'Finished opening supported nested containers.' 18
wait 250
if findtype 'bank deposit safe' ground any any 2 as safe
overhead 'Found Safe.'
while findtype 'gold coin' ActiveShippingCrate as YourGold
overhead 'Depositing gold.'
@drop backpack
lift YourGold 60000
wait 250
drop safe -1 -1 0
wait 500
endwhile
while findtype 'doubloon' ActiveShippingCrate as YourDoubloons
overhead 'Depositing dubs'
@drop backpack
lift YourDoubloons 60000
wait 250
drop safe -1 -1 0
wait 500
endwhile
else
overhead 'Safe not found.'
endif
wait 150
if findtype 'storage shelf|gothic storage shelf|spring storage shelf|winter storage shelf' ground -1 -1 2 as 'YourShelf'
overhead 'Storage Shelf Found.' 50
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
endif
wait 150
if findtype 'magic item recycler' ground -1 -1 2 as 'YourRecycler'
overhead 'Recycler Found.' 50
dclick 'YourRecycler'
waitforgump 4045111101
gumpresponse 3
waitfortarget
target 'ActiveShippingCrate'
endif
wait 150
clearignore
# This then moves the shipping crate into your backpack for loot storing.
overhead 'Moving Shipping Crate into Backpack'
if find 'ActiveShippingCrate' ground 0 any 2
lift 'ActiveShippingCrate' 1 ground
drop backpack
endif
wait 150
if findtype 'bank deposit safe' ground -1 -1 2 as 'YourVault'
overhead 'Vault Found.' 50
menu 'YourVault' 0
endif
wait 150
if findtype 'sm magic item vault' ground -1 -1 2 as 'YourMagicItemVault'
overhead 'Magic Item Vault Found.' 50
menu 'YourMagicItemVault' 0
wft
target 'ActiveShippingCrate'
endif
wait 150
if findtype 29104 ground 2618 -1 2 as 'YourAspectTome'
overhead 'Tomes Found.' 50
menu 'YourAspectTome' 0
endif
if findtype 29104 ground 1495 -1 2 as 'YourClothTome'
overhead 'Cloth Tome Found.' 50
menu 'YourClothTome' 0
endif
if findtype 29104 ground 1494 -1 2 as 'YourDyeTome'
overhead 'Dye Tome Found.' 50
menu 'YourDyeTome' 0
endif
if findtype 29104 ground 2799 -1 2 as 'YourLumberTome'
overhead 'Lumber Tome Found.' 50
menu 'YourLumberTome' 0
endif
if findtype 29104 ground 2796 -1 2 as 'YourOreTome'
overhead 'Ore Tome Found.' 50
menu 'YourOreTome' 0
endif
if findtype 29104 ground 2651 -1 2 as 'YourSkinningTome'
overhead 'Skinning Tome Found.' 50
menu 'YourSkinningTome' 0
endif
if findtype 29104 ground 2722 -1 2 as 'YourFishingTome'
overhead 'Fishing Tome Found.' 50
menu 'YourFishingTome' 0
endif
if findtype 29104 ground 2990 -1 2 as 'YourTreasureTome'
overhead 'Treasure Tome Found.' 50
menu 'YourTreasureTome' 0
endif
if findtype 29104 ground 2991 -1 2 as 'YourLinkTome'
overhead 'Mastery Chain Link Tome Found.' 50
menu 'YourLinkTome' 0
endif
if findtype 29104 ground 2877 -1 2 as 'YourShipTome'
overhead 'Ship Upgrade Tome Found.' 50
menu 'YourShipTome' 0
endif
if findtype 29104 ground 2141 -1 2 as 'YourCardTome'
overhead 'Collectible Card Tome Found.' 50
menu 'YourCardTome' 0
endif
if findtype 29104 ground 2227 -1 2 as 'YourSpellTome'
overhead 'Spell Scroll Tome Found.' 50
menu 'YourSpellTome' 0
endif
if findtype 29104 ground 2963 -1 2 as 'YourSkillTome'
overhead 'Skill Scroll Tome Found.' 50
menu 'YourSkillTome' 0
endif
if findtype 29104 ground 2085 -1 2 as 'YourArcaneRuneTome'
overhead 'Arcane Rune Tome Found.' 50
menu 'YourArcaneRuneTome' 0
endif
wait 150
if findtype 'magic item recycler|ornate elven chest' ground -1 -1 2 as 'YourRecycler'
overhead 'Recycler Found.' 50
menu 'YourRecycler' 1
endif
wait 150
if findtype 'resource container' ground -1 -1 2 as 'YourStockpile'
overhead 'Resource Stockpile Found.' 50
menu 'YourStockpile' 0
wft
target 'ActiveShippingCrate'
endif
wait 150
if findtype 'carpet rack' ground -1 -1 2 as 'YourCarpetRack'
overhead 'Carpet Rack Found.' 50
menu 'YourCarpetRack' 0
wft
target 'ActiveShippingCrate'
endif
wait 150
if findtype 'garden shelf|barrel planter shelf' ground -1 -1 2 as 'YourGardenShelf'
overhead 'Garden Shelf Found.' 50
menu 'YourGardenShelf' 0
wft
target 'ActiveShippingCrate'
endif
while findtype 'gem|carpet|void orb|chroma core|chroma distil|research materials|colonial marks|bag of gems|card|soul jar|candy corn|red envelope|hunting permit|spell hue deed|redline bottle|3712|3648|3650|3708|3648|2475|3649|29833|29832|8454|8455|27612|2463|2508|7710|5192|19199|29086|29077|17083|15178|19822|58326' backpack as YourValuables
overhead 'Storing Other Valuables.'
@drop backpack
lift YourValuables 60000
wait 250
drop ValuableStorage -1 -1 0
wait 500
endwhile
while findtype 'black market goods' backpack as YourBlackGoods
overhead 'Storing Black Market Goods.'
@drop backpack
lift YourBlackGoods 60000
wait 250
drop BlackGoodsStorage -1 -1 0
wait 500
endwhile
while findtype 'seed of renewal' backpack as YourSeeds
overhead 'Storing Seeds.'
@drop backpack
lift YourSeeds 60000
wait 250
drop SeedStorage -1 -1 0
wait 500
endwhile
if findtype 'storage shelf|gothic storage shelf|spring storage shelf|winter storage shelf' ground -1 -1 2 as 'YourShelf'
overhead 'Storing to Shelf for Remnant Bags / Pouches.' 50
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveShippingCrate'
waitforgump 3232825965
gumpclose
endif
overhead 'Shipping Crate unloaded.'
elseif findtype 3645|3644 backpack
overhead 'A Shipping Crate must be placed within 1 Tile of the Player.'
else
overhead 'A Shipping Crate must be placed within 1 Tile of the Player.'
endif
# Now we move on to deposit all loot in your current Active Loot Bag.
overhead 'Depositing loot from Active Loot Bag.'
if varexist ActiveLootBag
wait 150
if findtype 'bank deposit safe' ground -1 -1 2 as 'YourVault'
overhead 'Vault Found.' 50
menu 'YourVault' 0
endif
wait 150
if findtype 'magic item recycler|ornate elven chest' ground -1 -1 2 as 'YourRecycler'
overhead 'Recycler Found.' 50
menu 'YourRecycler' 1
endif
wait 150
clearignore
if findtype 'storage shelf|gothic storage shelf|spring storage shelf|winter storage shelf' ground -1 -1 2 as 'YourShelf'
overhead 'Storage Shelf Found.' 50
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
endif
wait 150
if findtype 29104 ground 2618 -1 2 as 'YourAspectTome'
overhead 'Tomes Found.' 50
menu 'YourAspectTome' 0
endif
if findtype 29104 ground 1495 -1 2 as 'YourClothTome'
overhead 'Cloth Tome Found.' 50
menu 'YourClothTome' 0
endif
if findtype 29104 ground 1494 -1 2 as 'YourDyeTome'
overhead 'Dye Tome Found.' 50
menu 'YourDyeTome' 0
endif
if findtype 29104 ground 2799 -1 2 as 'YourLumberTome'
overhead 'Lumber Tome Found.' 50
menu 'YourLumberTome' 0
endif
if findtype 29104 ground 2796 -1 2 as 'YourOreTome'
overhead 'Ore Tome Found.' 50
menu 'YourOreTome' 0
endif
if findtype 29104 ground 2651 -1 2 as 'YourSkinningTome'
overhead 'Skinning Tome Found.' 50
menu 'YourSkinningTome' 0
endif
if findtype 29104 ground 2722 -1 2 as 'YourFishingTome'
overhead 'Fishing Tome Found.' 50
menu 'YourFishingTome' 0
endif
if findtype 29104 ground 2990 -1 2 as 'YourTreasureTome'
overhead 'Treasure Tome Found.' 50
menu 'YourTreasureTome' 0
endif
if findtype 29104 ground 2991 -1 2 as 'YourLinkTome'
overhead 'Mastery Chain Link Tome Found.' 50
menu 'YourLinkTome' 0
endif
if findtype 29104 ground 2877 -1 2 as 'YourShipTome'
overhead 'Ship Upgrade Tome Found.' 50
menu 'YourShipTome' 0
endif
if findtype 29104 ground 2141 -1 2 as 'YourCardTome'
overhead 'Collectible Card Tome Found.' 50
menu 'YourCardTome' 0
endif
if findtype 29104 ground 2227 -1 2 as 'YourSpellTome'
overhead 'Spell Scroll Tome Found.' 50
menu 'YourSpellTome' 0
endif
if findtype 29104 ground 2963 -1 2 as 'YourSkillTome'
overhead 'Skill Scroll Tome Found.' 50
menu 'YourSkillTome' 0
endif
if findtype 29104 ground 2085 -1 2 as 'YourArcaneRuneTome'
overhead 'Arcane Rune Tome Found.' 50
menu 'YourArcaneRuneTome' 0
endif
wait 150
if findtype 'resource container' ground -1 -1 2 as 'YourStockpile'
overhead 'Resource Stockpile Found.' 50
menu 'YourStockpile' 0
wft
target 'ActiveLootBag'
endif
wait 150
if findtype 'carpet rack' ground -1 -1 2 as 'YourCarpetRack'
overhead 'Carpet Rack Found.' 50
menu 'YourCarpetRack' 0
wft
target 'ActiveLootBag'
endif
wait 150
if findtype 'garden shelf|barrel planter shelf' ground -1 -1 2 as 'YourGardenShelf'
overhead 'Garden Shelf Found.' 50
menu 'YourGardenShelf' 0
wft
target 'ActiveLootBag'
endif
wait 150
if findtype 'sm magic item vault' ground -1 -1 2 as 'YourMagicItemVault'
overhead 'Magic Item Vault Found.' 50
menu 'YourMagicItemVault' 0
wft
target 'ActiveLootBag'
endif
while findtype 'gem|carpet|void orb|chroma core|chroma distil|research materials|colonial marks|bag of gems|card|soul jar|candy corn|red envelope|hunting permit|spell hue deed|redline bottle|3712|3648|3650|3708|3648|2475|3649|29833|29832|8454|8455|27612|2463|2508|7710|5192|19199|29086|29077|17083|15178|19822|58326' backpack as YourValuables
overhead 'Storing Other Valuables.'
@drop backpack
lift YourValuables 60000
wait 250
drop ValuableStorage -1 -1 0
wait 500
endwhile
while findtype 'black market goods' backpack as YourBlackGoods
overhead 'Storing Black Market Goods.'
@drop backpack
lift YourBlackGoods 60000
wait 250
drop BlackGoodsStorage -1 -1 0
wait 500
endwhile
while findtype 'seed of renewal' backpack as YourSeeds
overhead 'Storing Seeds.'
@drop backpack
lift YourSeeds 60000
wait 250
drop SeedStorage -1 -1 0
wait 500
endwhile
if findtype 'storage shelf|gothic storage shelf|spring storage shelf|winter storage shelf' ground -1 -1 2 as 'YourShelf'
overhead 'Storing to Shelf for Remnant Bags / Pouches.' 50
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
wait 150
menu 'YourShelf' 0
wft
target 'ActiveLootBag'
waitforgump 3232825965
gumpclose
endif
overhead 'Active Loot Bag unloaded.'
endif
overhead 'All loot has been stored.'