Toggle menu
505
2.3K
828
21.8K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:AttributeData: Difference between revisions

From Deadlock Wiki
Sur (talk | contribs)
m template args initialized as dict
Sur (talk | contribs)
m cell_values arg added
Line 45: Line 45:
cell_values = ""
cell_values = ""
-- Determine cell values
for stat_name, stat_data in pairs(stats) do
for stat_name, stat_data in pairs(stats) do
-- get label and postfix
-- get label and postfix
Line 58: Line 58:
cell_values = cell_values .. cell_value --add value to values list
cell_values = cell_values .. cell_value --add value to values list
end
end
template_args["cell_values"] = cell_values
-- Write current call
-- Write current call