• 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 142: Line 142:  
     name = names[name] or name
 
     name = names[name] or name
 
     return name
 
     return name
 +
end
 +
 +
function NanaminFunctions.shorten_name(name)
 +
    --This takes an equipment name listed on Sandbox/EquipmentListKai/TypeSorted
 +
    --and switches it with a shorter version of the name.
 +
    local shortened = {
 +
        ["Example"] = "Ex",
 +
    }
 +
   
 +
    return shortened[name] or name
 
end
 
end
    
return NanaminFunctions
 
return NanaminFunctions
48

edits

Navigation menu