Originally Posted by votan
|
No, there are no long strings, their all very very short. The only thing stored in there is:
Lua Code:
local varDefaults = {
-- trait table, holds a table for players name, then a table for each
-- researchLineIndex (as needed) and that contains the lineIndex, if true they know it.
KnownTraitTable = {
[PlayerName] = {
[ResearchLineIndex] = {
[LineIndex] = true,
},
},
},
-- holds recipeResultItemLinks of recipes under a table named after the player
KnownRecipeTable = {},
[PlayerName] = {
[1] = <copy of recipe result item link>,
[2] = RecipeResultItemLink2,
},
-- holds a list of player names who have logged in, so it knows who it has gathered info about
PlayerNames = {
[<playername>] = true,
},
}
local varDefaults = {
KnownTraitTable = {},
KnownRecipeTable = {},
PlayerNames = {},
}
ASV.KnownTraitTable[sPlayerName][_iCraftingSkillType][_iResearchLineIndex][_iTraitIndex] = true