CanAnyItemsBeStoredInCraftBag

From ESOUI Wiki

Jump to: navigation, search

Returns true if the specified bag contains any items that can be transferred to the Craft Bag, or false otherwise.

Contents

Arguments

bagId
A number representing the bag to check; it must be one of the built-in Bag values.

Syntax

if CanAnyItemsBeStoredInCraftBag(BAG_BACKPACK) or CanAnyItemsBeStoredInCraftBag(BAG_BANK) then
   d("Hey, it looks like there are some crafting materials taking up space!")
   d("I bet there's a way to fix that...")
end

Notes

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox