Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 07:14, 9 April 2015
15 bytes added
,
9 years ago
m
no edit summary
Line 81:
Line 81:
return item_key
return item_key
else
else
−
ship_name = mw.ustring.sub(item_key, 1, split - 1)
+
local
ship_name = mw.ustring.sub(item_key, 1, split - 1)
local ship_suffix_and_los = mw.ustring.sub(item_key, split + 1, -1)
local ship_suffix_and_los = mw.ustring.sub(item_key, split + 1, -1)
−
ship_suffix = mw.ustring.sub(ship_suffix_and_los, mw.ustring.find(ship_suffix_and_los, '/') - 1)
+
local
ship_suffix = mw.ustring.sub(ship_suffix_and_los
, 1
, mw.ustring.find(ship_suffix_and_los, '/') - 1)
if ship_suffix == "Regular" then
if ship_suffix == "Regular" then
ship_suffix = nil
ship_suffix = nil
Nanamin
48
edits