Stash Control
stashcontrol.lua
This module handles logic for interacting with stashes—shared inventories for crafting, jobs, or storage systems.
checkStashItem(stashes, itemTable)
Retrieves (or updates) a local stash cache entry with a timeout.
Example:
openStash(data)
Opens a stash using the active inventory system.
Checks for job or gang restrictions before opening the stash.
Example:
getStash(stashName)
Retrieves the stash data by name (usually used for querying contents).
Example:
stashRemoveItem(stashItems, stashName, items)
Removes specified items from a stash. Used during crafting or transfers.
Example:
Last updated