Anonymous

Module:Mazunki/Monsters: Difference between revisions

From Melvor Idle
m
test arraySeparator
m (bosses are weird)
m (test arraySeparator)
Line 9: Line 9:


local p = {}
local p = {}
local arraySeparatorInSheets = '\r\n'


function p.getRawTable(frame)
function p.getRawTable(frame)
Line 141: Line 142:
table.insert(itemQtyMaxs, droppable[3])
table.insert(itemQtyMaxs, droppable[3])
end
end
table.insert(rowTxt, table.concat(itemIds, ";"))
table.insert(rowTxt, table.concat(itemIds, arraySeparatorInSheets))
table.insert(rowTxt, table.concat(itemWeights, ";"))
table.insert(rowTxt, table.concat(itemWeights, arraySeparatorInSheets))
table.insert(rowTxt, table.concat(itemDenominators, ";"))
table.insert(rowTxt, table.concat(itemDenominators, arraySeparatorInSheets))
table.insert(rowTxt, totalWeight)
table.insert(rowTxt, totalWeight)
table.insert(rowTxt, table.concat(itemQtyMins, ";"))
table.insert(rowTxt, table.concat(itemQtyMins, arraySeparatorInSheets))
table.insert(rowTxt, table.concat(itemQtyMaxs, ";"))
table.insert(rowTxt, table.concat(itemQtyMaxs, arraySeparatorInSheets))


table.insert(rows, table.concat(rowTxt, '||'))
table.insert(rows, table.concat(rowTxt, '||'))
892

edits