Anonymous

Module:Skills/Gathering: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 724: Line 724:
         :tag('th'):attr("colspan", 2):wikitext("Seeds")
         :tag('th'):attr("colspan", 2):wikitext("Seeds")
         :tag('th'):wikitext(Icons.Icon({'Farming', type='skill', notext=true}) .. '<br>Level')
         :tag('th'):wikitext(Icons.Icon({'Farming', type='skill', notext=true}) .. '<br>Level')
        :tag('td'):wikitext('[[DLC]]')
         :tag('th'):wikitext('XP')
         :tag('th'):wikitext('XP')
         :tag('th'):wikitext('Growth Time')
         :tag('th'):wikitext('Growth Time')
Line 729: Line 730:


if category.id == 'melvorD:Allotment' then
if category.id == 'melvorD:Allotment' then
html:tag('th'):attr("colspan", 2):wikitext("Crop")
html:tag('th'):attr("colspan", 2):wikitext("Produce")
:tag('th'):wikitext('Crop Healing')
:tag('th'):wikitext('Healing')
:tag('th'):wikitext('Crop Value')
:tag('th'):wikitext('Produce<br>Value')
elseif category.id == 'melvorD:Herb' then
elseif category.id == 'melvorD:Herb' then
html:tag('th'):attr("colspan", 2):wikitext("Herb")
html:tag('th'):attr("colspan", 2):wikitext("Produce")
:tag('th'):wikitext('Herb Value')
:tag('th'):wikitext('Produce<br>Value')
elseif category.id == 'melvorD:Tree' then
elseif category.id == 'melvorD:Tree' then
html:tag('th'):attr("colspan", 2):wikitext("Logs")
html:tag('th'):attr("colspan", 2):wikitext("Produce")
:tag('th'):wikitext('Log Value')
:tag('th'):wikitext('Produce<br>Value')
end
end
html = html:tag('th'):wikitext('Seed Sources')
html = html:tag('th'):wikitext('Seed Sources')
Line 754: Line 755:
html =  
html =  
html:tag('tr')
html:tag('tr')
:tag('td'):wikitext(Icons.Icon({seedItem.name, type='item', size='50', notext=true}))
:tag('td'):wikitext(Icons.Icon({seedItem.name, type='item', notext=true}))
:tag('td'):wikitext(Icons.getExpansionIcon(seedItem.id) .. Icons.Icon({seedItem.name, type='item', noicon=true}))
:tag('td'):wikitext('[[' .. seedItem.name .. ']]')
:tag('td'):wikitext(reqText)
:tag('td'):wikitext(Icons.getExpansionIcon(seedItem.id))
  :css('text-align', 'center')
  :attr('data-sort-value', Icons.getExpansionID(seedItem.id))
:tag('td'):wikitext(Shared.formatnum(baseXP))
:tag('td'):wikitext(Shared.formatnum(baseXP))
:tag('td'):attr('data-sort-value', (baseInt / 1000))
:tag('td'):attr('data-sort-value', (baseInt / 1000))
Line 762: Line 765:
:tag('td'):attr('data-sort-value', seedItem.sellsFor)
:tag('td'):attr('data-sort-value', seedItem.sellsFor)
      :wikitext(Items.getValueText(seedItem))
      :wikitext(Items.getValueText(seedItem))
:tag('td'):wikitext(Icons.Icon({productItem.name, type='item', size='50', notext=true}))
:tag('td'):wikitext(Icons.Icon({productItem.name, type='item', notext=true}))
:tag('td'):wikitext(Icons.getExpansionIcon(productItem.id) .. Icons.Icon({productItem.name, type='item', noicon=true}))
:tag('td'):wikitext(Icons.getExpansionIcon(productItem.id) .. Icons.Icon({productItem.name, type='item', noicon=true}))


2,874

edits