• 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 363: Line 363:  
local equipment, size, icon, color, equipment_type
 
local equipment, size, icon, color, equipment_type
 
if num_of_slots and i > num_of_slots then
 
if num_of_slots and i > num_of_slots then
equipment, size, icon, color, equipment_type = "- Locked -", "-", "", 0, false
+
equipment, size, icon, color, equipment_type = "- Locked -", false, "", 0, false
 
else
 
else
 
equipment, size = self._ship:slot(i)
 
equipment, size = self._ship:slot(i)
Line 376: Line 376:  
equipment = equipment == false and "- Unequipped -" or Formatting:format_stat(equipment)
 
equipment = equipment == false and "- Unequipped -" or Formatting:format_stat(equipment)
 
equipment_type = false
 
equipment_type = false
 +
end
 +
if size == false then
 +
equipment = Formatting:strike(equipment)
 
end
 
end
 
icon = Formatting:format_image{Formatting:format_equipment_icon(icon), caption = Formatting:format_equipment_type(equipment_type)}
 
icon = Formatting:format_image{Formatting:format_equipment_icon(icon), caption = Formatting:format_equipment_type(equipment_type)}
Line 382: Line 385:  
icon = icon,  
 
icon = icon,  
 
equipment = equipment,  
 
equipment = equipment,  
slot_size = Formatting:format_stat(size),  
+
slot_size = Formatting:format_slot_size(size),  
 
color = "whitesmoke", --Formatting:format_equipment_back(color),  
 
color = "whitesmoke", --Formatting:format_equipment_back(color),  
 
extra_style = "", --Formatting:extra_style_background_image(false, color >= 4)
 
extra_style = "", --Formatting:extra_style_background_image(false, color >= 4)
Anonymous user

Navigation menu