CleverRaven/Cataclysm-DDA — pull request #10038 by yobbobanana (2014-11-15 02:57:44+00:00)
Title: Show the recipes you know how to craft using an item as part of the item description [WIP/CR]

I also ended up yanking some of the crafting stuff out of game and putting it in player, where it made slightly more sense.

This is currently pretty slow… not sure how much can be done about that, but as it only does it when you look at the description for an item perhaps it doesn't matter too much?

It only displays for components, not tools. Recipes you can currently craft are highlighted.

I tried caching the recipe lookup but it turns out the slow part is checking recipe craftability.