• 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 782: Line 782:     
Formatting.format_equipment_compatibility = Formatting:create_formatter({
 
Formatting.format_equipment_compatibility = Formatting:create_formatter({
[0] = "whitesmoke",
+
[0] = "whitesmoke", -- false
[1] = "#73ff4d",
+
[1] = "#73ff4d", -- true
[2] = "#ffff40",
+
[2] = "#ffff40", -- only
 +
[3] = "#ddffbb", -- except
 
}, "transparent")
 
}, "transparent")
   Line 814: Line 815:     
function Formatting:format_ship_compatibility(compatibility_table)
 
function Formatting:format_ship_compatibility(compatibility_table)
if compatibility_table[3] == compatibility_table[4] then
+
--[=[ if compatibility_table[3] == compatibility_table[4] then
 
compatibility_table[3] = {value = compatibility_table[3], code = "CL(T)"}
 
compatibility_table[3] = {value = compatibility_table[3], code = "CL(T)"}
 
compatibility_table[4] = false
 
compatibility_table[4] = false
Line 837: Line 838:  
compatibility_table[13] = {value = compatibility_table[13], code = "SS(V)"}
 
compatibility_table[13] = {value = compatibility_table[13], code = "SS(V)"}
 
compatibility_table[14] = false
 
compatibility_table[14] = false
end
+
end]=]--
 
compatibility_table[12] = false
 
compatibility_table[12] = false
 
compatibility_table[15] = false
 
compatibility_table[15] = false
Line 851: Line 852:  
elseif value == 1 then
 
elseif value == 1 then
 
table.insert(compatible, ship_code)
 
table.insert(compatible, ship_code)
elseif value == 2 then
+
elseif value == 2 or value == 3 then
 
complex = true
 
complex = true
 
table.insert(compatible, string.format("%s (%s)", ship_code, note))
 
table.insert(compatible, string.format("%s (%s)", ship_code, note))
cssedit, gkautomate
6,928

edits

Navigation menu