Hey,
directly from the source of this:
SurveyTheWorld
Lua Code:
local treasure = SPECIALIZED_ITEMTYPE_TROPHY_TREASURE_MAP
local survey = SPECIALIZED_ITEMTYPE_TROPHY_SURVEY_REPORT
surveyNames = {}
treasureNames = {}
for slotId = 0, numBagSlots do
local itemType, sItemType = GetItemType(bagId, slotId)
if itemType == ITEMTYPE_TROPHY and (sItemType == treasure or sItemType == survey) then
local itemName = string.lower(zo_strformat(GetItemName(bagId, slotId)):match "^%s*(.-)%s*$")
table.insert(((sItemType == survey and surveyNames) or treasureNames), itemName)
end
end