• 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 165: Line 165:  
     table.insert(self._rows, self._row_starter)
 
     table.insert(self._rows, self._row_starter)
 
     self:insert_extra(content)
 
     self:insert_extra(content)
 +
    if self._args["difficulty"] then
 +
        self:insert_extra("Difficulty Chosen: " .. self._args["difficulty"])
 +
    end
 +
    if self._args["drops"] then
 +
        local drops = Functions.split(self._args["drops"])
 +
        content = "Notable Drops<br />"
 +
        for i = 1, #drops do
 +
            local ship = Ship(drops[i], "")
 +
            local card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
 +
            content = content .. card .. " "
 +
            if i % 4 == 0 then
 +
                content = mw.ustring.sub(content, 1, -2) .. "<br />"
 +
            end
 +
        end
 +
        self:insert_extra(content)
 +
    end
 
end
 
end
  
48

edits

Navigation menu