Module:Items/SourceTables: Difference between revisions

Tweaked formatting for source list for special fishing items & gems
(Added Infernal Cape sources)
(Tweaked formatting for source list for special fishing items & gems)
Line 421: Line 421:
   --FishCheck:
   --FishCheck:
   if (item.category == "Fishing" and (item.type == "Junk" or item.type == "Special")) then
   if (item.category == "Fishing" and (item.type == "Junk" or item.type == "Special")) then
     table.insert(lineArray, Icons._SkillReq("Fishing", 1))
     table.insert(lineArray, Icons.Icon({"Fishing", type='skill', notext=true})..' [[Fishing#'..item.type..'|'..item.type..']]')
   elseif item.fishingLevel ~= nil then
   elseif item.fishingLevel ~= nil then
     table.insert(lineArray, Icons._SkillReq("Fishing", item.fishingLevel))
     table.insert(lineArray, Icons._SkillReq("Fishing", item.fishingLevel))
Line 447: Line 447:
   --Gems can be acquired from mining, fishing, and alt. magic
   --Gems can be acquired from mining, fishing, and alt. magic
   if item.type == 'Gem' then
   if item.type == 'Gem' then
     table.insert(lineArray, Icons._SkillReq("Fishing", 1))
     table.insert(lineArray, Icons.Icon({"Fishing", type='skill', notext=true})..' [[Fishing#Special|Special]]')
     table.insert(lineArray, Icons._SkillReq("Mining", 1))
     table.insert(lineArray, Icons.Icon({"Mining", type='skill', notext=true})..' [[Mining#Gems|Gem]]')
     table.insert(lineArray, Icons.Icon({"Alt. Magic", type='skill'}))
     table.insert(lineArray, Icons.Icon({"Alt. Magic", type='skill'}))
   end
   end