• 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 44: Line 44:  
 
 
for k, v in pairs(notes) do
 
for k, v in pairs(notes) do
table.insert(result, v)
+
table.insert(result, string.format(template.item, v))
 
end
 
end
 
 
 
for k, v in pairs(coloring) do
 
for k, v in pairs(coloring) do
table.insert(result, v)
+
table.insert(result, string.format(template.item, v))
 
end
 
end
   Line 66: Line 66:  
local function test()
 
local function test()
 
mw.log(generateTable("Destroyer", {"B Kai", "D Kai", "Mk.II", "Zwei"},
 
mw.log(generateTable("Destroyer", {"B Kai", "D Kai", "Mk.II", "Zwei"},
{"|Mikazuki/Kai_notes = Can equip [[Daihatsu Landing Craft|Daihatsu]]",
+
{"Mikazuki/Kai_notes = Can equip [[Daihatsu Landing Craft|Daihatsu]]",
"|Mutsuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]]",
+
"Mutsuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]]",
"|Kisaragi/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]]",
+
"Kisaragi/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]]",
"|Satsuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]] & [[Special Type 2 Amphibious Landing Craft|Type 2 Landing Craft]]",
+
"Satsuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]] & [[Special Type 2 Amphibious Landing Craft|Type 2 Landing Craft]]",
"|Fumizuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]] & [[Special Type 2 Amphibious Landing Craft|Type 2 Landing Craft]]"},
+
"Fumizuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]] & [[Special Type 2 Amphibious Landing Craft|Type 2 Landing Craft]]"},
{"|remodel_level_good = 20",
+
{"remodel_level_good = 20",
"|remodel_level_outstanding = 15",
+
"remodel_level_outstanding = 15",
"|remodel_level_operator = <",
+
"remodel_level_operator = <",
"|firepower_good = 56",
+
"firepower_good = 56",
"|firepower_outstanding = 61",
+
"firepower_outstanding = 61",
"|torpedo_good = 83",
+
"torpedo_good = 83",
"|torpedo_outstanding = 89",
+
"torpedo_outstanding = 89",
"|night_battle = true",
+
"night_battle = true",
"|night_battle_good = 140",
+
"night_battle_good = 140",
"|night_battle_outstanding = 150",
+
"night_battle_outstanding = 150",
"|aa_good = 64",
+
"aa_good = 64",
"|aa_outstanding = 74",
+
"aa_outstanding = 74",
"|asw_good = 67",
+
"asw_good = 67",
"|asw_outstanding = 73",
+
"asw_outstanding = 73",
"|los_good = 42",
+
"los_good = 42",
"|los_outstanding = 49",
+
"los_outstanding = 49",
"|hp_good = 34",
+
"hp_good = 34",
"|hp_outstanding = 36",
+
"hp_outstanding = 36",
"|armor_good = 50",
+
"armor_good = 50",
"|armor_outstanding = 58",
+
"armor_outstanding = 58",
"|evasion_good = 92",
+
"evasion_good = 92",
"|evasion_outstanding = 98",
+
"evasion_outstanding = 98",
"|aircraft_good = 1",
+
"aircraft_good = 1",
"|aircraft_outstanding = 1",
+
"aircraft_outstanding = 1",
"|aircraft_slot_good = 1",
+
"aircraft_slot_good = 1",
"|luck_good = 19",
+
"luck_good = 19",
"|luck_outstanding = 30",
+
"luck_outstanding = 30",
"|luck_max_good = 80",
+
"luck_max_good = 80",
"|fuel_operator=<",
+
"fuel_operator=<",
"|ammo_good = 20",
+
"ammo_good = 20",
"|ammo_outstanding = 20",
+
"ammo_outstanding = 20",
"|ammo_operator = <",
+
"ammo_operator = <",
"|reference_type = 2"}))
+
"reference_type = 2"}))
 
end
 
end
  
1,031

edits

Navigation menu