Skip to content

TradeskillDepot

Object that interacts with the personal tradeskill depot, introduced in the Night of Shadows expansion.

Forms

tradeskilldepot TradeskillDepot

Associated DataTypes

tradeskilldepot

This contains information related to a tradeskill depot.

Members

int Capacity

Returns the total capacity of the tradeskill depot.

int Count

Returns the number of item stacks in the tradeskill depot.

bool Enabled

Returns whether the tradeskill depot is enabled or not. It requires the Night of Shadows expansion.

item FindItem[#]

Find an item with the given item ID in the tradeskill depot.

item FindItem[name]

Find an item by partial name in the tradeskill depot. Prefix with "=" for an exact match.

int FindItemCount[#]

Find the number of items with the given item ID in the tradeskill depot.

int FindItemCount[name]

Find the number of items by partial name in the tradeskill depot. Prefix with "=" for an exact match.

bool ItemsReceived

Returns whether the tradeskill depot has been populated with items. The window must be opened at least once for the depot to be populated with items.

item SelectedItem

Returns the currently selected item in the tradeskill depot window.

Examples

/echo ${TradeskillDepot.SelectedItem}

Echos the name of the currently selected item in the tradeskill depot window.