Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Iterator
(view source)
Revision as of 15:00, 30 April 2023
No change in size
,
1 year ago
no edit summary
Line 98:
Line 98:
local collectionKey = stringKey('collection', context, n)
local collectionKey = stringKey('collection', context, n)
if collectionKey then
if collectionKey then
−
local _, CollectionData = U.requireModule(
collectionKey == 'Equipment' and 'Data/Equipment' or
string.format("Collection/%s", collectionKey))
+
local _, CollectionData = U.requireModule(string.format("Collection/%s", collectionKey))
preCollection = U.icopy(CollectionData)
preCollection = U.icopy(CollectionData)
else
else
Line 218:
Line 218:
local collectionKey = stringKey('collection', context, n)
local collectionKey = stringKey('collection', context, n)
if collectionKey then
if collectionKey then
−
local _, CollectionData = U.requireModule(string.format("Collection/%s", collectionKey))
+
local _, CollectionData = U.requireModule(
collectionKey == 'Equipment' and 'Data/Equipment' or
string.format("Collection/%s", collectionKey))
collection = U.icopy(CollectionData)
collection = U.icopy(CollectionData)
else
else
がか
cssedit, gkautomate
7,064
edits