Anonymous

Module:Skills/Artisan/Sandbox: Difference between revisions

From Melvor Idle
no edit summary
(Created page with "--Splitting some functions into here to avoid bloating a single file --Contains function for skills that consume resources (ie smithing, cooking, herblore, etc.) local p = {} local Shared = require('Module:Shared') local Common = require('Module:Common') local GameData = require('Module:GameData') local SkillData = GameData.skillData local Modifiers = require('Module:Modifiers') local Skills = require('Module:Skills') local Items = require('Module:Items') local Icons =...")
 
No edit summary
Line 188: Line 188:
row :tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true}))
row :tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true}))
      :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]')
      :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]')
:tag('td'):wikitext(Items.getValueText(tierPot))
--:tag('td'):wikitext(Items.getValueText(tierPot))
  :css('text-align', 'right')
--   :css('text-align', 'right')
  :attr('data-sort-value', tierPot.sellsFor)
--   :attr('data-sort-value', tierPot.sellsFor)
:tag('td'):wikitext(tierPot.charges)
:tag('td'):wikitext(tierPot.charges)
  :css('text-align', 'right')
  :css('text-align', 'right')
2,875

edits