Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Ship
(view source)
Revision as of 22:17, 15 November 2017
264 bytes added
,
7 years ago
m
no edit summary
Line 61:
Line 61:
ship_form_table = ship_table[model]
ship_form_table = ship_table[model]
if not ship_form_table and ship_table.seasonals then
if not ship_form_table and ship_table.seasonals then
−
ship_form_table = ship_table.seasonals[model] or U.ifindBy(ship_table.seasonals, function(data) return data._suffix == model end)
+
ship_form_table = ship_table.seasonals[model] or U.ifindBy(
+
ship_table.seasonals,
+
function(data)
+
return data._suffix == model
and (not data._name or data._name == name)
+
end
+
)
+
if ship_form_table and type(ship_form_table
)
~= "string" then
+
ship_form_table._seasonal = true
+
end
end
end
if type(ship_form_table) == "string" then
if type(ship_form_table) == "string" then
がか
cssedit, gkautomate
7,064
edits