Changes

no edit summary
Line 145: Line 145:  
             return obj.icon and ([[<span data-sort-value="]] .. obj._type .. [=[">[[File:]=] .. Formatting:format_equipment_icon(obj:icon()) .. "]]</span>") or ''
 
             return obj.icon and ([[<span data-sort-value="]] .. obj._type .. [=[">[[File:]=] .. Formatting:format_equipment_icon(obj:icon()) .. "]]</span>") or ''
 
         end
 
         end
 +
    end,
 +
 +
    icon_damaged = function(obj)
 +
        return string.format("[[File:Ship Icon %s Damaged.png|100px]]", obj:name())
 
     end,
 
     end,
  
7,212

edits