- 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
Line 19:
Line 19:
− +
Line 32:
Line 32:
− +
Line 41:
Line 41:
+
Line 98:
Line 99:
− +
− +
Line 138:
Line 139:
+
+
+
+
+
no edit summary
! style="width: 30px; text-align: center; vertical-align: middle; background-color: #F2E279;" | ${armor}
! style="width: 30px; text-align: center; vertical-align: middle; background-color: #F2E279;" | ${armor}
! style="width: 30px; text-align: center; vertical-align: middle; background-color: violet;" | ${evasion}
! style="width: 30px; text-align: center; vertical-align: middle; background-color: violet;" | ${evasion}
! style="text-align: center; vertical-align: middle;" | Equipment
! style="text-align: center; vertical-align: middle;" | Armament
! style="text-align:left;" | Notes]],
! style="text-align:left;" | Notes]],
_columns = {
_columns = {
"armor",
"armor",
"evasion",
"evasion",
"equipment",
"armament",
"notes",
"notes",
},
},
_installation_label = "Installation",
_installation_label = "Installation",
_air_power_template = "${air_power} Air Power",
_air_power_template = "${air_power} Air Power",
_night_bombing_label = "Night Bombing",
_asw_label = "ASW",
_asw_label = "ASW",
_high_asw_label = "High ASW",
_high_asw_label = "High ASW",
end
end
function EnemyShipListKai:equipment(ship)
function EnemyShipListKai:armament(ship)
local icons, roles = {}, {}
local icons, roles = {}, {}
local sonar, dc = false, false
local sonar, dc, air_power = false, false, false
for i = 1, ship:slots_length() do
for i = 1, ship:slots_length() do
if air_power then
if air_power then
table.insert(roles, format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())})
table.insert(roles, format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())})
end
if ShipCapabilities:_is_aviation_ship(ship) then
if ship:night_bombing() then
table.insert(roles, self._night_bombing_label)
end
end
end
if sonar or dc then
if sonar or dc then