• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 124: Line 124:  
    mode = 2
 
    mode = 2
 
elseif mode == 2 then
 
elseif mode == 2 then
    if string.lower(item_key) == "resource" or string.lower(item_key) == "storm" then
+
    if mw.ustring.find(string.lower(item_key), "resource") or string.lower(item_key) == "storm" then
 +
        local split = mw.ustring.find(item_key, '/')
 +
        if split then
 +
            tags[string.lower(mw.ustring.sub(item_key, 1, split - 1))] = true
 +
            item_key = mw.ustring.sub(item_key, split + 1)
 +
        end
 
        tags[string.lower(item_key)] = true
 
        tags[string.lower(item_key)] = true
 
        mode = 3
 
        mode = 3
48

edits

Navigation menu