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 11:26, 7 April 2018
48 bytes removed
,
6 years ago
m
no edit summary
Line 105:
Line 105:
local ignore_common = args.ignore_common or true
local ignore_common = args.ignore_common or true
−
−
if ignore_common == false then
−
ignored_ships = nil
−
end
local tbl = { nodes = {}, rows = {}, debug = '', classes = args.classes }
local tbl = { nodes = {}, rows = {}, debug = '', classes = args.classes }
Line 167:
Line 163:
if ship and nodes then
if ship and nodes then
local ship_table = Ship:get_table(ship, '')
local ship_table = Ship:get_table(ship, '')
−
if ship_table and ship_table._type then
+
if
(
ship_table and ship_table._type
) or ignore_common == false
then
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
if find(tbl.rows, ship, 'ship') then
if find(tbl.rows, ship, 'ship') then
Tsubakura
cssedit, prechecked
1,656
edits