View Single Post
02/14/23, 07:18 PM   #10
Matoro342
Join Date: Feb 2023
Posts: 9
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:
  1. Internal.KnowFunctions = {
  2.     [Internal.CATEGORY_RECIPE] = IsItemLinkRecipeKnown,
  3.     [Internal.CATEGORY_PLAN] = IsItemLinkRecipeKnown,
  4.     [Internal.CATEGORY_MOTIF] = IsItemLinkBookKnown,
  5. }

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.
  Reply With Quote