Anonymous

Module:Items: Difference between revisions

From Melvor Idle
Added Prayer Points to other item box text
(Added some categories)
(Added Prayer Points to other item box text)
Line 430: Line 430:
   if item.healsFor ~= nil then
   if item.healsFor ~= nil then
     result = result..'\r\n|-\r\n|Heals for: '..Icons.Icon({"Hitpoints", type="skill", notext="true"})..' '..(item.healsFor * 10)
     result = result..'\r\n|-\r\n|Heals for: '..Icons.Icon({"Hitpoints", type="skill", notext="true"})..' '..(item.healsFor * 10)
  end
  --For Prayer Points, show how many you get
  if item.prayerPoints ~= nil then
    result = result..'\r\n|-\r\nPrayer Points: '..item.prayerPoints
   end
   end
   return result
   return result