Changes

no edit summary
Line 104: Line 104:  
     slots = function(ship)
 
     slots = function(ship)
 
         return format_lua(U.imap(ship._equipment or {}, function (e) return e and e.size or '?' end))
 
         return format_lua(U.imap(ship._equipment or {}, function (e) return e and e.size or '?' end))
 +
    end,
 +
   
 +
    equipment = function(ship)
 +
        return U.ijoin(U.imap(ship._equipment or {}, function (e)
 +
            return e and e.equipment and Equipment(e.equipment):icon() or '?'
 +
        end), '')
 
     end,
 
     end,
  
cssedit, gkautomate
6,928

edits