Changes

no edit summary
Line 57: Line 57:  
local function render(frame)
 
local function render(frame)
 
local shipClass = frame.args['shipClass']
 
local shipClass = frame.args['shipClass']
local remodelSuffix = U.split(frame.args['remodelSuffix'], ',\n')
+
local remodelSuffix = U.split(frame.args['remodelSuffix'], ',')
local notes = U.split(frame.args['notes'], ',\n')
+
local notes = U.split(frame.args['notes'], ',')
local coloring = U.split(frame.args['coloring'], ',\n')
+
local coloring = U.split(frame.args['coloring'], ',')
 
 
 
return generateTable(shipClass, remodelSuffix, notes, coloring)
 
return generateTable(shipClass, remodelSuffix, notes, coloring)
Line 65: Line 65:     
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"}))
 
 
 
local frame = {}
 
local frame = {}
1,031

edits