GetFishingLureInfo

From ESOUI Wiki

Jump to: navigation, search

This function returns information on a given fishing lure.

Note that there are unused slots in the list of fishing lures. If a slot is unused, then its name will be blank, and it will have a "missing texture" icon.

Contents

Arguments

lureIndex
The index of a fishing lure; it should be between 1 and GetNumFishingLures(), inclusive.

Return values

name
The fishing lure's name.
texture
The texture path for the fishing lure's icon.
stack
How many of the fishing lure the player has across their inventory and their Craft Bag.
sellPrice
How much gold one of the fishing lure can be sold for.
quality
The lure's rarity, as an ItemQuality value.

Syntax

d("Here's a list of fishing lures:")
for i = 1, GetNumFishingLures() do
   local name, _, _, _, _ = GetFishingLureInfo(i)
   if name ~= "" then
      d(name)
   end
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox