Line 140: |
Line 140: |
| | | |
| icon = function(obj) | | icon = function(obj) |
− | return obj.icon and ([[<span data-sort-value="]] .. obj._type .. [=[">[[File:]=] .. Formatting:format_equipment_icon(obj:icon()) .. "]]</span>") or '' | + | if obj.hp then |
| + | return string.format("[[File:Ship Icon %s.png]]", obj:name()) |
| + | else |
| + | return obj.icon and ([[<span data-sort-value="]] .. obj._type .. [=[">[[File:]=] .. Formatting:format_equipment_icon(obj:icon()) .. "]]</span>") or '' |
| + | end |
| end, | | end, |
| | | |