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 20:09, 26 January 2019
3 bytes added
,
5 years ago
m
no edit summary
Line 76:
Line 76:
end
end
if not ship_form_table then
if not ship_form_table then
+
local id = tonumber(name)
ship_form_table = {
ship_form_table = {
−
_name =
type(name) == 'string'
and name or nil,
+
_name =
not id
and name or nil,
−
_api_id = type(name)
=
= 'number'
and
name
or nil,
+
_suffix
=
not id
and
model
or nil,
−
_suffix
=
model
,
+
_api_id
=
id or nil
,
_dummy = true
_dummy = true
}
}
がか
cssedit, gkautomate
7,064
edits