4,951
edits
(Add Township tasks to _getItemSources) |
Falterfire (talk | contribs) (Swapped source on Superior Gems to explicitly call them Superior Gems.) |
||
Line 773: | Line 773: | ||
local mineType = Icons.Icon({SkillData.Mining.name, type='skill'}) | local mineType = Icons.Icon({SkillData.Mining.name, type='skill'}) | ||
local expIcon = '' | local expIcon = '' | ||
local sourceTxt | |||
if item.type == 'Superior Gem' then | if item.type == 'Superior Gem' then | ||
expIcon = Icons.TotH() | expIcon = Icons.TotH() | ||
sourceTxt = '[[Mining#Superior Gems|Superior Gem]]' | |||
else | |||
sourceTxt = '[[Mining#Gems|Gem]]' | |||
end | end | ||
table.insert(dropRows, {source = | table.insert(dropRows, {source = sourceTxt, type = mineType, minqty = thisGem.minQuantity, qty = thisGem.maxQuantity, weight = thisGem.weight, totalWeight = totalGemWeight, expIcon = expIcon}) | ||
-- Check for Alt. Magic spells also | -- Check for Alt. Magic spells also |