Changes
no edit summary
|-
|-
| colspan="2" style="text-align: center; background-color: whitesmoke;" |
| colspan="2" style="text-align: center; background-color: whitesmoke;" |
${icon} <b>${eq_type}</b><br />
<b>Effects: ${effects}</b><br />
'''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}
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
if ship_type then
compatibility, note = self._equipment:equippable(ship_type)
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")