• 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
Formatting
Line 45: Line 45:  
},
 
},
 
_consumed_equipment_label = "<small>Consumes: ${list}</small>",
 
_consumed_equipment_label = "<small>Consumes: ${list}</small>",
_produced_equipment_label = "<small>Produces: 1x ${icon}${name}</small>",
+
_produced_equipment_label = "<b><small>Produces: 1x ${icon}${name}</small></b>",
 
_equipment_item = "${count}x ${icon}${name}",
 
_equipment_item = "${count}x ${icon}${name}",
 
_material_cell_content = "${normal}/${slider}",
 
_material_cell_content = "${normal}/${slider}",
 
_unavailable_color = "#f99",
 
_unavailable_color = "#f99",
 
_available_color = "#aaebaa",
 
_available_color = "#aaebaa",
 +
_small_icon_size = "24x24px",
 
}
 
}
   Line 90: Line 91:  
for equip, count in pairs(consumed_equipment_table) do
 
for equip, count in pairs(consumed_equipment_table) do
 
local equipment = equip ~= true and Equipment(equip) or row_data.item
 
local equipment = equip ~= true and Equipment(equip) or row_data.item
table.insert(consumed_equipment, format{self._equipment_item, count = count, icon = Formatting:format_image{Formatting:format_equipment_icon_simple(equipment:icon())}, name = Formatting:format_link(equipment:link())})
+
table.insert(consumed_equipment, format{self._equipment_item, count = count, icon = Formatting:format_image{Formatting:format_equipment_icon_simple(equipment:icon()), size = self._small_icon_size}, name = Formatting:format_link(equipment:link())})
 
end
 
end
 
if #consumed_equipment > 0 then
 
if #consumed_equipment > 0 then
Line 97: Line 98:  
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())}, name = Formatting:format_link(product:link())})
+
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())})
 
end
 
end
 
if #result > 0 then
 
if #result > 0 then
Anonymous user

Navigation menu