• 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 184: Line 184:  
     j = j or 1
 
     j = j or 1
 
     local forms = { { name = ship_name, normal = true, damaged = true } }
 
     local forms = { { name = ship_name, normal = true, damaged = true } }
    if j > 1 then
  −
        forms[1].name_changed = true
  −
    end
   
     local success, ship_data = Utils.requireModule(ship_name)
 
     local success, ship_data = Utils.requireModule(ship_name)
 
     if not success then
 
     if not success then
Line 238: Line 235:  
             local name, suffix = Ship:process_ship_key(form.name)
 
             local name, suffix = Ship:process_ship_key(form.name)
 
             suffix = suffix or ""
 
             suffix = suffix or ""
             if form.name_changed then
+
             table.insert(result, "{{!}}-{{!}}" .. (suffix == "" and form.name or suffix) .. "=")
                table.insert(result, "{{!}}-{{!}}" .. form.name .. "=")
  −
            else
  −
                table.insert(result, suffix == "" and "{{!}}-{{!}}Base=" or ("{{!}}-{{!}}" .. suffix .. "="))
  −
            end
   
             if form.normal and form.damaged then
 
             if form.normal and form.damaged then
 
                 local image = ShipGraphicKai:Asset({ form.name, link = "nil", size = "300px" })
 
                 local image = ShipGraphicKai:Asset({ form.name, link = "nil", size = "300px" })
cssedit, gkautomate
7,064

edits

Navigation menu