- 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 40:
Line 40:
+
Line 101:
Line 102:
− +
Line 134:
Line 135:
− else +
− if midget_submarine then+
− table.insert(roles, self._opening_torpedo_label)
− end
no edit summary
_icon_caption_template = "${equipment} - ${equipment_type}",
_icon_caption_template = "${equipment} - ${equipment_type}",
_installation_label = "Installation",
_installation_label = "Installation",
_opening_torpedo_label = "Opening Torpedo",
_air_power_template = "${air_power} Air Power",
_air_power_template = "${air_power} Air Power",
_night_bombing_label = "Night Bombing",
_night_bombing_label = "Night Bombing",
function EnemyShipListKai:armament(ship)
function EnemyShipListKai:armament(ship)
local icons, roles = {}, {}
local icons, roles = {}, {}
local sonar, dc, air_power, midget_submarine = false, false, false
local sonar, dc, air_power, midget_submarine = false, false, false, false
for i = 1, ship:slots_length() do
for i = 1, ship:slots_length() do
table.insert(roles, self._opening_torpedo_label)
table.insert(roles, self._opening_torpedo_label)
end
end
elseif midget_submarine then
table.insert(roles, self._opening_torpedo_label)
end
end
if air_power then
if air_power then