• 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
add quest availability
Line 61: Line 61:  
_event_map_name_template = "${year} ${quarter} E-${map}",
 
_event_map_name_template = "${year} ${quarter} E-${map}",
 
_date_template = "${year}/${month:2}/${day:2}",
 
_date_template = "${year}/${month:2}/${day:2}",
 +
_quest_link = "[[Quests#${label}|${label}]]",
 
_all_nodes_symbol = "*",
 
_all_nodes_symbol = "*",
 
_max_drops_before_collapsible = 6,
 
_max_drops_before_collapsible = 6,
Line 145: Line 146:  
if buildable then
 
if buildable then
 
table.insert(result, self._buildable_label .. format{self._details_template, details = table.concat(buildable, ", ")})
 
table.insert(result, self._buildable_label .. format{self._details_template, details = table.concat(buildable, ", ")})
 +
end
 +
if availability.quest then
 +
        table.insert(result, U.ijoin(U.imap(availability.quest, function(label) return format{self._quest_link, label = label} end), ", "))
 
end
 
end
 
for _, method in ipairs(availability or {}) do
 
for _, method in ipairs(availability or {}) do
cssedit, gkautomate
7,064

edits

Navigation menu