• 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 40: Line 40:  
_icon_caption_template = "${equipment} | ${equipment_type}",
 
_icon_caption_template = "${equipment} | ${equipment_type}",
 
_installation_label = "Installation",
 
_installation_label = "Installation",
 +
_air_power_template = "${air_power} Air Power",
 
_asw_label = "ASW",
 
_asw_label = "ASW",
 
_high_asw_label = "High ASW",
 
_high_asw_label = "High ASW",
Line 106: Line 107:  
icon = equipment:icon()
 
icon = equipment:icon()
 
equipment_type = equipment:type()
 
equipment_type = equipment:type()
if ShipCapabilities:_is_sonar(equipment) then
+
if ShipCapabilities:_is_air_power_plane(equipment) then
 +
air_power = true
 +
elseif ShipCapabilities:_is_sonar(equipment) then
 
sonar = true
 
sonar = true
 
elseif ShipCapabilities:_is_depth_charge(equipment) then
 
elseif ShipCapabilities:_is_depth_charge(equipment) then
Line 132: Line 135:  
table.insert(roles, self._opening_torpedo_label)
 
table.insert(roles, self._opening_torpedo_label)
 
end
 
end
 +
end
 +
if air_power then
 +
table.insert(roles, format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())})
 
end
 
end
 
if sonar or dc then
 
if sonar or dc then
Anonymous user

Navigation menu