• 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
taiyou hax
Line 72: Line 72:  
     ["Due"] = "Due",
 
     ["Due"] = "Due",
 
     ["Carrier Kai Ni"] = "CarrierKai2",
 
     ["Carrier Kai Ni"] = "CarrierKai2",
 +
    ["Taiyou"] = "Taiyou",
 +
    ["Taiyou Kai"] = "TaiyouKai",
 +
    ["Taiyou Kai Ni"] = "TaiyouKai2",
 
}
 
}
   Line 88: Line 91:  
local complete = true
 
local complete = true
   −
function insertRow(result, remodel, args, line, count)
+
function insertRow(result, remodel, args, line, count, use_suffix)
    
     local ship = args.ship:gsub(" ", "")
 
     local ship = args.ship:gsub(" ", "")
 +
    local suffix = audio_suffixes[remodel] or ""
    
     local remodel_string = remodel and "/" .. remodel or ""
 
     local remodel_string = remodel and "/" .. remodel or ""
Line 132: Line 136:  
                 audio_file = format{
 
                 audio_file = format{
 
                     templates.audio_file,
 
                     templates.audio_file,
                     ship = ship,
+
                     ship = use_suffix and suffix or ship,
                     suffix = audio_suffixes[remodel] or "",
+
                     suffix = use_suffix and "" or suffix,
 
                     line = same or line.name,
 
                     line = same or line.name,
 
                 },
 
                 },
Line 166: Line 170:  
         added = added + insertRow(result, "Carrier Kai Ni", args.explicit, line, added)
 
         added = added + insertRow(result, "Carrier Kai Ni", args.explicit, line, added)
 
         added = added + insertRow(result, "Due", args.explicit, line, added)
 
         added = added + insertRow(result, "Due", args.explicit, line, added)
 +
        added = added + insertRow(result, "Taiyou", args.explicit, line, added, true)
 +
        added = added + insertRow(result, "Taiyou Kai", args.explicit, line, added, true)
 +
        added = added + insertRow(result, "Taiyou Kai Ni", args.explicit, line, added, true)
 
         if line.note and added > 0 then
 
         if line.note and added > 0 then
 
             table.insert(result, format{templates.note, note = line.note})
 
             table.insert(result, format{templates.note, note = line.note})
cssedit, gkautomate
7,064

edits

Navigation menu