Module:SoulUnlock: Difference between revisionsGive feedback
m invoke for accumulated_data |
m save accumulated_data after function definition |
||
| Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
local soul_unlocks_data = mw.loadJsonData("Data:SoulUnlockData.json") | local soul_unlocks_data = mw.loadJsonData("Data:SoulUnlockData.json") | ||
-- Accumulate the data from a list of entries of unlocks, AP, and PI's, to a hash with the # of each | -- Accumulate the data from a list of entries of unlocks, AP, and PI's, to a hash with the # of each | ||
| Line 38: | Line 37: | ||
return accumulated_data | return accumulated_data | ||
end | end | ||
local accumulated_data = accumulate() | |||
local function write_accumulated(frame) | local function write_accumulated(frame) | ||