Module:Items: Difference between revisions

51 bytes removed ,  29 September 2020
getCreationTable now uses the Icons.SkillReq function
(Added type & category categories)
(getCreationTable now uses the Icons.SkillReq function)
Line 307: Line 307:
   end
   end
   result = result..'\r\n|-\r\n!style="text-align: right;"|Requirements'
   result = result..'\r\n|-\r\n!style="text-align: right;"|Requirements'
   result = result..'\r\n|'..Icons.Icon({skill, type="skill", notext="true"}).." '''"..lvl.."''' [["..skill.."]]"
   result = result..'\r\n|'..Icons._SkillReq(skill, lvl, true)
   if specialReq ~= nil then result = result..'<br/>'..specialReq end
   if specialReq ~= nil then result = result..'<br/>'..specialReq end