• 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
no edit summary
Line 179: Line 179:     
for _, stars in ipairs(item:improvement_brackets(product)) do
 
for _, stars in ipairs(item:improvement_brackets(product)) do
table.insert(result, {item = item, classes = self._custom_rows[item:name()].row.classes, product = product, stars = stars, ships = ships, ship_data = ship_data, ship_names = ship_names, initials = initials, availability = availability, resources = item:improvement_resources(false, product, stars), resources_x = item:improvement_resources(true, product, stars)})
+
table.insert(result, {item = item, classes = self._single_item and {} or self._custom_rows[item:name()].row.classes, product = product, stars = stars, ships = ships, ship_data = ship_data, ship_names = ship_names, initials = initials, availability = availability, resources = item:improvement_resources(false, product, stars), resources_x = item:improvement_resources(true, product, stars)})
 
end
 
end
 
end
 
end
 
else
 
else
table.insert(result, {item = item, classes = self._custom_rows[item:name()].row.classes})
+
table.insert(result, {item = item, classes = self._single_item and {} or self._custom_rows[item:name()].row.classes})
 
end
 
end
 
else
 
else
Line 376: Line 376:  
if not available then
 
if not available then
 
bg_color = self._unavailable_color
 
bg_color = self._unavailable_color
else
+
elseif not self._single_item then
 
row_data.classes[day_of_week_class] = true
 
row_data.classes[day_of_week_class] = true
 
end
 
end
Line 406: Line 406:     
function ImprovementTableKai:row(row_data)
 
function ImprovementTableKai:row(row_data)
--Thi
+
--This gets rendered in start_rows()
 
return {classes = row_data.classes}
 
return {classes = row_data.classes}
 
end
 
end
Anonymous user

Navigation menu