Returns information about item rewards for the selected quest in the quest log. This function refers to items always awarded upon quest completion; for quest rewards for which the player is allowed to choose one item from among several, see GetQuestLogChoiceInfo.
See also Quest functions.
Signature:
name,
texture,
numItems,
quality,
isUsable
=
GetQuestLogRewardInfo(index)
Arguments:
index
- Index of a quest reward (between 1 and GetNumQuestLogRewards()) (number
)
Returns:
name
- Name of the item (string
)texture
- Path to an icon texture for the item (string
)numItems
- Number of items in the stack (number
)quality
- Quality of the item (number
, itemQuality)isUsable
- 1 if the player can use or equip the item; otherwise nil (1nil
)