Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:DropList
(view source)
Revision as of 06:45, 3 June 2019
83 bytes added
,
5 years ago
m
no edit summary
Line 162:
Line 162:
local ship, nodes = ship_and_nodes:match(args_grammar.ship_and_nodes)
local ship, nodes = ship_and_nodes:match(args_grammar.ship_and_nodes)
if ship and nodes then
if ship and nodes then
−
local ship_table = Ship:get_table(ship, '')
+
local ship_table =
ship == 'None' and { _type = '' } or
Ship:get_table(ship, '')
if ship_table and ship_table._type then
if ship_table and ship_table._type then
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
Line 292:
Line 292:
return showTable(parseArgs(args))
return showTable(parseArgs(args))
end
end
+
+
DropList.t = Formatting:format_ship_code('')
return DropList
return DropList
がか
cssedit, gkautomate
7,064
edits