17,030
edits
(Updated everything for 0.21 (we hope)) |
(_getOtherItemBoxText: Correct equipment slot code) |
||
Line 278: | Line 278: | ||
result = '' | result = '' | ||
--For equipment, show the slot they go in | --For equipment, show the slot they go in | ||
if item. | if item.validSlots ~= nil then | ||
result = result.."\r\n|-\r\n|'''Equipment Slot:''' ".. | result = result.."\r\n|-\r\n|'''Equipment Slot:''' "..table.concat(item.validSlots, ', ') | ||
end | end | ||
--For weapons with a special attack, show the details | --For weapons with a special attack, show the details |