• 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
m
no edit summary
Line 12: Line 12:  
     !AS]],
 
     !AS]],
 
     _column_cell_templates = {
 
     _column_cell_templates = {
         node = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: center; color: ${color};" |${values.node} ${values.time}]],
+
         node = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: center; color: ${color};" |${values.node} <span style="color: ${time_color};">${values.time}</span>]],
 
         formation = [[| style="background-color: ${bg_color}" |${values.formation}]],
 
         formation = [[| style="background-color: ${bg_color}" |${values.formation}]],
 
         fleet = [[| style="background-color: ${bg_color}" |${values.fleet}]],
 
         fleet = [[| style="background-color: ${bg_color}" |${values.fleet}]],
Line 29: Line 29:  
         "as",
 
         "as",
 
     },
 
     },
     _day_battle_color = "yellow",
+
     _day_battle_color = "gold",
 
     _night_battle_color = "purple",
 
     _night_battle_color = "purple",
 
     _boss_battle_color = "red",
 
     _boss_battle_color = "red",
Line 35: Line 35:     
function NodeInfo:node(row)
 
function NodeInfo:node(row)
     local color = "initial"
+
     local color, time_color = "initial", self._day_battle_color
 
     if row.boss then
 
     if row.boss then
 
         color = self._boss_battle_color
 
         color = self._boss_battle_color
    elseif row.time == "(Day)" then
  −
        color = self._day_battle_color
  −
    elseif row.time == "(Night)" then
  −
        color = self._night_battle_color
   
     end
 
     end
     return { values = { node = row.node, time = row.time }, color = color }
+
    if row.time == "(Night)" then
 +
        time_color = self._night_battle_color
 +
    end
 +
     return { values = { node = row.node, time = row.time }, color = color, time_color = time_color }
 
end
 
end
   Line 103: Line 102:  
     
 
     
 
    node, time = self:process_node(item_key)
 
    node, time = self:process_node(item_key)
 +
    if boss then
 +
        node = node .. " (Boss Node)"
 +
    end
 
    mode = 2
 
    mode = 2
 
    elseif mode == 2 then
 
    elseif mode == 2 then
48

edits

Navigation menu