12,808
edits
(Add Crown of Rhaelyx as a use for Cartography (map upgrading)) |
(_getItemUseTable: Amend links for Agility uses to link to specific obstacle/pillar) |
||
(One intermediate revision by the same user not shown) | |||
Line 462: | Line 462: | ||
local category = GameData.getEntityByID(SkillData.Farming.categories, recipe.categoryID) | local category = GameData.getEntityByID(SkillData.Farming.categories, recipe.categoryID) | ||
local qty = 5 * category.harvestMultiplier | local qty = 5 * category.harvestMultiplier | ||
local xp = recipe.baseExperience | local xp = recipe.baseExperience | ||
table.insert(useArray, {item = {id = product.id, name = product.name}, qty = qty, mats = mat, skill = 'Farming', req = rowReq, xp = xp}) | table.insert(useArray, {item = {id = product.id, name = product.name}, qty = qty, mats = mat, skill = 'Farming', req = rowReq, xp = xp}) | ||
end | end | ||
Line 564: | Line 564: | ||
local iconName = row.item.name | local iconName = row.item.name | ||
if row.skill == 'Agility' then | if row.skill == 'Agility' then | ||
iconType = 'agility' | |||
end | end | ||
local typeName = row.skill ~= nil and row.skill or '' | local typeName = row.skill ~= nil and row.skill or '' |