• 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 16: Line 16:  
|-
 
|-
 
| colspan="2" style="text-align: center; background-color: whitesmoke;" |
 
| colspan="2" style="text-align: center; background-color: whitesmoke;" |
<div>${icon} <b>${eq_type}</b></div>
+
${icon} <b>${eq_type}</b><br />
<p><b>Effects: ${effects}</b></p>
+
<b>Effects: ${effects}</b><br />
<div>${buildable}</div>
+
'''Scrap value: ${scrap}''' (${buildable})${alternative_names}  
'''Scrap value: ${scrap}'''${alternative_names}
   
|-  
 
|-  
 
| colspan="2" style="text-align: center;" | ${card}
 
| colspan="2" style="text-align: center;" | ${card}
Line 239: Line 238:  
table.insert(result, self._row_starter)
 
table.insert(result, self._row_starter)
 
end
 
end
local compatibility, note = self._equipment:equippable(ship_type)
+
local compatibility, note, ship_label
local ship_label = Formatting:format_ship_type(ship_type)
+
if ship_type then
if note then
+
compatibility, note = self._equipment:equippable(ship_type)
ship_label = Formatting:tooltip(ship_label, note)
+
ship_label = Formatting:format_ship_type(ship_type)-- + " " + Formatting:format_equipment_compatibility_symbol(compatibility)
end
+
if note then
 +
ship_label = Formatting:tooltip(ship_label, note)
 +
end
 +
else
 +
ship_label = Formatting:format_ship_type(ship_type)
 +
end  
 
table.insert(result, format{self._compatibility_cell, bg_color = Formatting:format_equipment_compatibility(compatibility), label = ship_label})
 
table.insert(result, format{self._compatibility_cell, bg_color = Formatting:format_equipment_compatibility(compatibility), label = ship_label})
 +
--table.insert(result, format{self._compatibility_cell, bg_color = Formatting:format_equipment_compatibility_color(compatibility), label = ship_label})
 
end
 
end
 
self._vars.compatibility_details = table.concat(result, "\n")
 
self._vars.compatibility_details = table.concat(result, "\n")
Anonymous user

Navigation menu