Changes
mLine 50:
Line 50:
+
Line 155:
Line 156:
− table.insert(roles, format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())})+
+
+
+
+
try to add estimation label
_asw_label = "ASW",
_asw_label = "ASW",
_high_asw_label = "High ASW",
_high_asw_label = "High ASW",
_estimation_label = "Estimation",
}
}
end
end
if air_power then
if air_power then
local ap_text = format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())}
if ship:air_power_estimation() then
ap_text = Formatting:tooltip(ap_text, self._estimation_label)
end
table.insert(roles, ap_text)
end
end
if ShipCapabilities:_is_night_bombing(ship) then
if ShipCapabilities:_is_night_bombing(ship) then