Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NodeInfo
(view source)
Revision as of 19:04, 4 September 2019
265 bytes added
,
5 years ago
no edit summary
Line 203:
Line 203:
local tags = {}
local tags = {}
local resource
local resource
+
+
local i = 0
for index, item_key in ipairs(self._args) do
for index, item_key in ipairs(self._args) do
Line 269:
Line 271:
mode = 7
mode = 7
else
else
+
if mode == 7 then
+
i = i + 1
+
else
+
i = 0
+
end
+
--Fleets are of variable size, so we append onto a string until we hit the next node declaration
--Fleets are of variable size, so we append onto a string until we hit the next node declaration
local id = tonumber(item_key)
local id = tonumber(item_key)
Line 309:
Line 317:
flagship = #fleet == 0,
flagship = #fleet == 0,
})
})
+
+
if i % 6 == 0 then
+
table.insert(fleet, "<br>")
+
end
if ship_air_power then
if ship_air_power then
がか
cssedit, gkautomate
7,064
edits