Thank you, I've implemented those changes to clean up the code.
I've tried IsItemLinkBookKnown(itemLink) but it returns errors, I assume it only works on books or style pages.
In CharacterKnowledge Internal.lua, they use:
Lua Code:
Internal.KnowFunctions = {
[Internal.CATEGORY_RECIPE] = IsItemLinkRecipeKnown,
[Internal.CATEGORY_PLAN] = IsItemLinkRecipeKnown,
[Internal.CATEGORY_MOTIF] = IsItemLinkBookKnown,
}
And their stated use case is specifically limited to just those items. I will keep looking though as time allows through the API for potential solutions. Really appreciate your continued support.