GemifyItem

From ESOUI Wiki

Jump to: navigation, search

This function searches the player's bags (i.e. BAG_BACKPACK, BAG_BANK, and so on) for all applicable items with the specified ID, and converts the specified amount to Crown Gems.

Arguments

itemId
The ID of the item to gemify, retrievable through functions like GetItemId.
amount
The number of the item that should be gemified. Ideally this should be a multiple of the itemsRequired value returned by GetNumCrownGemsFromItemManualGemification.

Syntax

local itemId           = GetItemId(bagId, slotId)
local itemsRequired, _ = GetNumCrownGemsFromItemManualGemification(bagId, slotId)
 
GemifyItem(itemId, itemsRequired)

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox