Editing Module:SoulUnlockGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 77: | Line 77: | ||
ret = ret .. "Index" .. i .. ": " | ret = ret .. "Index" .. i .. ": " | ||
for key, value in pairs(data) do | for key, value in pairs(data) do | ||
ret = ret .. string.format(" %s:%s, ", p.localize(key), value) | |||
end | end | ||
ret = ret .. '<br>' | ret = ret .. '<br>' | ||
| Line 103: | Line 98: | ||
last_index = #accumulated_data | last_index = #accumulated_data | ||
last_value = accumulated_data[last_index][soul_unlock_key] | last_value = accumulated_data[last_index][soul_unlock_key] | ||
return last_value | |||
end | end | ||
| Line 149: | Line 139: | ||
-- Retrieve souls agg_record | -- Retrieve souls agg_record | ||
local required_souls = agg_record['RequiredSouls'] | local required_souls = agg_record['RequiredSouls'] | ||
local souls_str = '{{Souls|' .. required_souls .. '}}' | |||
local souls_str = '{{Souls|' .. | |||
tr = tr .. '<td>' .. souls_str .. '</td>' | tr = tr .. '<td>' .. souls_str .. '</td>' | ||