Module:Items: Difference between revisions

Added Passive slot mention for passive items
(Bolding category names from getOtherItemBoxText)
(Added Passive slot mention for passive items)
Line 215: Line 215:
   if item.equipmentSlot ~= nil then
   if item.equipmentSlot ~= nil then
     result = result.."\r\n|-\r\n|'''Equipment Slot:''' "..p.getEquipmentSlotName(item.equipmentSlot)
     result = result.."\r\n|-\r\n|'''Equipment Slot:''' "..p.getEquipmentSlotName(item.equipmentSlot)
    if item.isPassiveItem then
      result = result..', Passive'
    end
   end
   end
   --For weapons with a special attack, show the details
   --For weapons with a special attack, show the details