• 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
Improvement product initial level support
Line 50: Line 50:  
_basic_resources_label = "Improvement Cost: ",
 
_basic_resources_label = "Improvement Cost: ",
 
_consumed_equipment_label = "<small>Consumes: ${list}</small>",
 
_consumed_equipment_label = "<small>Consumes: ${list}</small>",
_produced_equipment_label = "<b><small>Produces: 1x ${icon}${name}</small></b>",
+
_produced_equipment_label = "<b><small>Produces: 1x ${icon}${name}${stars}</small></b>",
 +
_produced_equipment_stars_template = "★+${stars}",
 
_equipment_item = "${count}x ${icon}${name}",
 
_equipment_item = "${count}x ${icon}${name}",
 
_material_cell_content = "${normal}/${slider}",
 
_material_cell_content = "${normal}/${slider}",
Line 146: Line 147:  
if row_data.stars == self._improvement_brackets[#self._improvement_brackets] and row_data.product then
 
if row_data.stars == self._improvement_brackets[#self._improvement_brackets] and row_data.product then
 
local product = Equipment(row_data.product)
 
local product = Equipment(row_data.product)
table.insert(result, format{self._produced_equipment_label, icon = Formatting:format_image{Formatting:format_equipment_icon_simple(product:icon()), size = self._small_icon_size}, name = Formatting:format_link(product:link())})
+
local stars = row_data.item:improvement_product_initial_level(row_data.product)
 +
table.insert(result, format{self._produced_equipment_label,  
 +
icon = Formatting:format_image{Formatting:format_equipment_icon_simple(product:icon()), size = self._small_icon_size},  
 +
name = Formatting:format_link(product:link()),
 +
stars = stars and format{self._produced_equipment_stars_template, stars = stars} or ""
 +
})
 
end
 
end
 
if #result > 0 then
 
if #result > 0 then
Anonymous user

Navigation menu