Module:Shop: Difference between revisions

m
_getShopTable: Top tier solution to <math> not working as expected
(_getShopTable: Overhaul to allow for greater control over output format; getShopSkillcapeTable: Use _getShopTable; getShopMiscUpgradeTable: Initial implementation)
m (_getShopTable: Top tier solution to <math> not working as expected)
Line 143: Line 143:
   -- Various overrides for certain shop items
   -- Various overrides for certain shop items
   local purchOverrides = {
   local purchOverrides = {
     ["Extra Bank Slot"] = { icon = {'Bank Slot', 'upgrade'}, link = 'Bank Slot', cost = Icons.Icon({'Coins', size = 25, notext = true}) .. ' <math>C_b</math>*' },
     ["Extra Bank Slot"] = { icon = {'Bank Slot', 'upgrade'}, link = 'Bank Slot', cost = Icons.Icon({'Coins', size = 25, notext = true}) .. ' <span style="font-size:127%; font-family: MathJax_Math; font-style: italic;">C<sub>b</sub></span>*' },
     -- Golbin Raid items
     -- Golbin Raid items
     ["Reduce Wave Skip Cost"] = { icon = {'Melvor Logo', nil}, link = nil },
     ["Reduce Wave Skip Cost"] = { icon = {'Melvor Logo', nil}, link = nil },