Anonymous

Module:Skills/Artisan: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 257: Line 257:
     :tag("th"):wikitext(Icons.Icon({'Herblore', type='skill', notext=true}) .. '<br>Level')
     :tag("th"):wikitext(Icons.Icon({'Herblore', type='skill', notext=true}) .. '<br>Level')
     :tag("th"):wikitext("Herb")
     :tag("th"):wikitext("Herb")
    :tag("th"):wikitext("[[DLC]]")
     :tag("th"):wikitext("Value")
     :tag("th"):wikitext("Value")
     :tag("th"):wikitext("Herb Sources")
     :tag("th"):wikitext("Herb Sources")
Line 265: Line 266:
     local herbItem = Items.getItemByID(v['key'])
     local herbItem = Items.getItemByID(v['key'])
     local herbLevel = v['value']
     local herbLevel = v['value']
    local dlcIcon = Icons.getExpansionIcon(herbItem.id)


     -- Add rows
     -- Add rows
Line 271: Line 271:
     :tag("td"):wikitext(herbLevel)
     :tag("td"):wikitext(herbLevel)
       :css('text-align', 'center')
       :css('text-align', 'center')
     :tag("td"):wikitext(dlcIcon .. Icons.Icon({herbItem.name, type='item'}))
     :tag("td"):wikitext(Icons.Icon({herbItem.name, type='item'}))
    :tag("td"):wikitext(Icons.getDLCColumnIcon(herbItem.id))
      :css('text-align', 'center')
     :tag("td"):wikitext(Items.getValueText(herbItem))
     :tag("td"):wikitext(Items.getValueText(herbItem))
     :tag('td'):wikitext(ItemSourceTables._getItemSources(herbItem, false, nil, ' '))
     :tag('td'):wikitext(ItemSourceTables._getItemSources(herbItem, false, nil, ' '))
2,875

edits