Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Calc
(view source)
Revision as of 19:38, 16 September 2018
200 bytes added
,
6 years ago
m
no edit summary
Line 108:
Line 108:
equipment = function(ship)
equipment = function(ship)
return U.ijoin(U.imap(ship._equipment or {}, function (e)
return U.ijoin(U.imap(ship._equipment or {}, function (e)
−
return
e
and
e.equipment
and
Equipment(e.equipment):icon()
or '?'
+
if not
e
or not
e.equipment
then
+
return '? '
+
end
+
local eq =
Equipment(e.equipment)
+
return Formatting:format_image{Formatting:format_equipment_icon(eq
:icon()
), caption = Formatting:format_equipment_type(eq:type())}
end), '')
end), '')
end,
end,
がか
cssedit, gkautomate
7,064
edits