Module:Inventory: Difference between revisions

157 bytes added ,  00:18, 27 January 2023
Account for special case (K-Goninon)
(try to fix food not working)
(Account for special case (K-Goninon))
Line 96: Line 96:
                     :addClass('qud-inv-poptable-icon')
                     :addClass('qud-inv-poptable-icon')
                     :wikitext('?'))
                     :wikitext('?'))
              :node(mw.html.create('span')
  if objname == 'AnyRandomItemBlueprint' then
                    :wikitext(descprefix .. '[[Population:' .. wikipagename .. '|' .. objname .. ']]'))
    favilinkhtml:node(mw.html.create('span')
                    :wikitext('Any random item'))
  else
    favilinkhtml:node(mw.html.create('span')
                    :wikitext(descprefix .. '[[Population:' .. wikipagename .. '|' .. objname .. ']]'))
  end
end
end