Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Added Infernal Cape sources
m (j/k really fixed now)
(Added Infernal Cape sources)
Line 298: Line 298:
     end
     end
     dungeonStr = dungeonStr..Icons.Icon({"Volcanic Cave", type="dungeon", notext=true})
     dungeonStr = dungeonStr..Icons.Icon({"Volcanic Cave", type="dungeon", notext=true})
  elseif item.name == 'Infernal Cape' then
    if string.len(dungeonStr) > 0 then
      dungeonStr = dungeonStr..','
    else
      dungeonStr = 'Completing: '
    end
    dungeonStr = dungeonStr..Icons.Icon({"Infernal Stronghold", type="dungeon", notext=true})
   end
   end


Line 584: Line 591:
   if item.name == 'Fire Cape' then
   if item.name == 'Fire Cape' then
       local sourceTxt = Icons.Icon({"Volcanic Cave", type="dungeon", notext=true})
       local sourceTxt = Icons.Icon({"Volcanic Cave", type="dungeon", notext=true})
      table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100})
  elseif item.name == 'Infernal Cape' then
      local sourceTxt = Icons.Icon({"Infernal Stronghold", type="dungeon", notext=true})
       table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100})
       table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100})
   end
   end