Anonymous

Module:Skills/Gathering: Difference between revisions

From Melvor Idle
_buildAstrologyConstellationTable: Temporary fix following change to Skills._buildAstrologyModifierArray until this function's output is modified
(Use printError function)
(_buildAstrologyConstellationTable: Temporary fix following change to Skills._buildAstrologyModifierArray until this function's output is modified)
Line 662: Line 662:
local groupedModsToText = function(allMods)
local groupedModsToText = function(allMods)
local outArray = {}
local outArray = {}
for i, group in ipairs(allMods) do
for i, group in pairs(allMods) do
local groupTxt = table.concat(group, ' & ')
local groupTxt = table.concat(group, ' & ')
table.insert(outArray, groupTxt)
table.insert(outArray, groupTxt)