892
edits
m (test) |
m (nil values can't be stringed) |
||
Line 122: | Line 122: | ||
isNormalLocation = true | isNormalLocation = true | ||
end | end | ||
table.insert(locations, location.name) | table.insert(locations, tostring(location.name)) | ||
end | end | ||
table.insert(rowTxt, table.concat(locations, arraySeparatorInSheets)) | table.insert(rowTxt, table.concat(locations, arraySeparatorInSheets)) | ||
Line 135: | Line 135: | ||
else | else | ||
slayer = { | slayer = { | ||
["id"] = | ["id"] = notext, | ||
["display"] = | ["display"] = notext, | ||
["cost"] = | ["cost"] = notext, | ||
["slayerLevel"] = | ["slayerLevel"] = notext, | ||
["minQuantity"] = | ["minQuantity"] = notext, | ||
["maxQuantity"] = | ["maxQuantity"] = notext, | ||
["reward"] = | ["reward"] = notext | ||
} | } | ||
end | end | ||
table.insert(rowTxt, slayer.id) | table.insert(rowTxt, tostring(slayer.id)) | ||
table.insert(rowTxt, slayer.display) | table.insert(rowTxt, tostring(slayer.display)) | ||
table.insert(rowTxt, slayer.cost) | table.insert(rowTxt, tostring(slayer.cost)) | ||
table.insert(rowTxt, slayer.slayerLevel) | table.insert(rowTxt, tostring(slayer.slayerLevel)) | ||
table.insert(rowTxt, slayer.minQuantity) | table.insert(rowTxt, tostring(slayer.minQuantity)) | ||
table.insert(rowTxt, slayer.maxQuantity) | table.insert(rowTxt, tostring(slayer.maxQuantity)) | ||
table.insert(rowTxt, slayer.reward) | table.insert(rowTxt, tostring(slayer.reward)) | ||
local itemIds = {} | local itemIds = {} |
edits