Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFunctions
(view source)
Revision as of 12:56, 5 May 2015
287 bytes added
,
9 years ago
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
Nanamin
48
edits