• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Support for specifying cell value highlight ranges
Line 15: Line 15:  
end
 
end
 
end
 
end
return EliteShipsKai:Table(ships)
+
local ranges = {}
 +
for _, column in ipairs(EliteShipsKai._columns) do
 +
local outstanding = args[column .. EliteShipsKai._outstanding_suffix]
 +
local good = args[column .. EliteShipsKai._good_suffix]
 +
if outstanding and good then
 +
local operator = args[column .. EliteShipsKai._operator_suffix] or ">"
 +
ranges[column] = {}
 +
ranges[column].operator = operator
 +
ranges[column].outstanding = outstanding
 +
ranges[column].good = good
 +
end
 +
end
 +
return EliteShipsKai:Table(ships, ranges)
 
end
 
end
    
return EliteShips
 
return EliteShips
Anonymous user

Navigation menu