Changes
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