- 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 83:
Line 83:
local value = self._dash
local value = self._dash
if self._remodel_to then
if self._remodel_to then
− value = Formatting:format_blueprint_requirement(self._remodel_to:remodel_blueprint())
+ value = Formatting:format_blueprint_requirement_simple(self._remodel_to:remodel_blueprint())
elseif self._remodel_to == nil then
elseif self._remodel_to == nil then
value = self._question_marks
value = self._question_marks
Line 139:
Line 139:
ShipRemodelListKai.process_item_key = Ship.process_item_key
ShipRemodelListKai.process_item_key = Ship.process_item_key
+
+function ShipListKai:create_header()
+ local header_icons = {
+ blueprint = ResourceIcons.blueprint,
+ fuel = ResourceIcons.fuel,
+ ammo = ResourceIcons.ammo,
+ }
+ for key, value in pairs(header_icons) do
+ header_icons[key] = Formatting:format_image{value, caption = Formatting:format_resource_name(key)}
+ end
+ self._header = format(self._header_template, header_icons)
+ self._header_bottom = format(self._header_template_bottom, header_icons)
+end
return ShipRemodelListKai
return ShipRemodelListKai