Changes

m
no edit summary
Line 360: Line 360:     
function EquipmentInfoKai:bonus_details()
 
function EquipmentInfoKai:bonus_details()
 +
    --[=[
 
     local result = { format{self._bonus_header, category = U.category("Equipment with stat bonuses") } }
 
     local result = { format{self._bonus_header, category = U.category("Equipment with stat bonuses") } }
 
     for _, ship in ipairs(U.isort(U.keys(self._equipment._bonus or {}))) do
 
     for _, ship in ipairs(U.isort(U.keys(self._equipment._bonus or {}))) do
Line 409: Line 410:  
         prevText = text
 
         prevText = text
 
     end
 
     end
     self._vars.bonus_details = #result > 1 and ("\n" .. table.concat(result, "\n")) or ""
+
    ]=]--
 +
     self._vars.bonus_details = "" -- #result > 1 and ("\n" .. table.concat(result, "\n")) or ""
 
end
 
end
  
cssedit, gkautomate
7,064

edits