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 15:19, 17 November 2021
170 bytes added
,
3 years ago
no edit summary
Line 401:
Line 401:
sequence_length = #sequence
sequence_length = #sequence
end
end
−
elseif prefix == "?" then
+
elseif
arg == "#" or
prefix == "?" then
table.insert(actions, string.sub(arg, 2))
table.insert(actions, string.sub(arg, 2))
end
end
Line 424:
Line 424:
end
end
for _, arg in ipairs(actions) do
for _, arg in ipairs(actions) do
−
local value = ship and format_arg(format_value(arg, ship)) -- interpret_arg(arg)
+
if arg == '' then
−
if value then
+
if args.format == "table" then
−
table.insert(values, value)
+
table.insert(values, "|-\n")
+
end
+
else
+
local value = ship and format_arg(format_value(arg, ship)) -- interpret_arg(arg)
+
if value then
+
table.insert(values, value)
+
end
end
end
end
end
がか
cssedit, gkautomate
7,064
edits