• 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 71: Line 71:  
| colspan="5" style="text-align: center; background-color: LightSkyBlue;"|'''Stock Equipment'''
 
| colspan="5" style="text-align: center; background-color: LightSkyBlue;"|'''Stock Equipment'''
 
| style="text-align: center; background-color: LightSkyBlue; width: 50px;" | '''Space'''
 
| style="text-align: center; background-color: LightSkyBlue; width: 50px;" | '''Space'''
 +
${slot_details}
 
|-
 
|-
${slot_details}
+
| colspan="6" style="text-align: center; background-color: LightSkyBlue;"|'''Modernization Bonus'''
 +
|-
 +
| colspan="6" style="text-align: center;"| ${modernization}
 
|}]],
 
|}]],
 
}
 
}
Line 220: Line 223:  
end
 
end
 
return table.concat(slots)
 
return table.concat(slots)
 +
end
 +
 +
function ShipInfoKai:modernization(ship)
 +
return Formatting:format_stat_bonuses(ship:modernization())
 
end
 
end
   Line 244: Line 251:  
labels[k] = Formatting:format_stat_name(k)
 
labels[k] = Formatting:format_stat_name(k)
 
end
 
end
local rarity = ship:rarity(true) or 0
   
vars.icons = icons
 
vars.icons = icons
 
vars.labels = labels
 
vars.labels = labels
Line 270: Line 276:  
vars.slots = self:slots(ship)
 
vars.slots = self:slots(ship)
 
vars.slot_details = self:slot_details(ship)
 
vars.slot_details = self:slot_details(ship)
 +
vars.modernization = self:modernization(ship)
 
return format(self._template, vars)
 
return format(self._template, vars)
 
end
 
end
    
return ShipInfoKai
 
return ShipInfoKai
Anonymous user

Navigation menu