Module:Skills/Gathering: Difference between revisions

Disable seed sources
No edit summary
(Disable seed sources)
Line 737: Line 737:
:tag('th'):wikitext('Produce<br>Value')
:tag('th'):wikitext('Produce<br>Value')
end
end
html = html:tag('th'):wikitext('Seed Sources')
--html = html:tag('th'):wikitext('Seed Sources')


table.sort(seedList, function(a, b) return Skills.standardRecipeSort(skillID, a, b) end)
table.sort(seedList, function(a, b) return Skills.standardRecipeSort(skillID, a, b) end)
Line 775: Line 775:
html:tag('td'):attr('data-sort-value', productItem.sellsFor)
html:tag('td'):attr('data-sort-value', productItem.sellsFor)
  :wikitext(Items.getValueText(productItem))
  :wikitext(Items.getValueText(productItem))
:tag('td'):wikitext(ItemSourceTables._getItemSources(seedItem))
--:tag('td'):wikitext(ItemSourceTables._getItemSources(seedItem))
  :css('text-align', 'left')
--   :css('text-align', 'left')
:done()
:done()
end
end
2,875

edits