For each item that can be created by a recipe - note that more than one recipe can yield the same item
Find and remove any level requirements, record the required crafting or character level for later
Create a BOOK - ideally with a custom texture and custom contents, but just cloning the appearance of a generic book is entirely sufficient - I wonder if it would be possible to render the nif, and include a photograph of the finished object
Add a requirement that the player has the BOOK in their inventory in order to craft the recipe
Add the BOOK to the appropriate LLSTs for the given crafting/character level - might create a recipe book LLST, and inject that LLST into the appropriate places.
Probably some thought needs to go into which crafting recipes need to be craftable for quest reasons, and at least some quests already send you in search of crafting recipes; possibly need to add an explicit exclusion list?
Perhaps ignore recipes that depend on globals or quest completion, in the assumption that the global or quest represents the act of learning the recipe?
On the other hand, perhaps modify the quest to give the player the book as part of completing the quest?
An automated patcher that does the same sort of thing as Lorecraft - acquire learn manage crafting recipes.
I imagine that it would go something like:
Probably some thought needs to go into which crafting recipes need to be craftable for quest reasons, and at least some quests already send you in search of crafting recipes; possibly need to add an explicit exclusion list?
Perhaps ignore recipes that depend on globals or quest completion, in the assumption that the global or quest represents the act of learning the recipe?
On the other hand, perhaps modify the quest to give the player the book as part of completing the quest?