- 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
Line 34:
Line 34:
+
+
+
+
+
+
+
+
Line 54:
Line 62:
− +
no edit summary
return ship
return ship
end
end
end
function Ship:process_ship_key_as_reference(reference, base)
name, model = self:process_ship_key(reference)
if not name then
name = base
end
return name, model
end
end
ship_table = {_name = name, _suffix = model}
ship_table = {_name = name, _suffix = model}
elseif type(ship_table) == "string" then
elseif type(ship_table) == "string" then
ship_table = self:get_table(self:process_ship_key(ship_table))
ship_table = self:get_table(self:process_ship_key_as_reference(ship_table, name))
end
end
--require failed
--require failed