12,714
edits
(Add Township tasks to _getItemSources) |
m (Correct item name error) |
||
(One intermediate revision by one other user not shown) | |||
Line 589: | Line 589: | ||
elseif item.id == 'melvorTotH:Deadly_Toxins_Potion' then | elseif item.id == 'melvorTotH:Deadly_Toxins_Potion' then | ||
--Adding a special override for Deadly Toxins potions | --Adding a special override for Deadly Toxins potions | ||
table.insert(lineArray, 'Brewing [[Lethal Toxins Potion]]s while wearing '..Icons.Icon({'Toxic | table.insert(lineArray, 'Brewing [[Lethal Toxins Potion]]s while wearing '..Icons.Icon({'Toxic Maker Gloves', type='item'})) | ||
end | end | ||
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 |