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 21:40, 9 April 2015
19 bytes added
,
9 years ago
m
no edit summary
Line 32:
Line 32:
_fighter_power = 0,
_fighter_power = 0,
_hq_lvl = 0,
_hq_lvl = 0,
−
_route_taken =
""
+
_route_taken =
{}
})
})
Line 114:
Line 114:
elseif mw.ustring.find(item_key, '!route') then
elseif mw.ustring.find(item_key, '!route') then
local split = mw.ustring.find(item_key, '=')
local split = mw.ustring.find(item_key, '=')
−
self._route_taken =
tostring(
mw.ustring.sub(item_key, split + 1))
+
table.insert(
self._route_taken
, {route
= mw.ustring.sub(item_key, split + 1)
}
)
else
else
if mw.ustring.find(item_key, '/') then
if mw.ustring.find(item_key, '/') then
Line 243:
Line 243:
table.insert(self._rows, self._row_starter)
table.insert(self._rows, self._row_starter)
table.insert(self._rows, format{self._route_cell_template,
table.insert(self._rows, format{self._route_cell_template,
−
route_taken = self._route_taken
+
route_taken = self._route_taken
.route
})
})
end
end
Nanamin
48
edits