• 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 48: Line 48:     
local node_types = {
 
local node_types = {
     ["Normal"] = true,
+
     ["Normal"] = false,
     ["Boss"] = true,
+
     ["Boss"] = false,
     ["Resource"] = false,
+
     ["Resource"] = true,
     ["Storm"] = false,
+
     ["Storm"] = true,
     ["Empty"] = false,
+
     ["Empty"] = true,
     ["Select"] = false,
+
     ["Select"] = true,
     ["Night"] = true,
+
     ["Night"] = false,
     ["Aerial"] = true,
+
     ["Aerial"] = false,
     ["Defense"] = false,
+
     ["Defense"] = true,
     ["Raid"] = true,
+
     ["Raid"] = false,
 
}
 
}
   Line 72: Line 72:  
     local node = args[1] or "?"
 
     local node = args[1] or "?"
 
     local diff = diffs[args.diff] and args.diff
 
     local diff = diffs[args.diff] and args.diff
     local name = ": "+args.name or ""
+
     local name = [[: "${args.name}]] or "?"
    
     local map_number = string.match(map:sub(3, 4), "%d") or "?"
 
     local map_number = string.match(map:sub(3, 4), "%d") or "?"
Line 78: Line 78:  
      
 
      
 
     return diff and format{
 
     return diff and format{
         node_types[args[2]] and title_template_simple_event or title_template_event,
+
         node_types[args[2]] == true and title_template_simple_event or title_template_event,
 
         map = map,
 
         map = map,
 
         node = node,
 
         node = node,
Line 87: Line 87:  
         diff_number = diff_number,
 
         diff_number = diff_number,
 
     } or format{
 
     } or format{
         node_types[args[2]] and title_template_simple or title_template,
+
         node_types[args[2]] == true and title_template_simple or title_template,
 
         map = map,
 
         map = map,
 
         node = node,
 
         node = node,
cssedit, prechecked
1,656

edits

Navigation menu