Sheco / cdda-itembrowser

Cataclysm DDA: Item Browser
MIT License
25 stars 10 forks source link

Add autolearn to crafting view #16

Open davemichels opened 8 years ago

davemichels commented 8 years ago

Being able to see if a recipe can be automatically learned or requires a book would be handy on the item browser.

Sheco commented 8 years ago

Could you check now, to see if this is what you were looking for?

For example: http://cdda.estilofusion.com/saw/recipes/CC_WEAPON

davemichels commented 8 years ago

I was looking for the autolearn: [true/false] line on each recipe, for instance at https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/recipes/recipe_others.json line 4777.

The crafting page for wood saw would look something like: ... This recipe can be found in the following books when fabrication is at least the required level: 101 Crafts for Beginners (level 3) DIY Compendium (level 4)

This recipe is learned automatically at fabrication level 7.

Sheco commented 8 years ago

Oh I see, that can be done, I'll patch that up, thank you for the detailed expected output, that really helps.